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.
Validates that a voucher series on a specific ledger journal transaction line only contains a reference to a single customer.
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
public boolean checkVoucher(LedgerJournalTrans _ledgerJournalTrans, [LedgerPostingMessageLog _ledgerPostingMessageCollection])
Microsoft Dynamics AX 2012 R2 (SYS)
public boolean checkVoucher(LedgerJournalTrans _ledgerJournalTrans)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public boolean checkVoucher(LedgerJournalTrans _ledgerJournalTrans)
Microsoft Dynamics AX 2012 (FPK)
public boolean checkVoucher(LedgerJournalTrans _ledgerJournalTrans)
Microsoft Dynamics AX 2012 (SYS)
public boolean checkVoucher(LedgerJournalTrans _ledgerJournalTrans)
Run On
Server
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The specific ledger journal transaction line.
- _ledgerPostingMessageCollection
Type: LedgerPostingMessageLog Class
Return Value
Type: boolean
true if validation passes; otherwise, false.
Remarks
This method is specific to the validation of ledger journal transactions and is only used when the transaction line also contains an invoice number.