Resolving Overrides in Batch Processing
This topic discusses overrides in batch processing.
The following table describes how overrides to supporting elements are resolved during batch processing.
Program |
Process |
---|---|
Payee Data Manager |
Resolves hierarchy between pay entity, pay group, payee, and calendar supporting element overrides and loads the override with the highest priority into a supporting element override/value array. |
PIN Manager |
Checks to see if the supporting element is resolved.
|
Element Assignment |
An array, formula, bracket, or date extract can assign a value to another element. In this case, the element is considered resolved. |
Earning/Deduction/Entitlement/Take program |
Applies primary element overrides, then payee/element overrides, and finally positive input overrides, as applicable, to a supporting element used by an earning, deduction, take, or entitlement element. The primary element overrides are in force for the duration of the earning, deduction, take, and entitlement element resolution. The payee/element overrides are in force for the duration of the take and entitlement resolution. For earning and deduction elements, the payee/element overrides and the positive input overrides are in force for each earning/deduction instance. For each type of override, the program saves and stores the current value of the supporting element before assigning the override value. When the override is no longer in force, the saved value of the supporting element is restored |
Earning/Deduction Program Flow
Here's what happens in the Earning/Deduction Program:
Retrieve the earning, deduction, take, or entitlement element rule definition.
When a primary element override exists (that is, when there are instructions to override a supporting element that is associated with an earning, deduction, take, or entitlement), retrieve and store the current value of the supporting element.
Set the value of each supporting element to the override value (to be in force for the duration of the earning or deduction resolution).
Loop per instance.
Note: For take and entitlement elements, there is only 1 resolution of the element. For earning and deduction elements, there can be many instance resolutions.
When payee/element or positive input supporting element overrides exists, retrieve and store the current value for each supporting element with an override value.
Set the override value of each supporting element.
When there are both payee/element and positive input overrides for the same supporting element, the positive input override is applied.
Apply payee/element field by field overrides to the rule.
Apply positive input field by field overrides to the rule.
Calculate the earning/deduction instance.
Add the instance return values to the PIN Manager Return List (earning/deduction + components).
Reset the previous value of each supporting element that was overridden via payee/element and positive input supporting element overrides.
End instance loop.
Reset the previous value of each supporting element that was overridden via primary element overrides. This completes the restoration of the supporting elements to the values in effect prior to the earning, deduction, take, or entitlement resolution.