Mes.WebApi.Models.V3.Prod.SetLotData JSON Schema
- Last UpdatedNov 06, 2025
- 1 minute read
| Name | Description | Data Type |
|---|---|---|
| wo_id | The work order ID for the job. | string |
| oper_id | The operation ID for the job. | string |
| seq_no | The sequence number for the job. | integer |
| bom_pos | The BOM position. 0 for the current main production item (the default). Positive values for consumption items. Negative values for by-products. | integer |
| ent_id | The ID of the entity at which the job was performed. | integer |
| job_pos | The job position if the entity is capable of running more than one job at a time. | integer |
| def_item_id | The ID of the default component item being produced or consumed. Note that this property is ignored by a SetLotData Post and can't be used to change the item being produced or consumed by the job. | string |
| def_lot_no | The default lot of the item. | string |
| def_sublot_no | The default sublot of the item. | string |
| def_reas_cd | The default consumption or production reason code. If null, it defaults to the value specified for the entity that runs the job. | integer |
| def_storage_ent_id | The default storage entity for a product or by-product. If null, it defaults to the default storage entity for the entity that runs the job. | integer |
| update_inv | A flag that indicates whether inventory is updated with the consumed items. | boolean |
| backflush | A flag that indicates whether consumption is backflushed. | boolean |
| last_edit_at | When the record was added or last updated. | string |