Documente Academic
Documente Profesional
Documente Cultură
Element
Name - Regular Hours, Overtime
Classification - Earning
Type - Non-recurring
Input values - Pay value, Hours
2. Element set
Type - Run
3. Alternate Name Definition
Type - Payroll Elements
Prompt - ( any name )
4. Application set
Name - Payroll
5. Retrieval Rule
Name - Payroll
Process Name - BEE Retrieval Process
Application - Payroll
Status - Approved
6. Retrieval Rule Group
Name - (Any Name)
Retrieval Name - Payroll
Process Name - BEE Retrieval Process
7. Recurring Period
Name - (Any Name)
Period Type - Week
Start Date - <01-Jan-2006>
8. Approval Period
Name - (Any Name)
Application - Payroll
Recurring Period - <Name from step 7.>
9. Approval Style
Name - (Any Name)
Application - Payroll
Sequence - 10
Type - HR Supervisor
From Date - <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 - Self-service timecard, review and confirmation la
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 - Time Store Application Set
Application Set - Payroll
g) Retrieval Rule
Preference - Time Store Retrieval Rule Group
Group Name - <Name fro step 6.>
h) Alternate Name
Preference - Self-service Time Store Altername set define
d for user
Time Card Altername 1 - <Name fro step 3.>
The following warning message is displayed in the Timecard if the total time ent
ered by Paul for the week exceeds 40 hours.
The warning message can be turned to Error by changing the outcome field in Time
Entry Rule Groups form.
/* ******************************************************************
Formula Name : PERIOD_MAXIMUM
Author : Garry Payton-McDowall
Description : Implement standard rule for period maximum based on
requirements from WTD
Contexts : None
Explanation : The formula is passed a resource_id, data and
period maximum values to check if the resource has
exceeded working x number of hours in a given period
****************************************************************** */
/* Change History:
Date Author Comments
------------ -------------- ------------------------------------
29-NOV-2000 GPaytonM Initial creation
*/
/*****************************************************************
Initialise Variables which can be null
******************************************************************/
default for db_pre_period_start is ' '
default for db_pre_period_end is ' '
default for db_post_period_start is ' '
default for db_post_period_end is ' '
default for db_ref_period_start is ' '
default for db_ref_period_end is ' '
/* ******************************************************************
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
c) Approval Style -
Name - (Any Name)
Application - Payroll
Sequence - 10
Type - HR Supervisor
From Date - <01-Jan-2006>
Rule - <Name from step 18. b) >
Application - Payroll
Set Preference -
d) Approval Style
Preference - Time Store Approval Style
Approval Style - <Name from 18. c)>
Override Approval Style -
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 for db_pre_period_start is ' '
default for db_pre_period_end is ' '
default for db_post_period_start is ' '
default for db_post_period_end is ' '
default for db_ref_period_start is ' '
default for db_ref_period_end is ' '
default for reference_period is 1
default for duration_in_days is 1
default for period is 1
default for timecard_hrs is 0
default for period_maximum is 0
/* ******************************************************************
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
b) Earning Group -
Name - <Any Name>
Earning Type - Regular Hours
Overtime Hours
c) Holiday Calender -
Name - <Any Name>
Earning Type - Vacation Pay
Holiday days - New Year 01-Jan-2006 8 Hours
Independence Day 15-Aug-2006 8 Hours
Labor Day 01-May-2006 8 Hours
d) Earning Policy -
Name - <Any Name>
Type - Daily Overtime Earning
Holiday Calender - <Name from step 19. c) >
Earning Group - <Name from step 19. b) >
Daily weekly base and overtime rule
-----------------------------------
Name Type Earning Type Hours
From
------ ----- ------------ ------
-----
Regular Daily Earning Regular Hours 8
01-Jan-2006
Overtime Daily Earning Overtime Hours 12
01-Jan-2006
Holiday Holiday Earning Weekend Hours 999
01-Jan-2006
Results
-------
Say entered 20 hours for regular hours then this time record gets splitted into
two hours type
8 Hours for regular hours
12 Hours for overtime hours
Note :-If you have set OTL Rules Evaluation to "Yes" OTL data first moves from
Timestore to PUI and then to BEE screen.
Navigate to OTL Application Developer OTL Time Accounting Time Accounting-> Entry/Va
lidation/Approval ->Query in Batch Field as PAUL%
As you can see the Timecard data has moved to PUI after Transfer Time From OTL t
o BEE is run.
(Run Valiodate For BEE) Now this Data needs to be validated.
(Run Transfer to BEE) Now you can finally move the data to BEE.Inorder to do t
hat you need to run the Transfer To BEE.
You can see the BATCH STATUS= "Transferred To BEE" in the above screen shot.
This Data can be now be Interfaced to Payroll
You need to again validate/transfer in BEE (Payroll module)