1: package body PER_CHECKLIST_EVENTS as
2: /* $Header: pecklevt.pkb 120.10 2006/09/29 11:05:37 lsilveir noship $ */
3: --
4: -- Package Variables
5: --
2: /* $Header: pecklevt.pkb 120.10 2006/09/29 11:05:37 lsilveir noship $ */
3: --
4: -- Package Variables
5: --
6: g_package varchar2(33) := ' PER_CHECKLIST_EVENTS.';
7: g_debug boolean := hr_utility.debug_enabled;
8:
9:
10: procedure check_approvers_exist
561: end if;
562: --
563: begin
564: --
565: per_checklist_events.Start_wf_Process
566: (p_person_id => p_person_id
567: ,p_assignment_id => p_assignment_id
568: ,p_task_name => x_cur.checklist_task_name
569: ,p_task_description => x_cur.checklist_task_description
655: end if;
656: --
657: FOR p_cur in pending_events loop
658: if nvl(p_cur.assignment_id,-1) <> -1 then
659: per_checklist_events.process_event
660: ( p_person_id => p_cur.person_id
661: ,p_assignment_id => p_cur.assignment_id
662: ,p_date => p_cur.effective_date
663: ,p_ler_event_id => p_cur.event_reason_id
669: if g_debug then
670: hr_utility.set_location(l_proc||'Before Procecss with ASG',3);
671: end if;
672: --
673: per_checklist_events.process_event
674: ( p_person_id => p_cur.person_id
675: ,p_assignment_id => null
676: ,p_date => p_cur.effective_date
677: ,p_ler_event_id => p_cur.event_reason_id
744: end if;
745: --
746: FOR p_cur in pending_events loop
747: if nvl(p_cur.assignment_id,-1) <> -1 then
748: per_checklist_events.process_event
749: ( p_person_id => p_cur.person_id
750: ,p_assignment_id => p_cur.assignment_id
751: ,p_date => p_cur.effective_date
752: ,p_ler_event_id => p_cur.event_reason_id
753: );
754: hr_utility.set_location('after process call',2);
755: else
756: hr_utility.set_location('after process call',3);
757: per_checklist_events.process_event
758: ( p_person_id => p_cur.person_id
759: ,p_assignment_id => null
760: ,p_date => p_cur.effective_date
761: ,p_ler_event_id => p_cur.event_reason_id
1184: lr_tasks c_tasks%ROWTYPE;
1185: --
1186: BEGIN
1187: --
1188: l_proc:= 'per_checklist_events.copy_tasks';
1189: hr_utility.set_location('Entering: '|| l_proc, 10);
1190: --
1191: OPEN c_tasks(p_from_ckl_id);
1192: --
1282: --
1283: END Copy_Tasks;
1284: --
1285: --
1286: end per_checklist_events;