InventSplitTrans_Remain.setSplitAdjustedAmount Method [AX 2012]
Splits the adjustment amount based on the split quantity and the total quantity.
Syntax
protected void setSplitAdjustedAmount(
InventTrans _transFrom,
InventQty _splitQty,
InventQty _totalQty,
InventTrans _transTo)
Run On
Called
Parameters
- _transFrom
Type: InventTrans Table
The InventTrans record that contains the adjustment amount that will be split.
- _splitQty
Type: InventQty Extended Data Type
The multiplication factor used to split the adjustment amount.
- _totalQty
Type: InventQty Extended Data Type
The division factor used to split the adjustment amount.
- _transTo
Type: InventTrans Table
The InventTrans record that will be assigned the split adjustment amount.
Exceptions
Exception | Condition |
---|---|
Error | The total quantity is equal to zero. |