Define one calculation expression using local [[column:3]] or linked [[table:42]].[[column:37]] values.
Functions: IF, ROUND, MIN, MAX, ABS, CEIL, CEILING, FLOOR, CONCAT, COALESCE, LOWER, UPPER, LENGTH, TIME_DIFF_HOURS, TODAY, NOW, CURRENT_DATE, CURRENT_TIME, CURRENT_DATETIME, CURRENT_TIMESTAMP, DATE, TIME, YEAR, MONTH, DAY, DATE_ADD, DATE_SUB, DATE_ADD_DAYS, DATE_DIFF_DAYS, DATE_START_OF_DAY, DATE_END_OF_DAY, FORMAT_DATE, DATE_FORMAT, IS_TODAY, IS_PAST, IS_FUTURE, IS_VALID_DATE, TRIM, REPLACE, SUBSTRING, LEFT, RIGHT, CONTAINS, STARTS_WITH, ENDS_WITH, LIKE, IS_NULL, IS_EMPTY, NULLIF, IN, BETWEEN, REGEXP_LIKE, REGEXP_REPLACE, REGEXP_SUBSTR, LOOKUP_LINK, LOOKUP_PATH, LEAST, GREATEST, SUBSTR, CURDATE, CURTIME, ADDDATE, SUBDATE, ADD_DAYS, REGEX_MATCH, REGEX_REPLACE, REGEX_EXTRACT.
Examples: ROUND([[column:17]] * 1.19, 2)
IF([[column:1243]] = 'โ
erledigt', TODAY(), NULL)
DATE_ADD(TODAY(), INTERVAL 30 DAY)
DATE_FORMAT(NOW(), '%d.%m.%Y')
SUBSTRING('hello', 2, 3)
IF([[column:21]] BETWEEN 1 AND 10, TRUE, FALSE).
Click the calculation to open the API code editor. Step and max length round or shorten the result.
TODAY() returns the current date and NOW() the current datetime in the server timezone. Stored results refresh during recalculation, not as time passes.
Use system only for clock-dependent results that must always follow recalculation. Use a workflow for an immutable completion date.
System only is not checked by default and is never forced by having a calculation; check it yourself if only the system and never a human should ever set this field.
Defaults are inserted first for a new entry and a non-empty valid calculation result can overwrite them. Without system only, a later recalculation replaces the field only while its stored value still matches the previous calculation result, so a manual override is preserved; a manual override can itself later be replaced again once a further change makes a new result available.
Linked table references resolve through this table's configured link fields. For explicit one-hop or multi-hop traversal use LOOKUP_PATH([[column:link]], [[table:next]].[[column:nextLink]], ..., [[table:final]].[[column:value]]). Up to 12 validated hops and several nested paths in one expression are supported.
A missing or ambiguous path match resolves to EMPTY/NULL and can be handled explicitly with COALESCE(...) or IF(...).
Expressions also support +, -, *, /, %, comparisons and AND, OR and NOT.
For a schema-adaptive linked lookup that may be saved before a source table is selected, use LOOKUP_LINK([[column:link]], 'semantic-purpose'). It resolves to EMPTY while unlinked or unmatched and automatically uses the matching linked source column after configuration.
Supported semantic purposes are business, partner_name, street, house_number, city, zip, country, invoice_differs, invoice_street, invoice_house_number, invoice_city, invoice_zip, invoice_country, email, product_name, net_price, net_price_buying and tax_rate.