Contingent Worker
How to find the count of contingent worker for each year. Can anyone help me with a query.
Hi,
You can use this query :
SELECT COUNT(*)
FROM per_all_people_f PAPF
WHERE 1 = 1
AND APPS.HR_PERSON_TYPE_USAGE_INFO.GET_USER_PERSON_TYPE(TRUNC(SYSDATE),PAPF.person_id) IN ('Contingent Worker', 'Ex-contingent Worker')
AND TRUNC(PAPF.effective_start_date) between '01-Jan-2011' AND '31-Dec-2011'
AND TRUNC(SYSDATE) BETWEEN papf.effective_start_date AND papf.effective_end_date
This query will also give you Hired and Terminated Contingent Workers between the given dates. If you do not want to add them, remove 'Ex-contingent Worker' from above query.
Hope This will help.
Thanks,
CAH
Similar Messages
-
Error while creating Contingent worker by api
we are going to create contingent worker by HR_CONTINGENT_WORKER_API.create_cwk api,but i am unable to create record and getting error "A person type with a system person type CWK must be specified",
Pleae advice,what could be mistake.You're probably passing the wrong value of the p_person_type_id parameter.
What does this return:
SELECT system_person_type
FROM per_person_types
WHERE person_type_id = <p_person_type_id in API call>;
What's your PLSQL to call the API? -
Cannot Update Contingent Worker Number with API when no assignment exists
Hi
I am using hr_person_api.update_gb_person to update Contingent Worker Numbers (NPW_Number in PER_ALL_PEOPLE_F). This works fine apart from one exception. I get the following error: ORA-20001: You cannot enter a Contingent Worker number because you are not creating a Contingent Worker.
The Contingent Worker failing has 4 records in PER_ALL_PEOPLE_F. The 3 date tracked (end dated) records update fine as expected....the new NPW_Number appears in PER_ALL_PEOPLE_F. However, the current active record does not update it returns the error mentioned. This appears to be because the person in question was terminated. (ie via Others and selecting End Placement in the screens).
This person now shows as Ex-Agency Person Type. This process does not generate a record in PER_ALL_ASSIGNMENTS_F. I am wondering if this causes the API some confusion?
I can go into the screen and manually change the Contingent Worker and it saves fine so I would expect the API to do the same. However it returns ORA-20001: You cannot enter a Contingent Worker number because you are not creating a Contingent Worker....for this single record only.
Any suggestions as to what may be causing the API to return this and any workaround please?
Many thanks in advance.Sometimes APIs are not behaving as Forms do.
An ugly solution in this case could be reverse the termination (hr_ex_employee_api.reverse_terminate_employee), then update the Contingent Worker Number with your API, then terminate him/her again. -
Convert an Employee record to a Contingent worker record
Hi friends,
I have a requirement in HRMS where a list of Employees needs to be converted to a Contingent Worker.
Since the employee details, address, etc... are already loaded, is it possible to convert/change the employee's person type from Employee to Contingent Worker? However, payroll or grade doesnot exists for these employees.
Kindly provide your valuable suggestions in this regard.
Regards,
Ahmed.
Edited by: user629449 on Oct 26, 2009 2:19 PMPl see if MOS Doc 744203.1 (Person_type Error In Hr_contingent_worker_api.Convert_to_cwk) is helpful
HTH
Srini -
Contingent worker expense claim
Hi,
We are contemplating the following steps to implement contingent worker expense claim process in R12.1.3.
1. Contractor request and PO having a line for expenses ($1000).
2. Contingent worker logs an iExpense claim ($100).
3. The claim gets approved by the supervisor.
4. Next, iExpense claim gets converted to AP invoice for the supplier and not for the contingent worker.
5. AP invoice match to expense line of PO.
6. Validate and Pay the invoice.
Steps 1-3 working fine.
When ever we are trying to export the iExpense claim to AP Invoice by running the program "Expense Report Export", it fails with the rejection reason "Payment Method is invalid". So cannot test step-4 onwards.
Contingent worker is mapped to supplier and PO in the employee setup form.
Can you please advise the probable reason for the rejection.
Thanks,
PS.Hi,
You can use this query :
SELECT COUNT(*)
FROM per_all_people_f PAPF
WHERE 1 = 1
AND APPS.HR_PERSON_TYPE_USAGE_INFO.GET_USER_PERSON_TYPE(TRUNC(SYSDATE),PAPF.person_id) IN ('Contingent Worker', 'Ex-contingent Worker')
AND TRUNC(PAPF.effective_start_date) between '01-Jan-2011' AND '31-Dec-2011'
AND TRUNC(SYSDATE) BETWEEN papf.effective_start_date AND papf.effective_end_date
This query will also give you Hired and Terminated Contingent Workers between the given dates. If you do not want to add them, remove 'Ex-contingent Worker' from above query.
Hope This will help.
Thanks,
CAH -
Rehire contingent worker to employee into a different business group
How to rehire contingent worker as an employee to a different business group programatically. I used hr_employee_api.hire_into_job to rehire into the same BG.
Can any one suggest a solution ?
Regards
ThomasHi,
I got the answer to my question. We can use the party_id of the existing record in per_all_people_f in the create_person API and pass all the values like business_group_id and other details and the CWK will be rehired as an employee in a different BG.
From PUI, we can hire the CWK into a different BG by entering his last name national_identifier and enter the employee type and save, then there will be a popup showing the EMP/CWk matching the criteria in different BGs and select the appropriate emp/cwk and you can rehire them
Regards
Thomas -
OTL: Purchasing timecard attributes for Contingent worker
Hi,
I am trying to create a timecard for a Contingent worker (a purchasing timecard).
Using the APIs, I am able to create the timecard in the specific template (having PO NUmber & PO Line Number).
But the issue I am facing is :
All the fields are getting populated (project, task, line number), but the 'PO Number' & 'Type' are not getting populated.
hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
p_attribute_name => 'Expenditure_Type',
p_attribute_value => 'Contract Performance Manager',
p_deposit_process => 'Projects Deposit Process',
p_app_attributes => l_tbl_attributes_info);
hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
p_attribute_name => 'PO Price Type',
p_attribute_value => 'Standard Rate',
p_deposit_process => 'Projects Deposit Process',
p_app_attributes => l_tbl_attributes_info);
hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
p_attribute_name => 'PO Header Id',
p_attribute_value => P_PO_HEADER_ID,
p_deposit_process => 'Projects Deposit Process',
p_app_attributes => l_tbl_attributes_info);
hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
p_attribute_name => 'PO Line Id',
p_attribute_value => P_PO_LINE_ID,
p_deposit_process => 'Projects Deposit Process',
p_app_attributes => l_tbl_attributes_info);
* PO Line number is getting populated correctly.
Please help !!!
Thanks,
SambitDid you change the Application set to Proj and Payroll? Also can you put a description of what exactly you want to do with respect to payroll element so that we can gauge the exact layout and setup required.
--Shiv -
Proces not available from Contingent Worker Self Service
HI ,
There is a Oracle given functionality to Hire COntingent Workers called 'Contingent Worker Placements'.
I have added this functionality under Employee and Manager. but when i try to add the same functioanlity under the Contingent Worker Self Service Responsilbility, I get the following error,,
The XXCHR Contingent Placement Mgr function is not available under the Contingent Worker Self Service responsibility
Please help as soon as possoble.
Regards,
PreetiNow I can see my custom layout... Thanks a lot
Would you please help me also viewing a new comment field..
I did the followings:
* Creating a new context called (NewComment) under the DFF OTL Information Types, It include only one segment called LineComment saved in Attribute1.
I added the following to the ldt file:
# Comment Field
BEGIN HXC_LAYOUT_COMPONENTS "Payroll Timecard Layout - Comments Field"
OWNER = "ORACLE12.1.0"
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "HXC_CUI_TIMECARD_COMMENTS"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "190"
COMPONENT_DEFINITION = "TEXT_FIELD"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"Payroll Timecard Layout - Header Table Layout Component"
ATTRIBUTE1 = "TOP"
LAST_UPDATE_DATE = "2004/05/24"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Payroll Timecard Layout - Comments Field"
OWNER = "ORACLE12.1.0"
QUALIFIER_ATTRIBUTE_CATEGORY = "TEXT_FIELD"
QUALIFIER_ATTRIBUTE1 = "N"
QUALIFIER_ATTRIBUTE2 = "Y"
QUALIFIER_ATTRIBUTE3 = "50"
QUALIFIER_ATTRIBUTE4 = "3"
QUALIFIER_ATTRIBUTE5 = "2000"
QUALIFIER_ATTRIBUTE18 = "EXCLUDE"
QUALIFIER_ATTRIBUTE19 = "|CSV|"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "R"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "NewComment" --> the name of the context
QUALIFIER_ATTRIBUTE27 = "Attribute1"
#QUALIFIER_ATTRIBUTE28 = "LineComment" --> the name of the segment
LAST_UPDATE_DATE = "2004/05/24"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
the file uploaded successfully but i can not see any changes, no comment shown?!! -
Contingent Worker to Perm Employee Bug
Hi,
We are currently encountering a bug where it is not possible to hire an Ex-Contingent Worker.
Once you have ended the contingent workers placement and created the employees employment it is not possible to query back the person (Using a responsibility with no restrictions) in the enter&maintain screen.
If I look at the database, no period of service has been created for the new employee.
What is strange is that I do not encounter this problem if I create a new contingent worker and leave them assigned to the default business group. As soon as I assign the person to a department I encounter this problem.
I find it surprising that something so fundamental (Hiring etc) should be a bug in the software so I am sure it has to be how we have set the product up but any help would be greatly appreciated.
Thanks in advance for any help.This message for error 289609 is:
"A period of placement does not exist for the specified person on the specified date."
This basically means it doesn't think the person is a Contingent Worker on the date you've specified. What's the Effective Date you're passing in? What does this return:
SELECT current_npw_flag
FROM per_all_people_f
WHERE person_id = <person_id>
AND trunc(<effective_date>) BETWEEN
effective_start_date AND effective_end_date;
This should return 'Y' (not null). -
Oracle HR Contingent worker termination through Manager Self service
Hi All,
My requirement is to terminate contingent workers through Manager Self-Service.
Does the Termination function handle contingent workers as well ? Or is there a separate function for contingent worker termination ?
Thanks,
SrYes,
Termination function handles contingent workers as well
You can try it in TEST instance -
How to Create Placement for contingent worker using API in 11i?
We need to Create Placement for contingent workers using an API or program without using EBS forms.
On the People form, there is an Action - Create Placement that does just what we need. We can select an Ex-contingent worker, create placement, and save. This creates a new Period Of Placement (PDP) record for the contingent worker with a new primary assignment. The result is the contingent worker can have multiple periods of placement to reflect different jobs they have worked on, for example one contract from Jan 10 - April 4, another from May 1 - 20, and a third starting Aug 7 without an end (yet).
There are several APIs we find in the Integration Repository for 11i dealing with Contingent Workers, Assignments, and changing a Period of Placement, but we can't find any for creating a PDP.
Thank you if you can advise on how to do this.
SkipWe need to Create Placement for contingent workers using an API or program without using EBS forms.
On the People form, there is an Action - Create Placement that does just what we need. We can select an Ex-contingent worker, create placement, and save. This creates a new Period Of Placement (PDP) record for the contingent worker with a new primary assignment. The result is the contingent worker can have multiple periods of placement to reflect different jobs they have worked on, for example one contract from Jan 10 - April 4, another from May 1 - 20, and a third starting Aug 7 without an end (yet).
There are several APIs we find in the Integration Repository for 11i dealing with Contingent Workers, Assignments, and changing a Period of Placement, but we can't find any for creating a PDP.
Thank you if you can advise on how to do this.
Skip -
Contingent Worker, Contract Worker and Termination
Hi,
I am trying to create contract workers for my business groups but not sure which person type to use and if termination conditions vary between the different people group types.
if I have a contract worker, will they be terminated based on the end date of their contract?
as for the contingent workers, how can I use them to my advantage and can they also be terminated via their contracts end dates?
OR do have to terminate both those types of employees manual (by filling a terminating form in oracle hrms).
Please help me.
Cheers,
LusiaHi Lusia,
How are you differentiating Contingent workers and Contract workers.
Contingent workers(CWK) are those who are not paid through the payroll system, but outside of it(say from Accounts payables)
So you can employ them and record their data for tracking purposes and use everything on the Person form.
As you don't pay anything from Payroll, you cannot store any pay related data.
For terminating CWKs, you use End Placement instead of end employment.
You can treat your contract workers as employees or CWKs, depending on how you want to pay them.
If you treat them as employees, you can create fixed-term assignments and pay them through the payroll system.
The onus is on you to pay the employee and also process his/her Taxes/NI etc..
If you treat them as CWKs, you don't have to worry about pay, NI, taxes as they would be paid outside the payroll system.
Check the usages of different person Types in the user guide -
Oracle Human Resources Management Systems Workforce Sourcing, Deployment, and Talent Management Guide (US)
Hope that helps.
Cheers,
Vignesh -
We already have candidates, employees and applicants in Oracle HRMS. We want to store Contigent worker as well. we have setup person types, number generation method.
What all other things we need to consider for this.Hi user593998,
What does the below query return for your CWK ?
note : replace the name of the person
select papf.person_id,papf.employee_number,papf.full_name,
ppt.person_type_id,ppt.system_person_type,ppt.user_person_type
from per_all_people_f papf,
per_person_types ppt
where papf.full_name like 'Battu%Vigneswar%'
and papf.person_type_id = ppt.person_type_id;Cheers,
Vignesh -
Hi,
My client entered duplicate contingent workers. I want to delete one of the duplicate contingent worker record. Please help me regarding this.
Thanks in Advance.Contingent workers have separate menus like
Entering Contingent Workers
Maintaining Contingent Workers.
I end dated all assignemnts but unable to delete the contingent workers through Maintaining Contingent Workers screen as red button(x) was disabled.
This can be done though US HR manager. I need to delete person record other than US HRMS manager. -
Telesales access for temps and contingent workers
Hi,
We have a requirement to provide telesales access to temps and contractors who are defined in HR as Contingent Worker employees.
I know this is not a standard functionality., but is there any other way/workaround to provide access to temps?
Any pointers on the same would be highly appreciated.
Thanks,
Dinakar.Hi Johnson
Are u using NA Payroll or Global Payroll module.
Regards
Preethi
Maybe you are looking for
-
I have tried many times today to install iTunes 10.5 in order to update to iOS5 on my Iphone 4 however it just wont work. I have a MacBook Pro and when I use the software update it says that I have already downloaded iTunes 10.5 but when I go to ins
-
CS3 bugs fixed for intel macs?????????
CS2 when it came out was not designed for the Intel processor so there was problems until adobe managed to iron out the problems. The only issue is CS2 the performance is not as great as it should be due to this. Is CS3 fully compatible with Intel ma
-
How can i change the request description?
how can i change the request description? in BI 7 Regards Kiran
-
How to uninstall Command Line Developer Tools
Hello, After upgrade to OSX Mavericks by mistake I downloaded Command Line Developer Tools. I'm not a coder, just a graphic designer and I'm not gonna need it. It's about 300 MB size and I don't want it. The worst part is that its the second time App
-
Hi there! I seem to have an issue with Premiere Pro CS6 and Yosemite: I have a Premiere project made in Premiere 6.0.5 composed entirely of R3D media. While running Mavericks 10.9.5, everything seemed to work just fine. I could play the timeline with