358: hr_data_pump.entry('call');
359: open cr;
360: fetch cr into c;
361: if cr%notfound then
362: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
363: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
364: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
365: hr_utility.set_message_token('VALUE',p_batch_line_id);
366: hr_utility.raise_error;
359: open cr;
360: fetch cr into c;
361: if cr%notfound then
362: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
363: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
364: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
365: hr_utility.set_message_token('VALUE',p_batch_line_id);
366: hr_utility.raise_error;
367: end if;
360: fetch cr into c;
361: if cr%notfound then
362: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
363: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
364: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
365: hr_utility.set_message_token('VALUE',p_batch_line_id);
366: hr_utility.raise_error;
367: end if;
368: --
361: if cr%notfound then
362: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
363: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
364: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
365: hr_utility.set_message_token('VALUE',p_batch_line_id);
366: hr_utility.raise_error;
367: end if;
368: --
369: hr_data_pump.api_trc_on;
362: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
363: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
364: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
365: hr_utility.set_message_token('VALUE',p_batch_line_id);
366: hr_utility.raise_error;
367: end if;
368: --
369: hr_data_pump.api_trc_on;
370: ben_plan_type_api.CREATE_PLAN_TYPE