InsightXL: Function Reference
The tables below provide an overview of all financial functions available with InsightXL. You can find these functions in the Insert Function wizard in Excel under the Acumatica category.
Functions for Financial Entities: Lists and Descriptions
| Name | Description |
|---|---|
| COMPANYDESCR (Tenant, Company) |
Returns the company description for the specified company. Arguments:
|
| BRANCHLIST (Tenant, Company) |
Returns the list of branches for the specified company. Arguments:
|
| BRANCHDESCR (Tenant, Branch) |
Returns the branch description for the specified branch. Arguments:
|
| ACCCLASSDESCR (Tenant, AccountClass) |
Returns the account class description for the specified account class. Arguments:
|
| ACCCLASSFORACC (Tenant, Account) |
Returns the account class for the specified account. Arguments:
|
| ACCCLASSLIST (Tenant, AccountClass) |
Returns the list of GL account classes within the specified range. Arguments:
|
| ACCLIST (Tenant, Account, AccountClass, IncludeInactive) |
Returns the list of GL account numbers that belong to the specified range of accounts or are assigned to the specified account classes. Arguments:
An array may be used for only one of the arguments. |
| ACCDESCR (Tenant, Account) |
Returns the account description for the specified account. Arguments:
|
| SUBACCLIST (Tenant, SubAccount, IncludeInactive) |
Returns the list of GL subaccounts within the specified range. Arguments:
|
| SUBACCDESCR (Tenant, SubAccount) |
Returns the subaccount description for the specified subaccount. Arguments:
|
Functions for Financial Entities: Expands
| Name | Description |
|---|---|
| EXPANDCOMPANY (Tenant, Company, AddDescr) |
Returns the array of companies and their descriptions. Arguments:
|
| EXPANDBRANCH (Tenant, Company, Branch, AddDescr) | Returns the array of branches assigned to the specified company and their
descriptions. Arguments:
|
| EXPANDLEDGER (Tenant, Ledger, AddDescr) | Returns the array of ledgers and their descriptions. Arguments:
|
| EXPANDACCCLASS (Tenant, AccountClass, AddDescr) | Returns the array of GL account classes within the specified range and their
descriptions. Arguments:
|
| EXPANDACC (Tenant, Account, AccountClass, IncludeInactive, AddDescr) | Returns the array of GL account numbers within the specified range of accounts
or account classes, along with their descriptions. Arguments:
|
| EXPANDSUBACC (Tenant, SubAccount, IncludeInactive, AddDescr) | Returns the array of GL subaccounts within the specified range and their
descriptions. Arguments:
|
| EXPANDFINPERIOD (Tenant, Company, FinPeriod, UseMasterFinCalendar) | Returns the array of financial periods within the specified
range. Arguments:
|
Functions for Amount Types
| Name | Description |
|---|---|
| BEGBALANCE (Tenant, Company, Branch, Ledger, AccountClass, Account, SubAccount, FinPeriod, UseAccountCurrency, UseMasterFinCalendar) |
Returns the beginning balance in the base currency or the account currency of the specified GL accounts for the specified branch and financial period. Arguments:
An array may be used for only one of the arguments at a time. |
| ENDBALANCE (Tenant, Company, Branch, Ledger, AccountClass, Account, SubAccount, FinPeriod, UseAccountCurrency, UseMasterFinCalendar) |
Returns the ending balance in the base currency or the account currency of the specified GL accounts for a given branch and financial period. Arguments:
An array may be used for only one of the arguments at a time. |
| DEBIT (Tenant, Company, Branch, Ledger, AccountClass, Account, SubAccount, FinPeriod, UseAccountCurrency, UseMasterFinCalendar) |
Returns the debit balance in the base currency or the account currency of the specified GL accounts for a given branch and financial period. Arguments:
An array may be used for only one of the arguments at a time. |
| CREDIT (Tenant, Company, Branch, Ledger, AccountClass, Account, SubAccount, FinPeriod, UseAccountCurrency, UseMasterFinCalendar) |
Returns the credit balance in the base currency or the account currency of the specified GL accounts for a given branch and financial period. Arguments:
An array may be used for only one of the arguments at a time. |
| TURNOVER (Tenant, Company, Branch, Ledger, AccountClass, Account, SubAccount, FinPeriod, UseAccountCurrency, UseMasterFinCalendar) |
Returns the turnover amount in the base currency or the account currency for the specified GL accounts for a given branch and financial period. Arguments:
An array may be used for only one of the arguments at a time. |
Functions for Financial Periods
| Name | Description |
|---|---|
| FINPERIODLIST (Tenant, Company, FinPeriod, UseMasterFinCalendar) |
Returns the list of financial periods within the specified range. Arguments:
|
| FINPERIODSTART (Tenant, Company, FinPeriod, UseMasterFinCalendar) |
Returns the Excel date value for the start date of the specified financial period. Arguments:
|
| FINPERIODEND (Tenant, Company, FinPeriod, UseMasterFinCalendar) |
Returns the Excel date value for the end date of the specified financial period. Arguments:
|
| FINPERIODBYDATE (Tenant, Company, Date, UseMasterFinCalendar) |
Returns the financial period for the specified date, if it exists in the company's calendar. Arguments:
|
| FINPERIODBYPERIOD (Tenant, Company, Year, FinPeriod, UseMasterFinCalendar) | Returns the matching financial period for the specified year and period number. Arguments:
Examples:
|
Argument Syntax
The following table shows syntax examples for argument types used in functions.
| Argument Type or Parameter | Examples of Syntax |
|---|---|
| <single value> |
A single text or numeric value entered directly: "CAPITAL" A cell reference containing a single value: A1 |
| <list> |
A list of comma-separated values: "PRODRETAIL, PRODWHOLE, SERVWEST" A list of values in an Excel range: A1:A8 |
| <range> |
All accounts whose numbers fall between two values: "10000:40000" All accounts except the specified values: "*,-22000,-24000" |
| <wildcard> |
A pattern where ? matches any single character: "7??00" |
| <array> | A reference to all values in a spilled array, starting at the specified cell : A53#. The function is applied to each value in turn, returning a matching array of results. |
Date |
A date value in MM/DD/YYYY or DD Month YYYY format, regardless of regional settings:
|
FinPeriod |
A financial period in MM-YYYY format: "10-2024" |
FinPeriod <range> |
A range spanning multiple financial periods, from start to end: ("10-2024:10-2025") |
MasterFinCalendar |
A Boolean value indicating whether to use the master financial calendar: TRUE if the master financial calendar must be used; otherwise, FALSE |
| Absolute cell reference |
A reference to a fixed cell that does not change when formulas are moved or copied: $A$1 |
| Absolute column reference |
A reference where the column is fixed but the row can change when formulas are moved or copied: $A1 |
