Operators and functions could be found in ATOME: Matter during the process of creating a business rule. To find the list of most used examples and easily implement them to the business rule open a business rule and hover the cursor over the sign next to expression.
Clicking on it will open a small modal window with the list of functions and operators. By clicking on the “plus” sign it is possible to instantly add the chosen element to the expression.
Binary operators
Operator | Left parameter (param 1) | Right parameter (param 2) | Description | Can be used in XBRL | Can be used in Particles |
---|---|---|---|---|---|
| Any numeric value node. | Any numeric value node. | Returns a sum of both parameters. | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns a difference of both parameters. | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns a product of both parameters. | YES | YES |
| Any numeric value node. | Any numeric value node different than zero. | Returns a quotient of both parameters. | YES | YES |
| Any value node. | Any value node. | Returns | YES | YES |
| Any value node. | Any value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns an interval sum of both parameters. | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns a interval difference of both parameters. | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns a interval product of both parameters. | YES | YES |
| Any numeric value node. | Any numeric value node different than zero. | Returns a interval quotient of both parameters. | YES | YES |
| Any value node. | Any value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any numeric value node. | Any numeric value node. | Returns | YES | YES |
| Any logical value node. | Any logical value node. | Returns | YES | YES |
| Any logical value node. | Any logical value node. | Returns | YES | YES |
Functions
Function name | Parameters | Description | Can be used in XBRL | Can be used in Particles |
---|---|---|---|---|
| Any numeric value node | Returns the absolute value of the given parameter. | YES | YES |
| Any numeric value node | Returns the absolute interval value of the given parameter. | YES | YES |
|
| Returns accounting standard for currently validated report based on module label:
| NO | YES |
|
| Returns the summed period. | YES | |
|
| Returns the date node delayed by the period value. | YES | |
| Variable node with table specified | Returns | NO | YES |
| Variable node | Returns context date from the variable. | YES | |
| Variable node | Returns number of not-null facts in given variable node. | YES | YES |
|
| Creates date value. | YES | YES |
| String value node matching ISO Duration schema | Returns new period node representing the given duration | YES | |
|
| Returns the current date. | NO | YES |
|
| Returns year number previous to period year of the report currently being validated. | NO | YES |
|
| Returns given explicit dimension (param 2) value from a given variable (param 1). | Partially - only in Join | YES |
|
| Return calculated value of param 1 ^ (param 2 / param 3).
| YES | YES |
|
| Returns | NO | NO |
|
| Returns label of enumeration metric value for a specified variable. | YES | YES |
| String value nodes | Returns all distinct given values, concatenated into a single value, using | NO | YES |
| String value nodes | Returns all values, concatenated into a single value, using | NO | YES |
| Variable node | Returns the value of XBRL identifier element associated with the given variable. | YES | |
|
| Allowing to create the logical expression with the following syntax:
Evaluation algorithm:
| YES | YES |
|
| Returns | YES | NO - can be added when needed. |
|
| Returns | YES | NO - can be added when needed. |
| Any value node | Returns | YES | YES |
| Variable node | Returns | YES | YES |
| String value node | Returns | NO | YES |
| String value node | Returns | NO | YES |
|
| Returns | YES | YES |
| Numeric value nodes | Returns maximum value of the values provided. | YES | YES |
| Numeric value nodes | Returns maximum interval value of the values provided. | YES | YES |
| Numeric value nodes | Returns minimum value of the values provided. | YES | YES |
| Numeric value nodes | Returns minimum interval value of the values provided. | YES | YES |
| Logical expression | Returns | YES | YES |
|
| Returns the currency of the report currently being validated. | NO | YES |
|
| Returns period date of the report currently being validated. | NO | YES |
|
| Returns period year number of the report currently being validated. | YES | YES |
|
| Returns reporting level for the report currently being validated:
| NO | YES |
| String value node | Returns number of characters in the given string. | YES | YES |
|
| Returns new string value defined as a part of param 1, starting from character defined by an index (param 2), up to the end, or a number of characters specified by optional param 3. | YES | YES |
|
| Returns a period node with the difference between the 2 dates. | YES | |
|
| Returns the difference of the 2 periods. | YES | |
|
| Returns the difference of the 2 periods. | YES | |
| Numeric value nodes | Returns sum of the values provided. | YES | YES |
| Numeric value nodes | Returns interval sum of the values provided. | YES | YES |
|
| Returns | NO | NO |
| Variable node | Returns QName node with variable unit. | ||
|
| Returns | YES | YES |
|
| Returns | YES | YES |
|
| Returns | YES | YES |
|
| Returns | YES | YES |
|
| Returns | YES | YES |