140: hr_data_pump.entry('call');
141: open cr;
142: fetch cr into c;
143: if cr%notfound then
144: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
145: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
146: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
147: hr_utility.set_message_token('VALUE',p_batch_line_id);
148: hr_utility.raise_error;
141: open cr;
142: fetch cr into c;
143: if cr%notfound then
144: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
145: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
146: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
147: hr_utility.set_message_token('VALUE',p_batch_line_id);
148: hr_utility.raise_error;
149: end if;
142: fetch cr into c;
143: if cr%notfound then
144: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
145: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
146: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
147: hr_utility.set_message_token('VALUE',p_batch_line_id);
148: hr_utility.raise_error;
149: end if;
150: --
143: if cr%notfound then
144: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
145: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
146: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
147: hr_utility.set_message_token('VALUE',p_batch_line_id);
148: hr_utility.raise_error;
149: end if;
150: --
151: if c.p2 is null then
144: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
145: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
146: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
147: hr_utility.set_message_token('VALUE',p_batch_line_id);
148: hr_utility.raise_error;
149: end if;
150: --
151: if c.p2 is null then
152: L_PRTT_RT_VAL_ID:=nn;