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.

Similar Messages

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

  • 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

  • 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

  • Location of the  oracle.ovs.api - jar

    Hi All,
    I am new to the oracle vm manager web service api. Which jar file contains the oracle.ovs.api.* classes and also tell me the location of the jar file.
    Anybody knows please reply me.
    Thanks & Regards,
    Karthiika
    Edited by: 972135 on 26 Nov, 2012 1:50 AM

    BACKGROUND_DUMP_DEST
    Parameter type
    String
    Syntax
    BACKGROUND_DUMP_DEST = {pathname | directory}
    Default value
    Operating system-dependent
    Parameter class
    Dynamic: ALTER SYSTEM
    Range of values
    Any valid local path, directory, or disk
    BACKGROUND_DUMP_DEST specifies the pathname (directory or disc) where debugging trace files for the background processes (LGWR, DBWn, and so on) are written during Oracle operations.
    An alert file in the directory specified by BACKGROUND_DUMP_DEST logs significant database events and messages. Anything that affects the database instance or global database is recorded here. The alert file is a normal text file. Its filename is operating system-dependent. For platforms that support multiple instances, it takes the form alert_sid.log, where sid is the system identifier. This file grows slowly, but without limit, so you might want to delete it periodically. You can delete the file even when the database is running.
    See Also:
    Oracle9i Database Administrator's Guide for more information on setting this parameter and on alert files
    Your operating system-specific Oracle documentation for the default value of this parameter
    "USER_DUMP_DEST" for information on setting a destination for server process trace files
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch114.htm#REFRN10008
    Joel P�rez

  • How to find out when data was deleted from table in oracle and Who deleted that

    HI Experts,
    Help me for below query:
    how to find out when data was deleted from table in oracle and Who deleted that ?
    I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
    TABLE_OWNER                    TABLE_NAME                        INSERTS    UPDATES    DELETES     TIMESTAMP         DROP_SEGMENTS TRU
    PRODCTL                        F9001                                                     1683         46       2171            11-12-13 18:23:39             0                   NO
    Audit is enable in my enviroment?
    customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /oracle/admin/pbowe/adump
    audit_sys_operations                 boolean     TRUE
    audit_syslog_level                   string
    audit_trail                          string      DB, EXTENDED
    please help
    Thanks
    Sam

    LOGMiner --> Using LogMiner to Analyze Redo Log Files
    AUDIT --> Configuring and Administering Auditing

  • 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

  • Oracle Worklist API -- OWSM

    Hi,
    I am invoking SOA suite 11G (11.1.1.5) human task application (sits in one wls server domain) from a web application (sits in another wls domain) using oracle worklist api and showing the task details in my web app. I would like to do the user credentials validation at SOA application side by adding owsm username token policy to my composite application.
    So there are 2 questions:
    1.How do I pass (or construct) the username token details in worklist client class which resided in my web application?
    2. Will OWSM can check these user credentials against our own database table or always against the weblogic identity store?
    Please provide some inputs.
    Thanks,
    Cdhar

    Hi,
    i'm also trying to access the worklist from a java program, authentication using jazn xml works fine.
    IWorkflowServiceClient wfSvcClient =               WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    IWorkflowContext ctx = querySvc.authenticate("jcooper",     "welcome1",
                             null, null);
    List queryColumns = new ArrayList();
                   queryColumns.add("TASKID");
                   queryColumns.add("TASKNUMBER");
                   queryColumns.add("TITLE");
                   List tasks = querySvc.queryTasks(ctx,queryColumns,
                             null, ITaskQueryService.ASSIGNMENT_FILTER_MY,
                             null, null, null, 0, 0);
    However querySvc.queryTasks always returns empty.
    I've tried to check the worklistapp, and the tasks are there.
    could somebody tell me what are the mistakes?
    Thanks in advance,
    santoso

  • 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

  • Oracle.forms api

    I need the oracle.forms api for javabeans development, but i am unable to find it.
    I have the JDAPI api, thats not what i want.
    ( I have searched oracle.forms api & documentation on google but i am unable to find them.
    the link : http://www.oracle.com/technology/documentation/oracle9i_arch_901.html
    contains a lot of documentation files, but i am not sure these are the ones that i need.
    some of the files there are over 200 mb. before dowloading such heavy files, i want to be sure that they are the ones i need!!!)
    I want to use the following packages / classes :-
    oracle.forms.handler.IHandler
    oracle.forms.ui.*
    oracle.forms.properties.ID
    I want to find out more about the above mentioned packages, and i thought that javadocs / api would be the most comprehensive help that i can get.
    I have downloaded a few javabeans that were close to my requirement, and was going through the java source codes, thats where i encountered these classes / packages.
    I amd using forms 9i. and Jdeveloper 9i

    You should ask the experts in the forms forum (Forms
    Timo

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

  • Oracle 11i API's

    Hello all,
    Can anybody say whether Oracle 11i suite of applciation come up with new API's instead of conventional interface tables to import legacy data.
    If yes, appreciate if somebidy can point me
    to right place for documentation.
    I looked at 11i documentation, it doesn't seem to be any new API's other than standrard interface tables.
    Syam.

    Look in the Oracle Manufacturing APIs and Open Interfaces Manual. Both the table-based APIs and the new process APIs are documented there.

Maybe you are looking for