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