Which HRMS API can be used to hire a Contact?

In either 11i and/or R12.1.3, who knows which HRMS API(s) can be used to hire a contact? That is, a "person" that exists in the system but is not an ex-employee, e.g., someone's spouse, or child. This is a person that exists in PER_ALL_PEOPLE_F, with a SYSTEM_PERSON_TYPE of OTHER. We are not using iRec or any applicant functionality, so I cannot create an application for the Contact and then hire the Applicant. Instead, my requirement is to directly hire the Contact.
I am using the following APIs for other scenarios, but haven't figured out the Contact hire yet:
HR_EMPLOYEE_API.CREATE_US_EMPLOYEE - using this API for brand new hires that do not currently exist in the database
HR_EMPLOYEE_API.RE_HIRE_EX_EMPLOYEE - using this API for rehiring ex-employees that already exist as a person in the database
One more note, I am able to accomplish this task with no problems from the front-end, so I expect there must be a way to do the same from the back-end.
e.g.,
1) Navigate to Person Form
2) Find Contact
3) Change Action to "Create Employment"
4) Choose Person Type "Employee"
5) Save, which successfully hires the Contact and creates the employee record
Please help!
Thanks,
Jason Genovese

Ahhh! I just took another look Clives suggestion for using at HR_EMPLOYEE_API.HIRE_INTO_JOB. While the Oracle iRep only shows the 1 HIRE_INTO_JOB procedure, a look in the database at the package uncovers a second, overloaded, HIRE_INTO_JOB procedure that should address my requirement. I believe this will work, but I'll test this out and post back with my results. Here are excerpts from the 2 signatures. The second (new) overloaded procedure should work:
-- |------------------------------< hire_into_job >---------------------------|
-- {Start Of Comments}
* This API hires an applicant as an employee.
* This API converts a person of type Applicant to a person of type Employee
* (EMP).
* <p><b>Prerequisites</b><br>
* The applicant must exist in the relevant business group and must have an
* applicant assignment with the assignment status Accepted. If person_type_id
* is supplied, it must have a corresponding system person type of EMP and must
* be active in the same business group as the applicant being changed to
* employee.
* <p><b>Post Success</b><br>
* The applicant has been successfully hired as an employee with a default
* employee assignment.
* <p><b>Post Failure</b><br>
* The applicant is not hired as an employee and an error is raised.
-- {End Of Comments}
PROCEDURE hire_into_job
(p_validate IN BOOLEAN DEFAULT FALSE
,p_effective_date IN DATE
,p_person_id IN NUMBER
,p_object_version_number IN OUT NOCOPY NUMBER
,p_employee_number IN OUT NOCOPY VARCHAR2
,p_datetrack_update_mode IN VARCHAR2 DEFAULT NULL
,p_person_type_id IN NUMBER DEFAULT NULL
,p_national_identifier IN VARCHAR2 DEFAULT NULL
,p_per_information7 IN VARCHAR2 DEFAULT NULL --3414274
,p_effective_start_date OUT NOCOPY DATE
,p_effective_end_date OUT NOCOPY DATE
,p_assign_payroll_warning OUT NOCOPY BOOLEAN
,p_orig_hire_warning OUT NOCOPY BOOLEAN
-- |----------------------------< hire_into_job - new >------------------------|
-- {Start Of Comments}
-- Description:
-- This business process converts a person of type EX_APL, EX_EMP or OTHER to a type of EMP.
-- This is achieved by:
-- o Setting the person type to EMP
-- o Creating a period of service
-- o Creating a default employee assignment
-- o Repopulating the security lists
-- Post Success:
-- The API updates the person and application and set the following out
-- parameters:
-- Name Type Description
-- p_per_object_version_number number If p_validate is false, set to
-- the new version number of the
-- person record. If p_validate is
-- true, set to the value passed in.
-- p_employee_number number If p_validate is false, set to the
-- employee number of the person. If
-- p_validate is true, set to the
-- value passed in.
-- p_assignment_id number If p_validate is false, set to the
-- assignment_id for the person.
-- p_effective_start_date date If p_validate is false, set to
-- the effective start date of the
-- updated person record. If
-- p_validate is true, set to null.
-- p_effective_end_date date If p_validate is false, set to
-- the effective end date of the
-- updated person record. If
-- p_validate is true, set to null.
-- p_assign_payroll_warning boolean Set to true if the person's date of
-- birth has not been set. Set to
-- false if the date of birth has been
-- entered. Indicates if it will be
-- possible to set the payroll
-- component on any of this person's
-- assignments.
-- p_orig_hire_warning boolean Set to true if the original date of
-- hire is not null and the person
-- type is not EMP, EMP_APL, EX_EMP or
-- EX_EMP_APL.
-- Post Failure:
-- The API does not update the person and period of service and raises an error.
-- Access Status:
-- Public.
-- {End Of Comments}
PROCEDURE hire_into_job
(p_validate IN BOOLEAN DEFAULT FALSE
,p_effective_date IN DATE
,p_person_id IN NUMBER
,p_object_version_number IN OUT NOCOPY NUMBER
,p_employee_number IN OUT NOCOPY VARCHAR2
,p_datetrack_update_mode IN VARCHAR2 DEFAULT NULL
,p_person_type_id IN NUMBER DEFAULT NULL
,p_national_identifier IN VARCHAR2 DEFAULT NULL
,p_per_information7 IN VARCHAR2 DEFAULT NULL --3414274
,p_assignment_id OUT NOCOPY NUMBER -- Bug#3919096
,p_effective_start_date OUT NOCOPY DATE
,p_effective_end_date OUT NOCOPY DATE
,p_assign_payroll_warning OUT NOCOPY BOOLEAN
,p_orig_hire_warning OUT NOCOPY BOOLEAN
);

Similar Messages

  • Which sftp api can be used from sun??

    Hi all,
    I want to develop a java program that is capable of transfering files from local filesystem to a remote location using SFTP...I want to know sun's SFTP API that can be used for this purpose...I have already googled it many times and found com.stc.connector.ssh.ftp.client ....But I dont want to use eGate for this purpose....PLEASEEE, HELP ME OUT!! :( :(
    Thank you very much in advance....

    Hi all,
    I want to develop a java program that is capable of transfering files from local filesystem to a remote location using SFTP...I want to know sun's SFTP API that can be used for this purpose...I have already googled it many times and found com.stc.connector.ssh.ftp.client ....But I dont want to use eGate for this purpose....PLEASEEE, HELP ME OUT!! :( :(
    Thank you very much in advance....

  • Is it possible to use HP Laserjet P1005 with OS X Mavericks? If not which HP printers can I use?

    Is it possible to use HP Laserjet P1005 with OS X Mavericks? If not which HP printers can I use now?

    https://discussions.apple.com/message/23481997#23481997
    You can also check the HP web site for drivers.
    HP Support
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4159&lc=en&cc=us&dlc=en&s w_lang=&product=3435676

  • Please advice which T-code can I use

    hi experts,
    I need a report to display the entire PO created by Company code xxxx from July to Sept 08.
    Please advice which T-code can I use.
    thanks in advance,
    mohammad

    Use ME2N Report on Purchase Orders and Input Document Date From Date and To Date Field and Select the scope of List as ALLES_ALV / as per your Requirement and Execute.
    Else Go to SE11 and Input Table EKKO and then Click on Display / F7 then Execute / CtrlShiftF10 and Input Document Date and Execute.

  • TS1424 I can not login in to my inbox for Apple ID email so i am unable to verify my account, which means i can't use icloud or use the app store.

    I cannot login into my inbox for Apple ID email so i am unable to verify my account, which means i can't use icloud or use the app store.

    For all Users...I just fixed mine and am now able to log on.
    Yesterday there was a Quick Time update to 7.3.1 that fixed a security issue that was allowing access to your computers. I thought that my auto update would install this and it didn't. I had to manually download from apple and install the update.
    http://www.apple.com/quicktime/download/
    I used the "with iTunes" version and now I can log into my account with out the "null" error appearing.
    This was pointed out to my by QuickDraw so he gets all of the credit.

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • Which duplicate cleaner can i use on macbook pro

    which duplicate cleaner can i use on macbook pro?

    Skytag's File Buddy.   I would just use it to sort by file name.  Don't use the duplicate cleanup as it may get too much!  Note it may also show applications as packages, and their contents as individual files within a .app folder.  Do not confuse the various .app folder contents for files that are duplicate, since they are default files for the various Mac OS X applications.   Make sure the duplicates have the same file name and byte size, before choosing to delete one file.

  • I use an iPhone 3G but am failing to access WhatsApp as it keeps saying my ios is too old. Which ios download can I use?

    I use an iPhone 3G but am failing to access WhatsApp as it keeps saying my ios is too old. Which ios download can I use?

    The only option you have is to buy a newer phone. The iPhone 3G can not run anything higher than 4.2.1. It was discontinued years ago.

  • Which ssl type can i use to implement push notifications in safari

    Which ssl type can i use to implement push notifications in safari, i think there are different criteria which one can i use, what are the criteria to buy ssl keys
    are the ssl key used in a web site or in a web service or both

    Anyone?

  • Which text app can I use with the iOS4.21 ipod touch?

    Which text app can I use with the iOS4.21 ipod touch? 

    Just Google for BT keyboards. Make sure they say they work with iOS devices. You need a 3G or later iPod.
    Whynot just the standard samll APple one:
    http://store.apple.com/us/product/MC184LL/B?fnode=MTY1NDA1Mg

  • Hello, is there a way that the Test Stand APIs can be used for ASP / Web?

    Hello,
    I do hope someone can be an idea.
    Is it possible that the TestStand API's can be used for ASP/Web?
    Currently, we are using Teststand running on exectuble application, but if the TestStand API's can be used on web (Just the operator interface), then it will be easier for engineers/operators to see the results locally and remotely by a web browser.
    Any ideas?
    Thanks for the help.
    Mhelinx

    Mhelinx,
    i don't think that the TestStand API can be used in ASP very nicely.
    TestStand is an ActiveX Server and it seems to be possible to use ActiveX in ASP, but i have read that doing will require reboots of the server from time to time (never done that myself, so relying on 3rd party information).
    But there is another, maybe better approach:
    Using LabVIEW as your user interface, you can use the Webserver capability of LabVIEW to include the functionality of your UI into your ASP webpages. You can create different "looks" for your application in the webpage while the LV UI stays always the same......
    I have never done this as well, and it might be a bit tricky to access data from the visible controls though.
    hope this helps,
    Norbert
    PS: If you are using C# for the UI, i think that this is possible as well....
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Which  acrobat API can Judge the page is horizontal or vertical.

    Which  acrobat API can Judge the page is horizontal or vertical.

    PDPage page;
    PDDoc pddoc = AVDocGetPDDoc( AVAppGetActiveDoc() );
    page = PDDocAcquirePage( pddoc,0);
    ASInt32 pageNum =  PDPageGetRotate(page);
    i don't know how to get( PDDocAcquirePage( pddoc,0))The second parameter.so 
    I wrote a fixed 0

  • Can I use icloud to synchronize contacts and calender for 1 ipad and 3 Windows 7/8 PC?

    Can I use icloud to synchronize contacts and calender for 1 ipad and 3 Windows 7/8 PC?
    regards,
    Jan

    Thanks! One more question ..... Will I have to enter appointments on an iCloud default calendar by logging in to my iCloud account every time, or can I just enter data on calendars in my 2 devices?

  • Which API can be used to write to an XML file(web.xml) programmatically

    Hi,
    I wish to write to the web.xml file programmatically.Could anyone point me to the
    API that is to be used.
    I am aware of the API to be used for extracting the node and the tag values - com.bea.p13n.xml.util.DomHelper
    but this class has only getters and I wish to know which API should be used to set
    the xml nodes.
    It is important and am looking forward to pointers.
    Thanks in advance!
    Regards,
    Shikha

    S. Bajaj
    org.w3c.dom Api
    Deepak
    shikha wrote:
    Hi,
    I wish to write to the web.xml file programmatically.Could anyone point me to the
    API that is to be used.
    I am aware of the API to be used for extracting the node and the tag values - com.bea.p13n.xml.util.DomHelper
    but this class has only getters and I wish to know which API should be used to set
    the xml nodes.
    I am unable to find answer to this.
    Looking forward to pointers and help.
    Thanks in advance!
    Regards,
    Shikha

  • Which data sources Can i use for Vendor line items

    Dear Experts,
    I want to load the Vendor Line Items Data.In Rsa5 I found
    0fi_ap_3: Vendors: Line Items
    0fi_ap_4: Vendors: Line Items with Delta Extrcation
    0fi_ap_30: Vendor Line Items
    What is the differences of the 3 Datasources.
    Which Datasource  can i use.In my R/3 side they used EHP3.
    Could you please guide me what is the use of EHP3. What Cude and Dso can I use.
    Thanks in Advance.
    Regards,
    Srinivasan.

    Dear Kulakarni,
    I found few of my fields in 0FI_AP_4.I did n't find few fields can i enhance the Datasourse.
    What is the respective Cube for that  Datasourse.
    I check  0AP_30,but in Business Content that cube is not available.
    Could you please give me guidance.
    Thanks in Advance,
    Srinivasan.

Maybe you are looking for

  • Adobe creative cloud say i'm not connected to the internet, but I am

    adobe creative cloud says i'm not connected to the internet, but I am

  • HP Compaq nx6310 Doesn't Recognise Western Digital Hard Drive

    Could someone please help me? I have an HP Compaq nx6310 laptop with a corrupted 40Gb HDD.  I decided it was best just to replace it. I have purchased a Western Digital WD3200BEVT 320Gb HDD.  I have the OEM OS disk which I also had to purchase from H

  • NMH300 Issues : Indexing, recent files, web interface ...

    Hi, I am presently having A LOT of problems with my NMH. I tried to reboot, different drives, different settings with drives (raid, linear ...), different firewalls, different IP settings, different route settings, cat5 and cat6 ethernet cables ... A

  • Keynote not pasting in place

    Hi, I have new Mavericks Keynote. Suddenly, I cannot paste objects and have them align on other slides - paste in place. If I copy a large photo that hangs off the edge of the page, it will paste fully centered on another slide. What's up?

  • Workflow Issue -- Urgent

    Hi, We have a workflow to be triggered for Record Add and Record Update operations. It has steps: Start, Assignment 1, Assignment 2, Syndicate and Stop. But when any record is added or Updated, its not Syndicating to Port (Outbound Port is defined in