In this article, I am going to show how to add the Hours Type in the Hours choicelist field on the Self Service Timecard. This process requires only a few setups and involves no code or layout change. I am assuming that the basic preferences setup like Timecard Layout, Approval Style, Approval Period, Timecard Period, Application Set, Retrieval Group etc are done.
It is often one of the most basic requirements to enable a different list of Hours type to employee Self Service Timecard based on some criteria like assignment, people group, etc....
Step 1. Create Elements and make sure that the Earnings Type is defined and one of the input values is "Hours". I am defining a regular and an overtime earning element. Earning type selection will decide a lot of things when we come to Time Management Rules like overtime, shift calculation etc.
Step 2. Link the elements to proper payroll.
Step 3. Create the Element set as per your requirement to build different sets of Hours Types.
Step 4. Run the Generate Flexfield and Mapping Information concurrent request. This process will take the Element Set created in the previous step.
Step 5. Create the Alternate Names. Here you can provide your custom, readable names to elements which will appear as hours type. Like I have given the name Shiv Regular Earning to element Shiv Regular. Make sure that records in Alternate Name section are enabled.
Step 6. Attach the above Alternate name to the Self Service Timecard Alternate Name Set Defined for a User node in the preference tree.
Step 7. Create an Eligibility Rule to attach the above preference to the test person.
Step 8. Login with the test person's credential and check the Hours Type list of values. Both the hours should be visible now on the Hours Type choicelist.
13 Responses to How to display the Hours Type choicelist [Payroll elements] on Self Service Timecard
Hi Shiv,
In defining Elements for OTL, Is it really necessary to enter further time information; I don't have a HRMS localization for my country. Does the Element Time Information Form alone do the job?
Thanks
The most important info on the further time information screen is the Earnings. This is the value which is used throughout the code in case you are using OTL rules like Shifts, premiums etc. So in case you are not using the OTL rules, it is fine.
Between, I would like to know the name of the person I am corresponding to :)
--Shiv
Hi Shiv,
I am working on LDT files to customize OTL time card pages. I need to link my layout name with the system in order to reflect my changes on timecard. I went to OTL ADMIN responsibility and there in preference tree. In preference value column I need to add my custom layout name. How can i do that? I would appreciate your help in this regard as i need to deliver this object very soon.
Thanks in advance
Mohit
Hi, Shiv
i have completed the basic set up but when i entred the time against employee and submit it i get the error "Please enter an Hours Type." can you help me where i am doing wrong i do check the same process in vision instance and it gives me same error.
Farhan,
Are you enter hours along with an Hour type? Entering time without any hour type results in this error message.
--Shiv
RoyalRajput_Singh,
You need to enter the new layout name on the preference node called "Self Service Timecard Layouts". Make sure to select the correct node which is attached to the user.
--Shiv
Hi Shiv Saroj,
I need your help in an issue that we need to disable (not enterable) the fields of weekends (Sat & Sun) in the OTL timecard and from Mon to Fri only should be enabled (enterable).
Could you please explain in detail that how to do the above configuration?
Thanks,
Prakash
prakashrao.dvs@gmail.com
Hi Shiv,
I have customised the seeded Payroll Timecard layout to change the Cost Center prompt to Location. This Location promp is being displayed in the timecard but the hours type drop down has no values.
Seeded Payroll Timecard Layout has the hours type drop down value filled up.
Please note that I have not changed anything in the LDT file for the Hours Type component.
Waiting eagerly for your reply.
Thanks,
Abhigyan
Unpaid overtime
because we use OTL in conjunction with Oracle Projects costs, labour costs are capitalised on 'internal cap labor'
The issue we have is that the employees are contracted to 40hours per week and thier salaries reflects this however they are actually working unpaid overtime to 60 hours per week which is information that the PM wants to see, therefore overstating capex and negative opex?
The question is how do we have only the hours in OTL but without the association of cost?
hinice information. for beginners like me it would have been better if responsibilty and navigation was provided.
We have alternate names defined for expenditure types. I need to write a function to validate hours over 40 are charged to overtime. Can you help a beginner out? How do I reference the alternate name value for a TBB (timecard building block)? Is there a better way to do this than writing a fast formula function?
Hi Shiv,
I am using self-service time to create time entries in oracle apps. Now when I am trying to fill the time sheet and submit for approval. It gives error ORA-66502: PL/SQL Numeric or Value Error(ORA-06502: PL/SQL: numeric or value error), this error is displayed at the comments section.The time card is getting stuck in the working state and unable to delete as well.
I am clueless as why this is happening with no idea on how to debug this.
Please help me out on this. Any information from you will be utmost valuable.
Thanks & Regards,
S.Jain.
Hi Shiv,
In the time card layout there is no field called 'Hours Type' but when trying to submit the time card from timekeeper responsibility I get the error "Please enter an Hours type". Can you please suggest what could be missing.
Regards,
Maya
Something to say?