BudgetControlGeneralJournalEntry::newGeneralJournalEntry Method [AX 2012]
Creates an instance of the BudgetControlGeneralJournalEntry class.
Syntax
client server public static BudgetControlGeneralJournalEntry newGeneralJournalEntry(
RecId _generalJournalEntryId,
Voucher _subledgerVoucherNumber,
[UserId _userId,
boolean _displayResultErrorWarningsInInfoLog])
Run On
Called
Parameters
- _generalJournalEntryId
Type: RecId Extended Data Type
The ID for 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 the budget check is performed; optional.
- _displayResultErrorWarningsInInfoLog
Type: boolean
A Boolean value that indicates whether any error or warning messages for budget check results should be displayed in the Infolog; optional.
Return Value
Type: BudgetControlGeneralJournalEntry Class
An instance of the BudgetControlGeneralJournalEntry class.