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