BudgetControlAccountingJournalProcessor.initializeForVoucherBudgetCheck Method [AX 2012]
Initializes the current instance with the voucher details.
Syntax
protected void initializeForVoucherBudgetCheck(
LedgerJournalType _ledgerJournalType,
LedgerJournalId _journalNumber,
DataAreaId _journalLegalEntityDataArea,
Voucher _voucherNumber,
boolean _ignoreCheckOnLineItemEntry,
UserId _userId,
boolean _showResultMessages)
Run On
Called
Parameters
- _ledgerJournalType
Type: LedgerJournalType Enumeration
The LedgerJournalType enumeration value for the journal to which the journal lines that are to be checked for budget belong.
- _journalNumber
Type: LedgerJournalId Extended Data Type
The journal number that is shared by the journal lines.
- _journalLegalEntityDataArea
Type: DataAreaId Extended Data Type
The DataAreaId value of the legal entity where the journal is created.
- _voucherNumber
Type: Voucher Extended Data Type
The voucher number that is shared by the journal lines.
- _ignoreCheckOnLineItemEntry
Type: boolean
A Boolean value that indicates whether the budgetary control configuration for performing the budget check for a journal line item on entry should be ignored; optional.
- _userId
Type: UserId Extended Data Type
The UserId value for which the budget check is performed; optional.
- _showResultMessages
Type: boolean
A Boolean value that indicates whether any budget check result error or warning messages should be displayed in the Infolog; optional.