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.
Finds and returns the instance of the LedgerVoucherObject class passed in as a parameter.
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 LedgerVoucherObject findLedgerVoucherObject(
[Voucher _voucher,
TransDate _accountingDate,
CurrentOperationsTax _postingLayer])
Microsoft Dynamics AX 2012 R2 (SYS)
public LedgerVoucherObject findLedgerVoucherObject(
[Voucher _voucher,
TransDate _accountingDate,
CurrentOperationsTax _postingLayer])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public LedgerVoucherObject findLedgerVoucherObject(
[Voucher _voucher,
TransDate _accountingDate,
OperationsTax _postingLayer])
Microsoft Dynamics AX 2012 (FPK)
public LedgerVoucherObject findLedgerVoucherObject(
[Voucher _voucher,
TransDate _accountingDate,
OperationsTax _postingLayer])
Microsoft Dynamics AX 2012 (SYS)
public LedgerVoucherObject findLedgerVoucherObject(
[Voucher _voucher,
TransDate _accountingDate,
OperationsTax _postingLayer])
Run On
Server
Parameters
- _voucher
Type: Voucher Extended Data Type
The voucher number of the instance of the LedgerVoucherObject class to find; optional.
- _accountingDate
Type: TransDate Extended Data Type
- _postingLayer
Type: CurrentOperationsTax Enumeration
Return Value
Type: LedgerVoucherObject Class
The instance of the LedgerVoucherObject class found.
Remarks
If no arguments were given, the method returns the last known LedgerVoucherObject object handled by the LedgerVoucher object.