Retrieving Data for Elements that Resolve Multiple Times
If an earning or deduction has user fields and multiple resolutions occur due to multiple user field sets, the system sums the resolutions when returning a value for the element in a specific segment. The system does not return the value of individual user field instances.
Example: Summing the Value of Individual Instances of an Element
An earning element E2 uses E1 as its base component.
E1 resolves multiple times in a segment, as shown in this table:
Instance Number |
User Field (State) |
Amount |
Segment Begin Date |
Segment End Date |
---|---|---|---|---|
1 |
State 1 |
2000 |
October 1, 2003 |
October 31, 2003 |
2 |
State 2 |
1000 |
October 1, 2003 |
October 31, 2003 |
3 |
State 3 |
500 |
October 1, 2003 |
October 31, 2003 |
Assuming that E2 uses E1 as its base component, the system returns a value of 3500 for E1 when it resolves E2 (2000 + 1000 + 500).
Note: If you need to use the value of individual user field instances of an element in a rule, create segment accumulators with the appropriate user keys. In this example, you could define a segment accumulator for E1 with a user field of State. You could then use this segment accumulator as the base component in the definition of E2.