318: hr_data_pump.entry('call');
319: open cr;
320: fetch cr into c;
321: if cr%notfound then
322: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
323: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
324: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
325: hr_utility.set_message_token('VALUE',p_batch_line_id);
326: hr_utility.raise_error;
319: open cr;
320: fetch cr into c;
321: if cr%notfound then
322: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
323: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
324: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
325: hr_utility.set_message_token('VALUE',p_batch_line_id);
326: hr_utility.raise_error;
327: end if;
320: fetch cr into c;
321: if cr%notfound then
322: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
323: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
324: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
325: hr_utility.set_message_token('VALUE',p_batch_line_id);
326: hr_utility.raise_error;
327: end if;
328: --
321: if cr%notfound then
322: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
323: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
324: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
325: hr_utility.set_message_token('VALUE',p_batch_line_id);
326: hr_utility.raise_error;
327: end if;
328: --
329: if c.p39 is null then
322: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
323: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
324: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
325: hr_utility.set_message_token('VALUE',p_batch_line_id);
326: hr_utility.raise_error;
327: end if;
328: --
329: if c.p39 is null then
330: L_ASSIGNMENT_ID:=nn;