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 whether journal can be posted with overpayment for centralized payment.
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
protected boolean checkOverpaymentForCP_IN(LedgerJournalTrans _ledgerJournalTrans, [LedgerPostingMessageLog _ledgerPostingMessageCollection])
Microsoft Dynamics AX 2012 R2 (SYS)
protected boolean checkOverpaymentForCP_IN(LedgerJournalTrans _ledgerJournalTrans)
Run On
Server
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
Given LedgerJournalTrans buffer.
- _ledgerPostingMessageCollection
Type: LedgerPostingMessageLog Class
Return Value
Type: boolean
Returns true if journal can be posted; Otherwise, returns false.
Remarks
There are two cases will block posting when doing overpayment: 1. The WHT don't be posted when invoice.
2. The WHT is posted when invoice and WHT group is also attached to current transaction.