Share via


LedgerVoucherTransObject::newGeneralJournal Method [AX 2012]

Initializes a new instance of the LedgerVoucherTransObject class from a general journal entry.

Syntax

client server public static LedgerVoucherTransObject newGeneralJournal(GeneralJournalAccountEntry _generalJournalAccountEntry, [LedgerEntry _ledgerEntry])

Run On

Called

Parameters

  • _ledgerEntry
    Type: LedgerEntry Table
    The ledger entry of the general journal entry.

Return Value

Type: LedgerVoucherTransObject Class
A new instance of the LedgerVoucherTransObject class.

See Also

Reference

LedgerVoucherTransObject Class