61: p_user_key_value in varchar2,
62: p_unique_key_id in number)
63: is
64: begin
65: hr_data_pump.entry('ins_user_key');
66: insert into hr_pump_batch_line_user_keys
67: (user_key_id, batch_line_id,user_key_value,unique_key_id)
68: values
69: (hr_pump_batch_line_user_keys_s.nextval,
69: (hr_pump_batch_line_user_keys_s.nextval,
70: p_batch_line_id,
71: p_user_key_value,
72: p_unique_key_id);
73: hr_data_pump.exit('ins_user_key');
74: end iuk;
75: --
76: procedure insert_batch_lines
77: (p_batch_id in number
128: l_validate boolean := false;
129: L_GRADE_ID number;
130: --
131: begin
132: hr_data_pump.entry('call');
133: open cr;
134: fetch cr into c;
135: if cr%notfound then
136: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
150: ,P_BUSINESS_GROUP_ID => P_BUSINESS_GROUP_ID
151: ,P_EFFECTIVE_DATE => c.p3);
152: end if;
153: --
154: hr_data_pump.api_trc_on;
155: HR_GRADE_API.DELETE_GRADE
156: (p_validate => l_validate
157: ,P_GRADE_ID => L_GRADE_ID
158: ,P_OBJECT_VERSION_NUMBER => c.p1);
155: HR_GRADE_API.DELETE_GRADE
156: (p_validate => l_validate
157: ,P_GRADE_ID => L_GRADE_ID
158: ,P_OBJECT_VERSION_NUMBER => c.p1);
159: hr_data_pump.api_trc_off;
160:
161: --
162: update hr_pump_batch_lines l set
163: l.pval001 = decode(c.p1,null,cn,c.p1)
164: where l.rowid = c.myrowid;
165: --
166: close cr;
167: --
168: hr_data_pump.exit('call');
169: exception
170: when hr_multi_message.error_message_exist then
171: if cr%isopen then
172: close cr;