ProjPost.isTransCorrection Method [AX 2012]

Indicates whether the project transaction should be posted as correction or not.

public LedgerCorrection isTransCorrection(
   [AmountCur _amountCur, 
    LedgerCorrection _adjustmentCorrection, 
    ProjOrigin _projOrigin])

Run On

Server

Parameters

_amountCur
Type: AmountCur Extended Data Type
The amount on the transaction.
_adjustmentCorrection
Type: LedgerCorrection Extended Data Type
The value indicating whether transaction is an adjustment correction.
_projOrigin
Type: ProjOrigin Enumeration
The origin of project transaction.

Return Value

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

The transaction would be a correction if either of the following are true: It is an adjustment transaction and _adjustmentcorrection parameter is true.

The amount is negative and the Project parameter to post negative transactions as correction is enabled.

Community Additions

ADD
Show: