Share via


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.
  • _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.

See Also

Reference

BudgetControlGeneralJournalEntry Class