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