Share via


LedgerJournalTransUpdateCust.checkVoucher Method [AX 2012]

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

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.

See Also

Reference

LedgerJournalTransUpdateCust Class