SetJobLabData(String,String,Int32,Object,Object,Object,Object,Object,Object) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The SetJobLabData() method changes the labor category, labor department, and labor percentage of an active labor record for the specified job. This overload of the method is executed on job of the current entity and user.
public void SetJobLabData(
string WoID,
string OperID,
int SeqNo,
object StepNo,
object LotNo,
object LabCd,
object DeptId,
object PctToApply,
object Comments
)
Parameters
- WoID
- Required. Holds the work order ID of the job whose labor data is being retrieved.
- OperID
- Required. Holds the operation ID of the job whose labor data is being retrieved.
- SeqNo
- Required. Holds the operation sequence number of the job whose labor data is being retrieved.
- StepNo
- Optional. Holds the number of the step on which this labor is being performed. Used to identify the labor event if the labor is being logged to a step/lot.
- LotNo
- Optional. Holds the number of the lot on which this labor is being performed. Used to identify the labor event if the labor is being logged to a step/lot.
- LabCd
- Optional. Holds the new labor code for the specified labor event. Set to null to not change the existing value.
- DeptId
- Optional. Holds the new department code for this labor event. Set to null to not change the existing value.
- PctToApply
- Optional. If supplied, the percentage of labor records are adjusted with the supplied percentage. Set to null to not change the existing value.
- Comments
- Optional. Holds the comments to be added to the new labor record. Set to null to not change the existing value.