BC.OPENINGBALANCE
Overview
The BC.OPENINGBALANCE function returns the opening (beginning) balance of a GL
account (at the beginning of the specified reporting period or date).
This function requires the AL Language extension for Microsoft Dynamics 365 Business Central
To return the closing balance of a GL account, use the BC.CLOSINGBALANCE function.
Syntax
=BC.OPENINGBALANCE(
ConnectionName,
Account,
AccountCategory,
AccountSubcategory,
AsOf,
Dimensions
)
Arguments
Argument | Required/Optional | Description |
| Required | The name of the connection, as specified in the Connection Manager |
| Optional if | The code of the general ledger account, a spill range, or a cell range containing account codes. For example, |
| Optional if | One or more account category names, visible in the Business Central Chart of Accounts. |
| Optional if | One or more account subcategory names |
| Required | Balances will be calculated as of this date |
| Optional | A two-column Excel range where the first column contains the name of a dimension and the second column contains a semicolon-separated list of values for that dimension You can specify dimension values using ranges, wildcards, and other techniques. |
Examples
Opening balance for a single account
=BC.OPENINGBALANCE(
"BC",
"11110",
,
,
"2025-1-1"
)
Description: Returns the opening balance of the account “11110” at the beginning of January 2025.
Result:
