Calculation
The Calculation tab sets the order in which conditions, field formulas, intervals and grids run.
Default order
When Use a custom order is off, the app runs:
- Conditions
- Intervals
- Field formulas
- Grids
- The price formula (always last)
Inside each type, items run from top to bottom, in the order of their tab.
Custom order
Turn on Use a custom order to choose the order yourself. The list starts with one item per type that the product has, in the default order:
- All conditions, All intervals, All field formulas, All grids: run every item of that type, in the order of their tab.
Click Add items to add single items, for example Field formula 2 or Interval 1, or an All ... item that is not in the list yet.
Use the arrows to move an item up or down, and the bin to remove it from the list.
WARNING
With a custom order, only the items in the list run, from top to bottom. An item that is not in the list does not run. The price formula always runs last.
Example
A field formula calculates [area], and an interval sets [price_m2] from [area]. By default intervals run before field formulas, so the interval would see the area before it is calculated.
Turn on Use a custom order and put All field formulas above All intervals.
Notes
- Deleting a condition, field formula, interval or grid removes it from the list.
- Changes are saved with the Save button in the save bar.
