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.
Checks positive debit and credit.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
private boolean checkPositiveDRCR_JP(LedgerJournalTrans ledgerJournalTrans, [LedgerPostingMessageLog _ledgerPostingMessageCollection])
Microsoft Dynamics AX 2012 R2 (SYS)
private boolean checkPositiveDRCR_JP(LedgerJournalTrans ledgerJournalTrans)
Run On
Server
Parameters
- ledgerJournalTrans
Type: LedgerJournalTrans Table
The LegderJournalTrans to check.
- _ledgerPostingMessageCollection
Type: LedgerPostingMessageLog Class
Return Value
Type: boolean
true if the both debit and credit are greater than or equal to zeor; otherwise, false and post an error message.