RAssetLedgerBudgetUpdate.createBudgetTransaction Method [AX 2012]

Creates budget transactions details, based on a RAssetBudgetTrans record.

Syntax

protected void createBudgetTransaction(RAssetBudgetTrans _assetBudgetTrans)

Run On

Server

Parameters

  • _assetBudgetTrans
    Type: RAssetBudgetTrans Table
    The RAssetBudgetTrans record for which to create budget transaction details.

Exceptions

Exception Condition
Error

The number sequence that is specified for budget transactions is not valid.

–or–

The BudgetTransactionHeader record that is created is not valid.

–or–

The BudgetTransactionLine record that is created for the ledger dimension is not valid.

–or–

The BudgetTransactionLine record that is created for the offset ledger dimension is not valid.

Remarks

This method creates a BudgetTransactionHeader record if one does not exist for the process for the budget model that specified by the RAssetBudgetTrans record. It creates two BudgetTransactionLine records, one for the ledger dimension and one for the offset ledger dimension that is specified by the RAssetBudgetTrans record.

See Also

Reference

RAssetLedgerBudgetUpdate Class