423: hr_data_pump.entry('call');
424: open cr;
425: fetch cr into c;
426: if cr%notfound then
427: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
428: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
429: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
430: hr_utility.set_message_token('VALUE',p_batch_line_id);
431: hr_utility.raise_error;
424: open cr;
425: fetch cr into c;
426: if cr%notfound then
427: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
428: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
429: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
430: hr_utility.set_message_token('VALUE',p_batch_line_id);
431: hr_utility.raise_error;
432: end if;
425: fetch cr into c;
426: if cr%notfound then
427: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
428: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
429: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
430: hr_utility.set_message_token('VALUE',p_batch_line_id);
431: hr_utility.raise_error;
432: end if;
433: --
426: if cr%notfound then
427: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
428: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
429: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
430: hr_utility.set_message_token('VALUE',p_batch_line_id);
431: hr_utility.raise_error;
432: end if;
433: --
434: if upper(c.p3) = 'TRUE' then
427: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
428: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
429: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
430: hr_utility.set_message_token('VALUE',p_batch_line_id);
431: hr_utility.raise_error;
432: end if;
433: --
434: if upper(c.p3) = 'TRUE' then
435: L_CALLED_FROM_MASS_UPDATE := true;
435: L_CALLED_FROM_MASS_UPDATE := true;
436: elsif upper(c.p3) = 'FALSE' then
437: L_CALLED_FROM_MASS_UPDATE := false;
438: elsif c.p3 is not null then
439: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
440: hr_utility.set_message_token('TYPE','BOOLEAN');
441: hr_utility.set_message_token('PARAMETER','P_CALLED_FROM_MASS_UPDATE');
442: hr_utility.set_message_token('VALUE',c.p3);
443: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
436: elsif upper(c.p3) = 'FALSE' then
437: L_CALLED_FROM_MASS_UPDATE := false;
438: elsif c.p3 is not null then
439: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
440: hr_utility.set_message_token('TYPE','BOOLEAN');
441: hr_utility.set_message_token('PARAMETER','P_CALLED_FROM_MASS_UPDATE');
442: hr_utility.set_message_token('VALUE',c.p3);
443: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
444: hr_utility.raise_error;
437: L_CALLED_FROM_MASS_UPDATE := false;
438: elsif c.p3 is not null then
439: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
440: hr_utility.set_message_token('TYPE','BOOLEAN');
441: hr_utility.set_message_token('PARAMETER','P_CALLED_FROM_MASS_UPDATE');
442: hr_utility.set_message_token('VALUE',c.p3);
443: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
444: hr_utility.raise_error;
445: end if;
438: elsif c.p3 is not null then
439: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
440: hr_utility.set_message_token('TYPE','BOOLEAN');
441: hr_utility.set_message_token('PARAMETER','P_CALLED_FROM_MASS_UPDATE');
442: hr_utility.set_message_token('VALUE',c.p3);
443: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
444: hr_utility.raise_error;
445: end if;
446: --
439: hr_utility.set_message(800,'HR_50327_DP_TYPE_ERR');
440: hr_utility.set_message_token('TYPE','BOOLEAN');
441: hr_utility.set_message_token('PARAMETER','P_CALLED_FROM_MASS_UPDATE');
442: hr_utility.set_message_token('VALUE',c.p3);
443: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
444: hr_utility.raise_error;
445: end if;
446: --
447: if c.p49 is null then
440: hr_utility.set_message_token('TYPE','BOOLEAN');
441: hr_utility.set_message_token('PARAMETER','P_CALLED_FROM_MASS_UPDATE');
442: hr_utility.set_message_token('VALUE',c.p3);
443: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
444: hr_utility.raise_error;
445: end if;
446: --
447: if c.p49 is null then
448: L_ASSIGNMENT_ID:=nn;