BC.WRITEBACKBUDGET
Overview
The BC.WRITEBACKBUDGET function enables you to write lines to a specified GL budget in Business Central.
Syntax
=BC.WRITEBACKBUDGET(
ConnectionName,
Budget,
BudgetDescription,
BudgetDimensions,
BudgetUpdateMode,
Account,
Amount,
Date,
Description,
Dimensions,
EntryNumber,
EntryNumberOutput
)
Arguments
Header data
Argument | Required/Optional | Description |
| Required | The name of the connection, as specified in the Connection Manager |
| Required | The name of the GL budget targeted for Writeback. If a budget with the provided name is not present in Business Central, a new budget by that name will be created. |
| Optional | A textual description of the budget. |
| Optional | Comma-separated array of budget dimensions. This parameter affects only newly created budgets. If skipped, the new budget is created without budget dimensions. Global dimensions are not affected by this parameter. |
| Optional | One of four available values:
|
Line data
Argument | Required/Optional | Description |
| Required | Account code for which the budget entry is created. |
| Required | Budget entry amount. |
| Required | Budget entry date. |
| Optional | A description of the budget entry. |
| Optional | A two-column (or two-row) Excel range, where the first column/row contains the name of a predefined dimension (e.g. department, customer, project etc.), and the second column/row contains the semicolon-separated list of values for that dimension. |
| Optional | Budget entry number. |
| Optional | Reference to a cell where the GL budget entry numbers will be returned. |