HR: Create employee using API
I am using HR_EMPLOYEE_API.CREATE_EMPLOYEE to load the employee information.
While doing that , I would like update the ATTRIBUTE1 field in PER_ALL_PEOPLE_F table with a number we are recieving from our HRIS.
Below is the sample code I am using to achieve this . I am under the assumption that the IN parameter p_attribute1 will update the attribute1 column in per_all-people_f.
So I am passing value 22784 to it.
declare
g_person_id number;
g_assignment_id number;
g_per_object_version_number number;
g_asg_object_version_number number;
g_per_effective_start_date date;