PdsCatchWeight::adjustSplitQuantities Method [AX 2012]
Adjusts the quantity and catch weight quantity to split in the inventory unit, based on the original quantities and requested quantities to split, and considering catch weight constraints.
client server public static container adjustSplitQuantities(
ItemId _itemId,
InventQty _originalQuantity,
PdsCWInventQty _originalCWQuantity,
InventQty _requestedSplitQuantity,
PdsCWInventQty _requestedSplitCWQuantity)
Run On
CalledParameters
- _itemId
- Type: ItemId Extended Data Type
The item ID.
- _originalQuantity
- Type: InventQty Extended Data Type
The original positive quantity in the inventory unit.
- _originalCWQuantity
- Type: PdsCWInventQty Extended Data Type
The original positive quantity in the catch weight unit.
- _requestedSplitQuantity
- Type: InventQty Extended Data Type
The positive quantity to split in the inventory unit.
- _requestedSplitCWQuantity
- Type: PdsCWInventQty Extended Data Type
The positive quantity to split in the catch weight unit.
Return Value
Type: containerA container that holds the quantity to split in the inventory unit and the catch weight quantity to split.
Show: