Share via


BudgetControlGeneralJournalEntry.initializeForLedgerVoucher Method [AX 2012]

Initializes the current instance with the details from the ledger voucher.

Syntax

protected void initializeForLedgerVoucher(
    DataAreaId _journalDataArea, 
    LedgerJournalId _journalNumber, 
    LedgerJournalType _journalType, 
    Voucher _voucherNumber, 
    TransDate _voucherTransDate, 
    UserId _userId, 
    boolean _showResultMessages)

Run On

Called

Parameters

  • _voucherNumber
    Type: Voucher Extended Data Type
    The voucher number that is shared by a set of journal lines in the posting journal.
  • _userId
    Type: UserId Extended Data Type
    The UserId value for which budget check is performed for the ledger account and amount details on the journal lines; optional.
  • _showResultMessages
    Type: boolean
    A Boolean value that indicates whether any error or warning messages for budget check results should be displayed in the Infolog; optional.

See Also

Reference

BudgetControlGeneralJournalEntry Class