ACCOUNTBEGINNINGBALANCE
Overview
The ACCOUNTBEGINNINGBALANCE function calculates the beginning or opening balance of one or more general ledger accounts, for a specific period.
Some organizations refer to this as the Period Beginning Balance or Period Opening Balance for an account.
Syntax
=ACCOUNTBEGINNINGBALANCE(
ConnectionName,
Ledger,
AccountClass,
Account,
Subaccount,
Branch,
AsOf,
IncludeUnposted,
UseMasterFinancialCalendar
)
Arguments
The ACCOUNTBEGINNINGBALANCE function uses the following arguments
Argument | Required/Optional | Description |
| Optional | Provide one of the following values:
OR Omit the argument to return results for all compatible connections with default aggregation settings. |
| Required | Ledger to use in the calculation. |
| Optional, though required if | The account class to use for the calculation. |
| Optional, though required if | The general ledger account(s) to use for the calculation. |
| Optional | The general ledger subaccounts(s) to include. |
| Optional | The branch(es) to include. |
| Required | The financial period, in MM-YYYY format |
| Optional | 1 - Include posted transactions only (default) 2 - Include Unposted transactions only 3 - Include Posted and Unposted transactions
|
| Optional | Use Acumatica's Master Financial Calendar instead of the financial calendar defined within the specific tenant associated with the connection being accessed (this can be useful for consolidation reports).
This feature requires that your ERP license include Multi-Calendar Support and that your ERP be configured for that feature |
(see our articles on Filtering Velixo Functions and using arrays or cell ranges as arguments)
Examples
Based on this data:

Example 1
=ACCOUNTBEGINNINGBALANCE(
"Demo",
"ACTUAL",
,
$B6,
,
,
$G$1
)
Description: Calculates the beginning balance of posted transactions to General Ledger account # 10200 (as noted in cell B6) as of the beginning of Period 1 for the year 2019 (as noted in cell G1).
Result: 43,925,384

Example 2
=ACCOUNTBEGINNINGBALANCE(
"Demo",
"ACTUAL",
,
$B9,
,
,
C$4,
3
)
Description: Calculates the beginning balance of combined posted and unposted transactions to General Ledger account #10800 (as noted in cell B9) for as of January 1, 2019 (as noted in cell C4).
Result: 4,454,986
