261: hr_data_pump.entry('call');
262: open cr;
263: fetch cr into c;
264: if cr%notfound then
265: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
266: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
267: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
268: hr_utility.set_message_token('VALUE',p_batch_line_id);
269: hr_utility.raise_error;
262: open cr;
263: fetch cr into c;
264: if cr%notfound then
265: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
266: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
267: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
268: hr_utility.set_message_token('VALUE',p_batch_line_id);
269: hr_utility.raise_error;
270: end if;
263: fetch cr into c;
264: if cr%notfound then
265: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
266: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
267: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
268: hr_utility.set_message_token('VALUE',p_batch_line_id);
269: hr_utility.raise_error;
270: end if;
271: --
264: if cr%notfound then
265: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
266: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
267: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
268: hr_utility.set_message_token('VALUE',p_batch_line_id);
269: hr_utility.raise_error;
270: end if;
271: --
272: L_RATING_SCALE_ID :=
265: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
266: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
267: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
268: hr_utility.set_message_token('VALUE',p_batch_line_id);
269: hr_utility.raise_error;
270: end if;
271: --
272: L_RATING_SCALE_ID :=
273: PER_COMPETENCE_DATA_PUMP.get_rating_scale_id