LedgerJournalEngine.projOffsetFactor Method [AX 2012]
Returns the project offset factor.
Syntax
public int projOffsetFactor(LedgerJournalTrans _ledgerJournalTrans, LedgerJournalTrans_Project _ledgerJournalTrans_Project)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The journal line being read.
- _ledgerJournalTrans_Project
Type: LedgerJournalTrans_Project Table
The project line that is associated to the journal line.
Return Value
Type: int
1 if project is the account type and debit amount is positive or credit amount is negative; -1 if project is the offset account type and debit amount is negative or credit amount is positive