AddConsByLot Method
- Last UpdatedNov 06, 2025
- 1 minute read
This overload of the AddConsByLot() method adds consumption for the item of the specified lot if the inventory of the lot has an item grade, item status, item quantity, and item entity defined. The consumption is added for the current job if there is a job for the entity on which the user is working. Consumption by lot cannot be added if there is no current job for the entity.
For this overload of the method, all the quantity in inventory is consumed.
| Overload | Description |
|---|---|
| AddConsByLot(String) | This overload of the AddConsByLot() method adds consumption for the item of the specified lot if the inventory of the lot has an item grade, item status, item quantity, and item entity defined. The consumption is added for the current job if there is a job for the entity on which the user is working. Consumption by lot cannot be added if there is no current job for the entity. For this overload of the method, all the quantity in inventory is consumed. |
| AddConsByLot(String,Double) | This overload of the AddConsByLot() method adds consumption for the item of the specified lot if the inventory of the lot has an item grade, item status, item quantity, and item entity defined. The consumption is added for the current job if there is a job for the entity on which the user is working. Consumption by lot cannot be added if there is no current job for the entity. For this overload of the method, the quantity specified by the qty parameter is consumed. |