InventAdjustPost.calcLedgerCorrection Method [AX 2012]
Determines if the current adjustment should be posted with the correction flag set.
Syntax
protected Correct calcLedgerCorrection(InventTrans _inventTrans, AmountCur _amountCur)
Run On
Server
Parameters
- _inventTrans
Type: InventTrans Table
An InventTrans buffer holding summarized values for the transactions being updated.
- _amountCur
Type: AmountCur Extended Data Type
The amount of the adjustment to be posted.
Return Value
Type: Correct Extended Data Type
true if the transaction should be posted with the correction flag set; otherwise, false.