InventPendingQuantity::deductOrDeletePendingQuantity Method
Finds the quantity that is being posted from the InventPendingQuantity table for the specified invent process role.
Syntax
client server public static InventQty deductOrDeletePendingQuantity(
SourceDocumentLineRecId _sourceDocumentLineRecId,
InventQty _quantityBeingPosted,
InventProcessRole _inventProcessRole)
Run On
Called
Parameters
- _sourceDocumentLineRecId
Type: SourceDocumentLineRecId Extended Data Type
The SourceDocumentLineRecId record ID of the order line.
- _quantityBeingPosted
Type: InventQty Extended Data Type
The InventQty table that is being posted.
- _inventProcessRole
Type: InventProcessRole Enumeration
The invent process role from which the quantity is to be deducted.
Return Value
Type: InventQty Extended Data Type
The remaining InventQty table after the deduction from the corresponding pending quantity records.