- References to Measurements and Incentives
PREVIOUS | NEXT
Each measurement and incentive generated by the Calculation is associated with a period. When using measurements or incentives in rules, you must consider whether:
- The associated period is at the leaf-level or a higher level period. The leaf-level is the smallest period unit of your calendar, usually a month or two weeks. When you reference the non-leaf value of a measurement, you are asking for the sum of leaf values that span the referenced higher-level period.
- The value of measurements or incentives is synthetic or persistent; stored in the database or available dynamically.
- The rule is references values that it generated (self-referencing).
Measurement or incentives are referred to using Name: period notation. For example, a reference to the quarter-based version of the GolfPM measurement looks like GolfPM:quarter: UnitType. Persistent values are the period-based versions of measurements and incentives that Commissions stores in the database. For example, the month-based output of a primary measurement rule is a persistent value. Synthetic values are the higher-level period versions of measurements and incentives that Commissions calculates automatically but does not store them in the database. Synthetic values are created to make processing faster. Commissions calculates synthetic values during calculation run's and do so regardless of whether the synthetic values are referenced in any rules. For example, the quarter- and year-based versions of a primary measurement are synthetic values.