Mes.WebApi.Models.V3.EnProd.ScrapInventory2 JSON Schema
- Last UpdatedNov 06, 2025
- 1 minute read
The ScrapInventory2 model represents the object that is used to scrap quantities from an item inventory. This model is used with the Item Inventory ScrapWithStorageExec Put operation.
| Name | Description | Data Type |
|---|---|---|
| ent_id | The ID of the entity at which the inventory to be scrapped is stored. | integer |
| item_id | The item ID. When using the item inventory Scrap endpoint, this property can be set to null to scrap all inventory. | string |
| lot_no | The item's lot number. | string |
| sublot_no | The item's sublot number. | string |
| qty_to_scrap | The amount of quantity to be scrapped. Can be null (e.g., if item_id is null to scrap all inventory).The default is 0. | number |
| qty_to_scrap_erp | The consumption quantity as transmitted to an ERP system. | number |
| scrap_uom_id | The ID of the unit of measure for the quantity to scrap. | integer |
| grade_cd | The item's grade code. Can be null if item_id is null to scrap all inventory. | integer |
| status_cd | The item's status code. Can be null if item_id is null to scrap all inventory. | integer |
| date_out_utc | The date when the quantity was scrapped, in UTC. | string |
| wo_id | The work order ID of the job that produces the inventory. | string |
| oper_id | The operation ID of the job that produces the inventory. | string |
| seq_no | The sequence number of the job that produces the inventory. | integer |
| transfer_comments | The transfer comments for the scrap. | string |