182: hr_data_pump.entry('call');
183: open cr;
184: fetch cr into c;
185: if cr%notfound then
186: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
187: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
188: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
189: hr_utility.set_message_token('VALUE',p_batch_line_id);
190: hr_utility.raise_error;
183: open cr;
184: fetch cr into c;
185: if cr%notfound then
186: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
187: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
188: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
189: hr_utility.set_message_token('VALUE',p_batch_line_id);
190: hr_utility.raise_error;
191: end if;
184: fetch cr into c;
185: if cr%notfound then
186: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
187: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
188: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
189: hr_utility.set_message_token('VALUE',p_batch_line_id);
190: hr_utility.raise_error;
191: end if;
192: --
185: if cr%notfound then
186: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
187: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
188: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
189: hr_utility.set_message_token('VALUE',p_batch_line_id);
190: hr_utility.raise_error;
191: end if;
192: --
193: if upper(c.p10) = 'TRUE' then
186: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
187: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
188: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
189: hr_utility.set_message_token('VALUE',p_batch_line_id);
190: hr_utility.raise_error;
191: end if;
192: --
193: if upper(c.p10) = 'TRUE' then
194: L_MIGRATE := true;
194: L_MIGRATE := true;
195: elsif upper(c.p10) = 'FALSE' then
196: L_MIGRATE := false;
197: elsif c.p10 is not null then
198: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
199: hr_utility.set_message_token('TYPE','BOOLEAN');
200: hr_utility.set_message_token('PARAMETER','P_MIGRATE');
201: hr_utility.set_message_token('VALUE',c.p10);
202: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
195: elsif upper(c.p10) = 'FALSE' then
196: L_MIGRATE := false;
197: elsif c.p10 is not null then
198: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
199: hr_utility.set_message_token('TYPE','BOOLEAN');
200: hr_utility.set_message_token('PARAMETER','P_MIGRATE');
201: hr_utility.set_message_token('VALUE',c.p10);
202: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
203: hr_utility.raise_error;
196: L_MIGRATE := false;
197: elsif c.p10 is not null then
198: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
199: hr_utility.set_message_token('TYPE','BOOLEAN');
200: hr_utility.set_message_token('PARAMETER','P_MIGRATE');
201: hr_utility.set_message_token('VALUE',c.p10);
202: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
203: hr_utility.raise_error;
204: end if;
197: elsif c.p10 is not null then
198: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
199: hr_utility.set_message_token('TYPE','BOOLEAN');
200: hr_utility.set_message_token('PARAMETER','P_MIGRATE');
201: hr_utility.set_message_token('VALUE',c.p10);
202: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
203: hr_utility.raise_error;
204: end if;
205: --
198: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
199: hr_utility.set_message_token('TYPE','BOOLEAN');
200: hr_utility.set_message_token('PARAMETER','P_MIGRATE');
201: hr_utility.set_message_token('VALUE',c.p10);
202: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
203: hr_utility.raise_error;
204: end if;
205: --
206: if c.p11 is null then
199: hr_utility.set_message_token('TYPE','BOOLEAN');
200: hr_utility.set_message_token('PARAMETER','P_MIGRATE');
201: hr_utility.set_message_token('VALUE',c.p10);
202: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
203: hr_utility.raise_error;
204: end if;
205: --
206: if c.p11 is null then
207: L_PERSON_ID:=nn;