Professional Documents
Culture Documents
Element
Name
Classification
Type
Input values
2. Element set
Type
- Run
- Payroll
5. Retrieval Rule
Name
Process Name
Application
Status
Payroll
BEE Retrieval Process
Payroll
Approved
- (Any Name)
- Week
- <01-Jan-2006>
8. Approval Period
Name
- (Any Name)
Application
- Payroll
Recurring Period - <Name from step 7.>
9. Approval Style
Name
Application
Sequence
Type
From Date
(Any Name)
Payroll
10
HR Supervisor
<01-Jan-2006>
10. Preference
a) Time Card Period
Preference
- Self-service timecard period for worker
Time Card Period- <Name from step 7.>
b) Approval Period
Preference
- Time Store Approval Period
Approval Period - <Name from step 8.>
c) Approval Style
Preference
- Time Store Approval Style
Approval Style - <Name from step 9.>
Override Approval Style - <Name from step 9.>
d) Timecard Layout
Preference
yout pages.
Timecard Layout - Payroll Timecard Layout
Review Layout
- Payroll Review Layout
Confirm. Layout - Payroll Confirmation Layout
e) Timecard Status Allowing Edit
Preference
- Self-service timecard status that allows edi
t
Status Allowing Edit - New Working Rejected
Past No. of days
- Payroll Review Layout
Ftuture No. of dayas - Payroll Confirmation Layout
f) Application Set
Preference
Application Set
g) Retrieval Rule
Preference
Group Name
h) Alternate Name
Preference
- Self-service Time Store Altername set define
d for user
Time Card Altername 1 - <Name fro step 3.>
11. Eligibility Criteria
Name of Rule
Name of Branch
Linked by
Linked To
Precedence
From Date
(Any Name)
<Preference Name from step 10.>
Person (All employee, Location, organization etc.)
<Person Name>
10
<01-Jan-2006>
3. GRE
4. Organization
5. Location
6. Payroll
7. Employee Name
8. Retrieval Transaction
9. Batch Selection
10. Batch Reference
11. New Batch Reference
12. Status in BEE
13. Change since
Code - <Required>
- <Required>
- Unprocessed etc.
- <Required>
- <Any Name>
- Submission
- HXC_PERIOD_MAXIMUM
- <01-Jan-2006>
Period
Time Category
Max Hours
Reference Period
<Any Name>
OR
Dummy Element Context
<Any Name> --Regular Hours
<Any Name>
<Name from step 17. a) >
40
40
The following warning message is displayed in the Timecard if the total time ent
Author
Comments
-------------- -----------------------------------GPaytonM
Initial creation
/*****************************************************************
Initialise Variables which can be null
******************************************************************/
default
default
default
default
default
default
for
for
for
for
for
for
/* ******************************************************************
READ IN INPUT VARIABLES
****************************************************************** */
INPUTS ARE resource_id
(number)
,
submission_date (text)
,
period
(number)
,
period_maximum (number)
,
reference_period (number)
,
db_pre_period_start (text)
,
db_pre_period_end
(text)
,
db_post_period_start (text)
,
db_post_period_end (text)
,
db_ref_period_start (text)
,
db_ref_period_end (text)
,
duration_in_days
(number)
,
timecard_hrs
(number)
/* ****************************************************************
Processing
**************************************************************** */
IF ( period_max (resource_id, submission_date,
period_maximum, period, reference_period,
db_pre_period_start, db_pre_period_end,
db_post_period_start, db_post_period_end,
db_ref_period_start, db_ref_period_end,
duration_in_days, timecard_hrs ) = 1 )
THEN
rule_status = 'S'
ELSE
( rule_status = 'E'
message1 = 'HXC_WTD_PERIOD_MAXIMUM' )
/* ****************************************************************
RETURN VARIABLE
**************************************************************** */
RETURN rule_status, message1
18. Setting up Approval Rules
Time card is routed for supervisor approval only when the total Overtime hou
rs in a week exeeds 14hours.
The timecard would be autoapproved if the Overtime hours is <= 14
a) Time Category Name
Operator
Mapping Component
Value
- <Any Name>
- Submission
- HXC_APPROVAL_MAXIMUM
- <01-Jan-2006>
Time Category
Max Hours
c) Approval Style Name
Application
Sequence
Type
From Date
Rule
Application
<Any Name>
OR
Dummy Element Context
<Any Name> --Overtime Hours
(Any Name)
Payroll
10
HR Supervisor
<01-Jan-2006>
Paul has entered 6 hours of overtime and submitted the time card.
In this scenario the timecard gets auto approved as the total overtime for the p
eriod is 6 which is lesser than 14.
Paul has now entered 20 hours of overtime and submitted the time card.
In this scenario the timecard is sent to his supervisor (Bill) for approval as t
he total overtime hours for the period is greater than 14.
/* ******************************************************************
Formula Name : HXC_APPROVAL_MAXIMUM
Author : Garry Payton-McDowall
Description
: Implements simple hours test for approvals
Contexts
: None
Explanation
: The formula is passed a resource id, period start and
period end and maximum hours. Period start and end
are the application period start and end dates.
If the maximum hours is less than the number of hours
over the period specified then the formula returns
TO APPROVE equal to Y to initiate the approval process
****************************************************************** */
/* Change History:
Date
Author
Comments
------------------------- -----------------------------------29-NOV-2000
GPaytonM
Initial creation
*/
/*****************************************************************
Initialise Variables which can be null
******************************************************************/
default
default
default
default
default
default
default
default
default
default
default
for
for
for
for
for
for
for
for
for
for
for
/* ******************************************************************
READ IN INPUT VARIABLES
****************************************************************** */
INPUTS ARE resource_id
(number)
,
submission_date (text)
,
period
(number)
,
period_maximum (number)
,
reference_period (number)
,
db_pre_period_start (text)
,
db_pre_period_end
(text)
,
db_post_period_start (text)
,
db_post_period_end (text)
,
db_ref_period_start (text)
,
db_ref_period_end (text)
,
duration_in_days
(number)
,
timecard_hrs
(number)
/* ****************************************************************
Processing
**************************************************************** */
IF ( period_max (resource_id, submission_date,
period_maximum, period, reference_period,
db_pre_period_start, db_pre_period_end,
db_post_period_start, db_post_period_end,
db_ref_period_start, db_ref_period_end,
duration_in_days, timecard_hrs ) = 1 )
THEN
to_approve = 'N'
ELSE
to_approve = 'Y'
/* ****************************************************************
RETURN VARIABLE
**************************************************************** */
RETURN to_approve
19. Oracle Time and Labor Rules (OTLR)
Would like to have rules setup for automatic explosion of timecards
n certain policies.
No. of Hours
Hours Type
s
---------------------------0 to 8 hours
Regular Time
es are paid for upto 8 hours of regular pay
8 to 12 hours
Overtime
es are paid overtime for the no of hours worked beyond 8 and upto 12
based o
Comment
------Employe
Employe
d) Earning Policy -
- <Any Name>
- Regular Hours
Overtime Hours
- <Any Name>
- Vacation Pay
- New Year
Independence Day
Labor Day
01-Jan-2006
15-Aug-2006
01-May-2006
8 Hours
8 Hours
8 Hours
Name
Type
- <Any Name>
- Daily Overtime Earning
Type
Earning Type
Hours
-----
------------
------
Daily Earning
Regular Hours
Daily Earning
Overtime Hours
12
Holiday Earning
Weekend Hours
999
Note :-If you have set OTL Rules Evaluation to "Yes" OTL data first
moves from Timestore to PUI and then to BEE screen.
Approval Rule for rules evaluation - Payroll
Overtime recurring period
Set the Timecard Review Layout to Payroll OTLR Details Review Layout
Timecard Layout
Preference
layout pages.
Timecard Layout
Review Layout
Confirm. Layout
Results
------Say entered 20 hours for regular hours then this time record gets splitted into
two hours type