Operators and functions
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 | NO |
|
| Returns the date node delayed by the period value. | YES | NO |
| 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 | NO |
|
| 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 | NO |
|
| Allowing to create the logical expression with the following syntax:
Evaluation algorithm:
|