Share via


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.
  • _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.

See Also

Reference

InventSplitTrans_Remain Class