307: hr_data_pump.entry('call');
308: open cr;
309: fetch cr into c;
310: if cr%notfound then
311: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
312: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
313: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
314: hr_utility.set_message_token('VALUE',p_batch_line_id);
315: hr_utility.raise_error;
308: open cr;
309: fetch cr into c;
310: if cr%notfound then
311: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
312: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
313: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
314: hr_utility.set_message_token('VALUE',p_batch_line_id);
315: hr_utility.raise_error;
316: end if;
309: fetch cr into c;
310: if cr%notfound then
311: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
312: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
313: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
314: hr_utility.set_message_token('VALUE',p_batch_line_id);
315: hr_utility.raise_error;
316: end if;
317: --
310: if cr%notfound then
311: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
312: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
313: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
314: hr_utility.set_message_token('VALUE',p_batch_line_id);
315: hr_utility.raise_error;
316: end if;
317: --
318: if c.p38 is null then
311: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
312: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
313: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
314: hr_utility.set_message_token('VALUE',p_batch_line_id);
315: hr_utility.raise_error;
316: end if;
317: --
318: if c.p38 is null then
319: L_ASSIGNMENT_ID:=nn;