LedgerJournalCheckPost.checkOverpaymentForCP_IN Method [AX 2012]

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

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.

See Also

Reference

LedgerJournalCheckPost Class