161: ,P_EMP_CITY_TAX_RULE_USER_KEY in varchar2) is
162: blid number := p_data_pump_batch_line_id;
163: begin
164: if blid is not null then
165: delete from hr_pump_batch_lines where batch_line_id = blid;
166: delete from hr_pump_batch_exceptions
167: where source_type = 'BATCH_LINE' and source_id = blid;
168: end if;
169: insert into hr_pump_batch_lines
165: delete from hr_pump_batch_lines where batch_line_id = blid;
166: delete from hr_pump_batch_exceptions
167: where source_type = 'BATCH_LINE' and source_id = blid;
168: end if;
169: insert into hr_pump_batch_lines
170: (batch_id
171: ,batch_line_id
172: ,business_group_name
173: ,api_module_id
250: ,pval076
251: ,pval077)
252: values
253: (p_batch_id
254: ,nvl(blid,hr_pump_batch_lines_s.nextval)
255: ,p_data_pump_business_grp_name
256: ,1701
257: ,'U'
258: ,p_user_sequence
491: l.pval075 d75,
492: decode(l.pval076,cn,vn,vn,vh,l.pval076) p76,
493: l.pval076 d76,
494: decode(l.pval077,cn,vn,l.pval077) p77
495: from hr_pump_batch_lines l
496: where l.batch_line_id = p_batch_line_id;
497: --
498: c cr%rowtype;
499: l_validate boolean := false;
505: open cr;
506: fetch cr into c;
507: if cr%notfound then
508: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
509: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
510: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
511: hr_utility.set_message_token('VALUE',p_batch_line_id);
512: hr_utility.raise_error;
513: end if;
613: ,P_CTY_INFORMATION30 => c.p76);
614: hr_data_pump.api_trc_off;
615:
616: --
617: update hr_pump_batch_lines l set
618: l.pval001 = decode(c.p1,null,cn,dc(c.p1)),
619: l.pval002 = decode(c.p2,null,cn,dc(c.p2))
620: where l.rowid = c.myrowid;
621: --