123: - g_payroll_action_rec_type
124: - g_payroll_action_tab_type
125: - g_payroll_actions
126: Modified apply_adjustments()
127: - added pay_bal_adjust.init_batch call
128: and logic to handle payroll actions
129: cache.
130: - create_adjustment call was replaced
131: with pay_bal_adjust.adjust_balance.
127: - added pay_bal_adjust.init_batch call
128: and logic to handle payroll actions
129: cache.
130: - create_adjustment call was replaced
131: with pay_bal_adjust.adjust_balance.
132: Added the logic to handle payroll
133: actions cache to transfer_assignment()
134: and process().
135: Modified transfer_batch() to update
2063: -- p_batch_line_list - the list of batch lines currently being processed
2064: -- p_num_lines - the number of batch lines in the list.
2065: -- p_message - the error message.
2066: -- USES
2067: -- pay_bal_adjust.init_batch
2068: -- pay_bal_adjust.adjust_balance
2069: -- NOTES
2070: -----------------------------------------------------------------------------
2071: --
2064: -- p_num_lines - the number of batch lines in the list.
2065: -- p_message - the error message.
2066: -- USES
2067: -- pay_bal_adjust.init_batch
2068: -- pay_bal_adjust.adjust_balance
2069: -- NOTES
2070: -----------------------------------------------------------------------------
2071: --
2072: procedure apply_adjustments
2302: end if;
2303: --
2304:
2305: l_payroll_action_id :=
2306: pay_bal_adjust.init_batch
2307: (p_batch_name => NULL
2308: ,p_effective_date => l_adj_date
2309: ,p_consolidation_set_id => p_glbl_data_rec.consolidation_set_id
2310: ,p_payroll_id => l_payroll_id
2329: end if;
2330:
2331: --
2332: -- Create the balance adjustment.
2333: -- Changed from create_adjustment to pay_bal_adjust.adjust_balance
2334: -- to perform batch adjustment for the batch.
2335: --
2336: pay_bal_adjust.adjust_balance
2337: (p_batch_id => l_payroll_action_id
2332: -- Create the balance adjustment.
2333: -- Changed from create_adjustment to pay_bal_adjust.adjust_balance
2334: -- to perform batch adjustment for the batch.
2335: --
2336: pay_bal_adjust.adjust_balance
2337: (p_batch_id => l_payroll_action_id
2338: ,p_assignment_id => p_glbl_data_rec.assignment_id
2339: ,p_element_link_id => l_ele_link_id
2340: ,p_num_entry_values => l_num_entry_values
5718: --
5719: -- ARGUMENTS
5720: -- p_glbl_data_rec - global data structure.
5721: -- USES
5722: -- pay_bal_adjust.process_batch
5723: -- NOTES
5724: --
5725: -----------------------------------------------------------------------------
5726: --
5757: hr_utility.trace(' payroll_action_id=:'||l_batch.payroll_action_id);
5758: --
5759: -- Completes the payroll action.
5760: --
5761: pay_bal_adjust.process_batch(l_batch.payroll_action_id);
5762: --
5763: end loop;
5764:
5765: end if;