fnd_global.APPS_INITIALIZE(0,50637,800); -----HMC HRMS MANAGER ----------
dbms_output.put_line('Intialise Success');
REQ_ID := FND_REQUEST.SUBMIT_REQUEST ( application =>'PER',--'Human Resources',
program =>'XX_HR_SIT_CREATEELEENTRY',--'HR Element Creattion From SIT', --'XX_HR_SIT_CREATEELEENTRY',
description => NULL,
start_time => sysdate,
sub_request => FALSE,
argument1 => 'Leave Advance',
argument2 => l_last_pay_run_date,
argument3 => l_business__id,
argument4 => V_Assignment_ID,
argument5 => v_element_link_id,
argument6 => v_input_value_id,
argument7 => V_Total,
argument8 => p_absence_attendance_id,
argument9 => v_input_value_id2,
argument10 => '',
argument11 => v_input_value_id3,
argument12 => ''
);
commit;
IF (REQ_ID = 0) THEN
l_err_message :='Error in Calling Concurrent Program';
dbms_output.put_line('Error In Creating Element Entry for Date='||l_last_pay_run_date||' and '||l_err_message||' ='||REQ_ID);
else
dbms_output.put_line('Creating Element with Concurrent Program id='||REQ_ID);
END IF;
No comments:
Post a Comment