System Elements
Overview
System elements are delivered runtime values exposed by the engine. They provide period dates, payment dates, segmentation markers, counters, and other context that formulas and primary elements can consume.
Common Calendar-Related System Elements
| System element | Typical use |
|---|---|
PRD BGN DT | Determine start of processing period |
PRD END DT | Determine end of processing period |
PAY DT | Drive payment-date-sensitive logic |
SEG BEGIN DT | Handle segmented calculations |
SEG END DT | Anchor slice-specific logic |
Why They Matter
System elements let you write reusable logic that adapts to the current calendar or segment. Without them, formulas become harder to reuse and more dependent on hard-coded assumptions.
Good Practice
- Prefer system elements over hard-coded dates in formulas.
- Document which formulas depend on segmentation system elements.
- Cross-check system element usage when changing run types or period logic.
Key Takeaways
- System elements expose runtime context cleanly.
- They are central to calendar-aware formula design.
- Incorrect assumptions about system element values often explain segmentation defects.