258: hr_data_pump.entry('call');
259: open cr;
260: fetch cr into c;
261: if cr%notfound then
262: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
263: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
264: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
265: hr_utility.set_message_token('VALUE',p_batch_line_id);
266: hr_utility.raise_error;
259: open cr;
260: fetch cr into c;
261: if cr%notfound then
262: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
263: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
264: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
265: hr_utility.set_message_token('VALUE',p_batch_line_id);
266: hr_utility.raise_error;
267: end if;
260: fetch cr into c;
261: if cr%notfound then
262: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
263: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
264: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
265: hr_utility.set_message_token('VALUE',p_batch_line_id);
266: hr_utility.raise_error;
267: end if;
268: --
261: if cr%notfound then
262: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
263: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
264: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
265: hr_utility.set_message_token('VALUE',p_batch_line_id);
266: hr_utility.raise_error;
267: end if;
268: --
269: if c.p2 is null then
262: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
263: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
264: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
265: hr_utility.set_message_token('VALUE',p_batch_line_id);
266: hr_utility.raise_error;
267: end if;
268: --
269: if c.p2 is null then
270: L_ORGANIZATION_STRUCTURE_ID:=nn;