Beruflich Dokumente
Kultur Dokumente
Contents
Solution Components
Patch 18631093 with the following components
New Mapping Component: SDR_NAME (short for Shift Differential
Rule Name; available to be configured on SS/TK/API created
Payroll timecards).
Modified OTL Deposit Process and BEE Retrieval Process
mappings to enable deposit and retrieval of the above component as
a Time Attribute.
New Profile option HXT: Display Override Shift Differential Premium
Rule to toggle display of the new field in Entry/Validation/Approval
screen for Administrators.
Associated code to support time entry, deposit, retrieval and Shift
Premium generation for time entries that also specify a shift
differential rule.
The above query is meant to pick up the logged in user, and thru his
assignment, get the Shift Differential Policy assigned to him.
The example in this document uses HXC_CUI_CUSTOM2_V and
Custom2VO available for SS timecard customization. Any VO already
available ( of the name CustomXVO, where X is 1..10 may be used).
Customer is also welcome to use a completely new VO and View
structure they have in place.
For an authorized delegate based time entry, this definition might not
suffice, and there must be further configurations in terms of a bind
variable. Please refer Timecard Config UI WP.
If the layout created is assigned to an employee who has no OTLR
setup at all, or no shift differential policy attached, or no Premium
Eligibility Policy attached, the choicelist would be empty.
Any additional validation on the value to be chosen or values already
chosen etc can be configured with Time Entry rules and fast formulas,
seeded or custom.
Qualifier_attribute2 VO used
Qualifier_attribute26 Attribute category, OTM
Qualifier_attribute27 Attribute column, Attribute2
Qualifier_attribute9 column to store and datatype Value#STRING
Above screenshot shows the Review page showing Shift Premium Rule
and explosion according to the new functionality. Here, we see Shift
Premium paid to the employee even though time is entered in Hours and
not start and stop time.
Where/Order By:
WHERE asg.person_id = FND_PROFILE.VALUE('OTL_TK_RESOURCE_ID')
AND SYSDATE BETWEEN asg.effective_start_date AND asg.effective_end_date
AND ati.assignment_id = asg.assignment_id
AND SYSDATE BETWEEN ati.effective_start_date AND ati.effective_end_date
AND ati.shift_differential_policy = sdr.sdp_id
AND SYSDATE BETWEEN sdr.effective_start_date AND sdr.effective_end_date
Value:
sdr.name
ID:
sdr.name
hxc_Timestore_Deposit.create_attribute
(
p_building_block_id => l_time_building_block_id,
p_attribute_name => SDR_NAME,
p_attribute_value => Night Shift Prem Rule,
p_app_attributes => x_app_attributes
);
Points to remember
Though the facility to key in Shift Premium Rule is provided in various Time entry screens,
any rules entered thus has a value only for time keyed in as Hours and not as Start and Stop
times.
In other words, the timecards may not error out as such if a premium rule is overridden on a
time entry with start and stop times, however overtime explosion should see no impact.
As mentioned previously in this document, the added shift premium rule has an impact only if
the employee has a valid Shift Differential Policy attached and the Premium expected to be
awarded is attached to the worked hours thru Premium Eligibility policy.
The new component available to be added to timecards, SDR_NAME is available to be used
in all timecard configurations (in LOVs, dependent LOVs, Hidden values etc. ) and all
standard OTL configurations like Time Categories.
Profile option HXT: Display Override Shift Premium Rule decides whether to display the SDP
rule in Entry/Validation/Approval screen. However, turning off this profile option keeps the
data in the backend table intact.
The Entry/Validation/Approval screen shows overridden SDP Rule in the Summary record.
However, amongst the exploded details, only the premium hours awarded shows SDP Rule.
A timecard that stores Shift Premium Rule in Self Service/TK stores Shift Premium rule in the
second attribute of HXC_TIME_ATTRIBUTES, in attribute_category OTM.
In the OTLR schema, the overridden Shift Premium Rule is visible in
HXT_SUM_HOURS_WORKED_F.sdp_rule and HXT_DET_HOURS_WORKED_F.sdp_rule.
The above data can be verified by running OTL Analyzer programs.