InventPendingQuantity::writePendingQuantity Method
Adjusts the quantity for a record in the InventPendingQuantity table.
If a record does not exist new records in the InventPendingQuantity table and in the InventPendingRegistrationDetail table will be created.
Syntax
server public static void writePendingQuantity(
InventPendingRegistrationProvider _inventPendingRegistrationProvider,
InventQty _adjustedQuantity,
InventProcessRole _inventProcessRole)
Run On
Server
Parameters
- _inventPendingRegistrationProvider
Type: InventPendingRegistrationProvider Interface
An instance of the InventPendingRegistrationProvider interface.
- _adjustedQuantity
Type: InventQty Extended Data Type
A quantity that the pending quantity record should be adjusted with. If no record exist it will be created with this quantity.
- _inventProcessRole
Type: InventProcessRole Enumeration
A process role.