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