ACCOUNTENDINGBALANCE function
Created by Harry Lewis, Modified on Wed, 16 Oct at 4:38 PM by Harry Lewis
Applies to
Velixo Classic
Velixo NX
Acumatica, MYOB Acumatica, Cegid XRP Flex
GL Module
Description
The ACCOUNTENDINGBALANCE function calculates the ending balance of one or more general ledger account(s) as of a specific period - some organizations refer to this as the PeriodEndingBalance or PeriodClosingBalance for an account.
TABLE OF CONTENTS
Syntax
ACCOUNTENDINGBALANCE(Connection, Ledger, AccountClass, Account, Subaccount, Branch, AsOf, IncludeUnposted, UseMasterFinancialCalendar)
Parameters
The ACCOUNTENDINGBALANCE function uses the following parameters (see our article on Filtering Velixo Functions and using Excel arrays and cell ranges as parameters):
Parameter | Required/Optional | Description |
Connection | Required | The name of the connection, as specified in the Connection Manager |
Ledger | Required | Ledger to use in the calculation. |
AccountClass | Optional, though required if Account is empty | The account class to use for the calculation. |
Account | Optional, though required if AccountClass is empty | The general ledger account(s) to use for the calculation. |
Subaccount | Optional | The general ledger subaccounts(s) to include. |
Branch | Optional | The branch(es) to include. |
AsOf | Required | The financial period, in MM-YYYY format or a reference to a cell containing a date in a valid Excel format |
IncludeUnposted
| Optional | 1 - Include posted transactions only (default) 2 - Include Unposted transactions onl 3 - Include Posted and Unposted transactions* (notes:
While Excel for Windows allows the use of quotation marks around this parameter, Excel for Mac and Excel Online require that it be unquoted. |
Use Master Financial Calendar | 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). Possible values:
|
Examples
Given this data:
Example 1
=ACCOUNTENDINGBALANCE("Demo", "ACTUAL", , "10200",,, "01-2019")
Description: Calculates the ending balance of posted transactions to General Ledger account #10200 (as noted in cell B6) for the 7th period of the year 2019 (as noted in cell G1).
Result: 45,042,790
Example 2
=ACCOUNTENDINGBALANCE("Demo", "ACTUAL", , "10700",,, $D$4, 3)
Description: Calculates the ending balance of the combined posted and unposted (as noted by the last parameter: 3) transactions to General Ledger account #10700 (as noted in cell B8) as of January 15, 2019 (as noted in cell D4).
Result: 4,421,510
Limitations to filtering by date instead of financial period
|
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article