119: fetch process_assignments into v_assignment_id;
120: exit when process_assignments%notfound;
121: --
122: if g_debug then
123: hr_utility.set_location('Before calling hr_nonrun_asact.insact',4);
124: end if;
125: --
126: open next_action_id ;
127: fetch next_action_id into v_next_action_id;
126: open next_action_id ;
127: fetch next_action_id into v_next_action_id;
128: close next_action_id;
129: --
130: hr_nonrun_asact.insact( v_next_action_id,
131: v_assignment_id,
132: p_payroll_action_id,
133: p_chunk,
134: null );
133: p_chunk,
134: null );
135: --
136: if g_debug then
137: hr_utility.set_location('After calling hr_nonrun_asact.insact',4);
138: end if;
139: end loop;
140: --
141: close process_assignments;
309: open next_action_id;
310: fetch next_action_id into v_next_action_id;
311: close next_action_id;
312: --
313: hr_nonrun_asact.insact( v_next_action_id,
314: v_asg_id,
315: p_payroll_action_id,
316: p_chunk,
317: null );