Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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