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
| Type | Role |
|---|---|
| Formula | Encapsulates rule logic |
| Variable | Stores configurable values |
| Bracket | Maps ranges to outputs |
| Date | Derives date values for calculations |
| Duration | Calculates lengths of time |
| Count | Counts occurrences or events |
| Rate Code | Resolves rate-based amounts |
| Array | Supports 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.