Rehiring Contingent Workers Programatically

All,
We are developing an HR Data Interface to transfer information from a source system to Oracle HR. As part of this interface, we need to be able to terminate and rehire contingent workers.
We know how to rehire contingent workers from the front end via the Oracle forms. However, we have been unable to find a way to rehire contingent workers from the back end. Does anyone know a way to programatically rehire contingent workers? Is there an API available?
We are developing using Oracle r12.1.1
Thanks!
Mariko

Hi Mariko,
I think there is no public API for this.
For a project a few years ago we have used; hr_contingent_worker_api.reverse_terminate_placement procedure but i think that's not the thing you wanted to do.
There is an internal procedure called per_pdp_ins that inserts the data into per_periods_of_placement table but it is risky business, you may check the people&assignment form in order to catch the dml commands which are executed when you try to create placement.
Guclu

Similar Messages

  • 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
    Thomas

    Hi,
    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

  • Contingent Workers in PeopleSoft

    Does anyone have experience in setting up contingent workers ? We have foreign employees who do not get paid or get benefits through our PeopleSoft system - yet we want to be able to put them into the system and track a few things along with the rest of our population - like Annual Salary, Bonus level, and a few other things.
    This means we want to be able to use the JOB table, but we DON'T want to enter in any Person ID, Tax Information, (local, state OR Federal) .
    We keep running into peoplecode that requires us to enter more than we would like.
    We've created a new Company, Location, Depts, etc - but there must be something we're not "turning off" that requires many fields we don't care about.
    Thanks in advance for any ideas. We've used all the resources we can find in PeopleBooks and online.
    Sirkka Johnson
    Lydall Inc.
    [email protected]

    Hi Johnson
    Are u using NA Payroll or Global Payroll module.
    Regards
    Preethi

  • Deleting Contingent Workers

    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.

  • Cannot view contingent workers and group subs in assets assignment

    Hi
    I need to assign assets to employees as well as contingent workers.
    The assignment screen in the LOV displays employees only.
    Is there a way to assign assets to Contingent workers or group subs
    Thanks
    Ninad

    Hi,
    If you are able to see regular employees in the LOV and not able to see only contingent ( contract )type employees , I believe this should be a setup related issue with HRMS.
    Please check on the same.
    If any one can throw lights on this, would help me too..
    Thanks
    Message was edited by:
    user601769
    Message was edited by:
    user601769

  • Help needed with Contingent Workers!!

    Dear Experts,
    I'm having problems using a public API that creates Contingent Workers. The name of the API is HR_CONTINGENT_WORKER_API.create_cwk and I have only put in the required parameters. I get an error when I run my code:
    “You cannot create a Contingent Worker. You need to set up your business group information to determine how to generate the Contingent Worker number.”
    My code is:
    DECLARE
    v_join_date DATE;
    v_business_group_id NUMBER;
    v_last_name VARCHAR2(240);
    v_person_type_id NUMBER;
    v_person_id NUMBER;
    v_per_object_version_number NUMBER;
    v_per_effective_start_date DATE;
    v_per_effective_end_date DATE;
    v_pdp_object_version_number NUMBER;
    v_full_name VARCHAR2(240);
    v_comment_id NUMBER;
    v_assignment_id NUMBER;
    v_asg_object_version_number NUMBER;
    v_assignment_sequence NUMBER;
    v_assignment_number VARCHAR2(240);
    v_name_combination_warning boolean;
    v_npw_number VARCHAR2(240);
    BEGIN
    v_business_group_id := 41;
    v_last_name := 'JONES';
    HR_CONTINGENT_WORKER_API.create_cwk(
    p_validate           => FALSE
    ,p_start_date           => sysdate
    ,p_business_group_id      => v_business_group_id
    ,p_last_name           => v_last_name
    ,p_person_type_id           => v_person_type_id
    ,p_npw_number           => v_npw_number
    ,p_person_id           => v_person_id
    ,p_per_object_version_number      => v_per_object_version_number
    ,p_per_effective_start_date      => v_per_effective_start_date
    ,p_per_effective_end_date      => v_per_effective_end_date
    ,p_pdp_object_version_number      => v_pdp_object_version_number
    ,p_full_name           => v_full_name
    ,p_comment_id           => v_comment_id
    ,p_assignment_id           => v_assignment_id
    ,p_asg_object_version_number      => v_asg_object_version_number
    ,p_assignment_sequence      => v_assignment_sequence
    ,p_assignment_number      => v_assignment_number
    ,p_name_combination_warning      => v_name_combination_warning);
    END;
    A clue may be in the Pre-requesits for the API details that states:
    “The business group must exist on the effective date. A valid business_group_id, a valid person_type_id (if specified), and a corresponding system type of CWK are required. The CWK type must be active in the same business group as the contingent worker you are creating. If you do not specify a person_type_id, the API uses the default CWK type for the business group.”
    The Contigent Worker number allocation is set to automatic. Providing a number for p_npw_number does not seem to make a difference. The table PER_PERSON_TYPES has an entry for user_person_type 'Contingent Worker' with the business_group_id 41 and the system_person_type = 'CWK'. There is almost no info that I can find on this API and would gratefully welcome any assistance,
    Many thanks,
    Mark

    Hi Ram,
    I've found the following way of reverting the contingent worker number generation back to automatic and it relates to information I found in metalink: 290750.1 'How do you Number Contingent Workers within the Employee Numbering Sequence'
    1) Run the concurrent program 'Change Person Numbering to Automatic' (which is set to 'Human Resources' application) and there are 2 parameters. One is Buiness Group and it appears this is not avalible to the user, but is a parameter that is used to identify what Business Group that the concurrent program is run in. The other is 'Person Type'. This can be employee, applicant or contingent worker. Enter 'Contingent Worker'.
    2) Once this concurrrent program has run, then the value 'p_npw_number' need not be passed into the API as it is automatically generated within the application but the value can be obtained as it is an IN/OUT parameter, after the API has run successfully.
    Many thanks,
    Mark

  • EBusiness HRMS Trusted Reconciliation: Contingent Workers Recon in OIM

    Hi
    I am not able to perform recon for contingent workers from HRMS. I am able to perform recon for full time users.
    But the user exists in HMRS. I am able to query the user record in this table PER_ALL_PEOPLE_F.
    i have modified the text in all the queries(ebsERQuery.properties) from 'Contingent Employee' to 'Contingent Worker' in this line WHERE  PPT.USER_PERSON_TYPE IN('Employee','Contractor','Contingent Worker')
    Then in the lookup Lookup.EBS.HRMS.PersonTypes, i have changed Contingent Employee to Contingent Worker.
    But still OIM says no record found.
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getResultList : ResultSetMetaData: oracle.jdbc.driver.OracleResultSetMetaData@3149fc4e
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getResultList : Row Count=0
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getResultList : Column List is empty
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getResultList:: FINISHED
    ERROR QuartzWorkerThread-2 OIMCP.EBSER - ====================================================
    ERROR QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getPagedRecords : No record found.
    ERROR QuartzWorkerThread-2 OIMCP.EBSER - ====================================================
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getPagedRecords:: FINISHED
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.common.dao.DBUtil : getFirstPage:: FINISHED
    INFO QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : execute : No records fetched
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : execute : Update Reconciliation Last Execution Time
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : updateReconLastExecutionTime:: STARTED
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : updateReconLastExecutionTime:: FINISHED
    DEBUG QuartzWorkerThread-2 OIMCP.EBSER - oracle.iam.connectors.ebs.hrms.tasks.EmployeeReconciliationTask : closeDBConnection:: STARTED
    Pls help

    Thanks Suren,
    I captured entire query and executed it in HRMS DB. I found that it is not selecting user records for contingent workers. It is displaying only Full Time Employee Records.
    Also when a contingent worker is created in HRMS, it is storing the employee number into seperate column like NPW_NUMBER in PER_ALL_PEOPLE_F table but not in EMPLOYEE_NUMBER coulmn as for Full Time Employees. And the query reconcileAllPersons does not have this NPW_NUMBER coulmn.
    Do I need to execute seperate query to reconcile Contingent Workers in OIM?
    Pls help.

  • Unable to query Contingent Workers from Shared HRMS

    Hi
    Client is implement Shared HRMS. Employees and Contingent workers are imported from legacy system. API successfully creates both employee and contingent workers. However the issue is that we are unable to query the contingent workers from the applications.
    We are trying two ways to query
    1. From Enter and Mainatian Employee window.
    Fmb : PERWSEMP
    Function : F4 Enter Employee
    Result: No records.
    2. From HR Foundation Responsbility.
    This responsibility has Function named 'Enter and Maintain Contingent Workers', but when try to open this screen it throws exception msg as below
    FMB : PERWSQHM
    Error msg :
    FRM-40735 : ON-ERROR trigger raised unhandled exception ORA-06508.
    Any help here will be appreciated.
    Thanks in advance ,
    BK Jain

    Hi,
    sorry I can't help you, but have a simular situation.
    In my case the page has a lot of Column Attributes. (the query in itself is short)
    So it may have something to do with too much info on one page?
    Did you find a solution??
    Thanks
    Roeland

  • Oracle EIT API DELETION CONTINGENT WORKERS

    Hi Gurus,
    I have a requirement as under:
    We are supporting Oracle HRMS module basically Core-HR and OAB in US legislation.
    There is an EIT configured in the system for which the value is populated for both Employees and Contingent Workers. Now there is a requirement to delete the values in that particular EIT.Can you let me know the API name with rthe procedure which can help delete EIT values for Contingent workers??
    Reply awaited
    Thanks!
    regards
    Sabya

    It will look something like this:
    DECLARE
      CURSOR csr_cwk_eit IS
      SELECT eit.person_extra_info_id
            ,eit.object_version_number
      FROM   per_people_extra_info eit
      WHERE  eit.person_id IN
        (SELECT papf.person_id
         FROM   per_all_people_f papf
         WHERE  papf.npw_number IS NOT NULL
         AND    papf.employee_number IS NULL
         AND    trunc(sysdate) BETWEEN
                papf.effective_start_date AND papf.effective_end_date);
    BEGIN
      FOR csr_rec IN csr_cwk_eit LOOP
        hr_person_extra_info_api.delete_person_extra_info
          (p_validate              => TRUE
          ,p_person_extra_info_id  => csr_rec.person_extra_info_id
          ,p_object_version_number => csr_rec.object_version_number);
      END LOOP;
    END;
    /This deletes all EITs for anyone who is or has ever been a contingent worker. It specifically ignores anyone who has also been an employee - you'll of course need to decide what to do there.

  • Termination of Contingent Workers

    When i queried in the functions in Core Applications I found there is a End Placement function with description End Placement for contingent Worker.
    But i did not find any End Placement Manager function.
    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 ?
    Please help.
    Thanks in advance.
    -Debojyoty

    Please refer the Note:286136.1 - APP-PAY-07216 Error Received When Trying To Terminate Contingent Worker.

  • Not getting the LOV for Contingent workers in Assignment Category ..

    Hi Gurs,
    We are implementing Core HRMS for the One of the leading Financial Client in UK,If you select the person type as employee you could list assignment category (LOV). The same time if you select person type as Contingent Workers then the assignment category is empty.More over i have tried to create the Assignment Category by using look up. I am getting for the employees but i didn't get anything for the Contingent worker. SO can any one plse let me know were is the option for that ...
    with regards
    Surya

    Valid values are defined in the CWK_ASG_CATEGORY lookup type.

  • 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

  • Personalization in End Placement of contingent workers

    Hi,
    I am unable to get the PERSON_ID reference in the End Placement screen. The PER_PERIOD_PLACEMENT block doesn't have PERSON_ID in the field. What can be done if Personalization has to be written based on the Person_ID in this screen?
    Thanks
    qars

    Please provide more details on what you are trying to achieve with PERSON_ID on end placement form. Are you trying to do form personalization? If so, what is the requirement?
    -Jay

  • 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

  • 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,
    Preeti

    Now 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?!!

Maybe you are looking for

  • How can I use time machine to back up and play media?

    I just bought an external hard drive that I wanted to back up some media files onto (music and photos).  I also want to stove videos/movies on the hard drive and play them from there.  A few questions: 1. Is that the same as backing up with time mach

  • How to find out the maximum length of the characters specified within CLOB

    I have given a table which has a column with datatype CLOB . I want to find out the maximum legth of the string within this variable and also want to print that variable. Thanks for your help.

  • Status Update of Service Order From Billing Document

    Dear Experts, I am told to change the User status of Service Order once the Billing Document is Generated. Here we are in CRM 2007 and i have done the status update of previous document but here Billing document is not possible to read through CRM_OR

  • Using an old imac as a "dumb" terminal

    How do I turn on an old computer so it is a "dumb" terminal?  It is connected to the new one with firewire, but I have forgotten what keys to hold down on the startup of the old one.

  • Accessing schema-based XML table

    HI Gentlemen, I have a schema-based XMLtype table that I have to query in detail (e.g. via XPath). Documentation states that XML mapping is possible through some Java programming. However, I do not have XML content in a .xml file, it has already been