Skip to main content

Supporting Elements

Overview

Supporting elements hold the logic and lookup data that primary elements use. They are what makes the Global Payroll model flexible without turning every earning or deduction into a one-off design.

Supporting Element Types

TypeRole
FormulaEncapsulates rule logic
VariableStores configurable values
BracketMaps ranges to outputs
DateDerives date values for calculations
DurationCalculates lengths of time
CountCounts occurrences or events
Rate CodeResolves rate-based amounts
ArraySupports more advanced data structures and iteration

Design Principles

  • Keep formulas readable and focused.
  • Push simple configurable values into variables or brackets instead of formulas.
  • Reuse date and duration logic across multiple elements where possible.

Runtime Impact

Supporting elements usually do not appear on the payslip, but they strongly influence output. They should be versioned and reviewed with the same discipline as earnings and deductions.

Key Takeaways

  • Supporting elements are the design backbone of reusable payroll logic.
  • Good supporting-element design reduces override volume.
  • Trace dependencies from primary elements into supporting elements during issue analysis.