381: hr_data_pump.entry('call');
382: open cr;
383: fetch cr into c;
384: if cr%notfound then
385: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
386: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
387: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
388: hr_utility.set_message_token('VALUE',p_batch_line_id);
389: hr_utility.raise_error;
382: open cr;
383: fetch cr into c;
384: if cr%notfound then
385: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
386: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
387: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
388: hr_utility.set_message_token('VALUE',p_batch_line_id);
389: hr_utility.raise_error;
390: end if;
383: fetch cr into c;
384: if cr%notfound then
385: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
386: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
387: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
388: hr_utility.set_message_token('VALUE',p_batch_line_id);
389: hr_utility.raise_error;
390: end if;
391: --
384: if cr%notfound then
385: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
386: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
387: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
388: hr_utility.set_message_token('VALUE',p_batch_line_id);
389: hr_utility.raise_error;
390: end if;
391: --
392: if c.p51 is null then
385: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
386: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
387: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
388: hr_utility.set_message_token('VALUE',p_batch_line_id);
389: hr_utility.raise_error;
390: end if;
391: --
392: if c.p51 is null then
393: L_ROLE_ID:=nn;