ProjAdjustmentUpdate.isAdjustmentCorrection Method [AX 2012]

Indicates whether an adjustment transaction should be a correction.

public LedgerCorrection isAdjustmentCorrection(
    boolean _adjustmentCorrectionEnabled, 
    boolean _wasPreviousCorrection, 
   [boolean _isReversalTrans])

Run On

Server

Parameters

_adjustmentCorrectionEnabled
Type: boolean
A Boolean value that indicates whether a dialog box option to post adjustment as correction was selected.
_wasPreviousCorrection
Type: boolean
A Boolean value that indicates whether the previous transaction was a correction.
_isReversalTrans
Type: boolean
A Boolean value that indicates whether to post a reversal of the original transaction or a new one during adjustment; optional.

Return Value

Type: LedgerCorrection Extended Data Type
true if the transaction should be a correction; otherwise, false.

If the parameter to create reversal transaction during adjustment is enabled, the adjustment process creates a reversal of the original transaction and a new transaction. If the original transaction was a correction, the reversal should not be a correction and the new transaction should be a correction and vice versa.

Community Additions

ADD
Show: