BudgetControlGeneralJournalEntry.initializeForGeneralJournalEntry Method [AX 2012]
Initializes the current instance with the details from the general journal entry.
Syntax
protected void initializeForGeneralJournalEntry(
GeneralJournalEntry _generalJournalEntry,
Voucher _subledgerVoucherNumber,
UserId _userId,
boolean _showResultMessages)
Run On
Called
Parameters
- _generalJournalEntry
Type: GeneralJournalEntry Table
The GeneralJournalEntry record that is posting to the ledger.
- _subledgerVoucherNumber
Type: Voucher Extended Data Type
The subledger voucher number that is posting to the ledger.
- _userId
Type: UserId Extended Data Type
The UserId value for which budget check is performed; 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.