145: hr_data_pump.entry('call');
146: open cr;
147: fetch cr into c;
148: if cr%notfound then
149: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
150: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
151: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
152: hr_utility.set_message_token('VALUE',p_batch_line_id);
153: hr_utility.raise_error;
146: open cr;
147: fetch cr into c;
148: if cr%notfound then
149: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
150: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
151: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
152: hr_utility.set_message_token('VALUE',p_batch_line_id);
153: hr_utility.raise_error;
154: end if;
147: fetch cr into c;
148: if cr%notfound then
149: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
150: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
151: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
152: hr_utility.set_message_token('VALUE',p_batch_line_id);
153: hr_utility.raise_error;
154: end if;
155: --
148: if cr%notfound then
149: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
150: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
151: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
152: hr_utility.set_message_token('VALUE',p_batch_line_id);
153: hr_utility.raise_error;
154: end if;
155: --
156: if c.p5 is null then
149: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
150: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
151: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
152: hr_utility.set_message_token('VALUE',p_batch_line_id);
153: hr_utility.raise_error;
154: end if;
155: --
156: if c.p5 is null then
157: L_USER_TABLE_ID:=nn;