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