Share via


LedgerJournalCheckPost.addBudgetCheckVoucher Method [AX 2012]

Adds a LedgerVoucherObject class instance for a journal line voucher to journal line voucher and LedgerVoucherObject class instances mappings that will be used to check the budget.

Syntax

protected void addBudgetCheckVoucher(
    Voucher _journalLineVoucherNumber, 
    LedgerVoucherObject _ledgerVoucherObject, 
    boolean _isIntercompanyVoucher)

Run On

Server

Parameters

  • _isIntercompanyVoucher
    Type: boolean
    Indicates whether the LedgerVoucherObject is an intercompany voucher.

Exceptions

Exception Condition
Error

The BudgetSource record is a duplicate for the journal line voucher.

-or-

The BudgetSource record to save was not found.

See Also

Reference

LedgerJournalCheckPost Class