LedgerVoucherTransObject::newLedgerAllocationItem Method [AX 2012]
Initializes a new instance of the LedgerVoucherTransObject class from a ledger allocation item.
Syntax
client server public static LedgerVoucherTransObject newLedgerAllocationItem(LedgerVoucherTransObject _baseTransaction, LedgerAllocationItem _allocationItem)
Run On
Called
Parameters
- _baseTransaction
Type: LedgerVoucherTransObject Class
The base ledger posting transaction.
- _allocationItem
Type: LedgerAllocationItem Class
The ledger allocation item.
Return Value
Type: LedgerVoucherTransObject Class
A new instance of the LedgerVoucherTransObject class.