LedgerJournalEngine.canDefaultOffsetAccount Method [AX 2012]
Determines whether the offset account should apply the default for a fixed assets transaction.
Syntax
protected boolean canDefaultOffsetAccount(LedgerJournalTrans _ledgerJournalTrans)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans lines of the transaction.
Return Value
Type: boolean
true if the offset account can be applied by default; otherwise, false.
Remarks
This method should be used for cases like book or transaction type modification, which might try to reapply a default offset account from the matching posting profile.