167: hr_data_pump.entry('call');
168: open cr;
169: fetch cr into c;
170: if cr%notfound then
171: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
172: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
173: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
174: hr_utility.set_message_token('VALUE',p_batch_line_id);
175: hr_utility.raise_error;
168: open cr;
169: fetch cr into c;
170: if cr%notfound then
171: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
172: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
173: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
174: hr_utility.set_message_token('VALUE',p_batch_line_id);
175: hr_utility.raise_error;
176: end if;
169: fetch cr into c;
170: if cr%notfound then
171: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
172: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
173: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
174: hr_utility.set_message_token('VALUE',p_batch_line_id);
175: hr_utility.raise_error;
176: end if;
177: --
170: if cr%notfound then
171: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
172: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
173: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
174: hr_utility.set_message_token('VALUE',p_batch_line_id);
175: hr_utility.raise_error;
176: end if;
177: --
178: if c.p11 is null then
171: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
172: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
173: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
174: hr_utility.set_message_token('VALUE',p_batch_line_id);
175: hr_utility.raise_error;
176: end if;
177: --
178: if c.p11 is null then
179: L_ORGANIZATION_STRUCTURE_ID:=nn;