610: hr_data_pump.entry('call');
611: open cr;
612: fetch cr into c;
613: if cr%notfound then
614: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
615: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
616: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
617: hr_utility.set_message_token('VALUE',p_batch_line_id);
618: hr_utility.raise_error;
611: open cr;
612: fetch cr into c;
613: if cr%notfound then
614: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
615: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
616: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
617: hr_utility.set_message_token('VALUE',p_batch_line_id);
618: hr_utility.raise_error;
619: end if;
612: fetch cr into c;
613: if cr%notfound then
614: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
615: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
616: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
617: hr_utility.set_message_token('VALUE',p_batch_line_id);
618: hr_utility.raise_error;
619: end if;
620: --
613: if cr%notfound then
614: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
615: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
616: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
617: hr_utility.set_message_token('VALUE',p_batch_line_id);
618: hr_utility.raise_error;
619: end if;
620: --
621: L_RATING_SCALE_ID :=
614: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
615: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
616: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
617: hr_utility.set_message_token('VALUE',p_batch_line_id);
618: hr_utility.raise_error;
619: end if;
620: --
621: L_RATING_SCALE_ID :=
622: PER_COMPETENCE_DATA_PUMP.get_rating_scale_id