FormletterJournalPost.findOrCreateLedgerVoucherObject Method [AX 2012]

Finds or creates the instance of the specified LedgerVoucherObject class.

protected LedgerVoucherObject findOrCreateLedgerVoucherObject(Voucher _voucher, TransDate _accountingDate)

Run On

Server

Parameters

_voucher
Type: Voucher Extended Data Type
The voucher number of the instance of the LedgerVoucherObject class to find.
_accountingDate
Type: TransDate Extended Data Type
The accounting date of the instance of the LedgerVoucherObject class to find.

Return Value

Type: LedgerVoucherObject Class
The instance of the LedgerVoucherObject class found.

Community Additions

ADD
Show: