2262: --
2263: -- The number of person actions that got created equals the chunk
2264: -- size. Create a batch range for the person actions.
2265: --
2266: ben_batch_ranges_api.create_batch_ranges
2267: (p_validate => FALSE
2268: ,p_effective_date => l_effective_date
2269: ,p_benefit_action_id => l_benefit_action_id
2270: ,p_range_id => l_range_id
2289: --
2290: if l_person_actn_cnt > 0 and
2291: mod(l_person_actn_cnt, l_chunk_size) <> 0 then
2292: --
2293: ben_batch_ranges_api.create_batch_ranges
2294: (p_validate => FALSE
2295: ,p_effective_date => l_effective_date
2296: ,p_benefit_action_id => l_benefit_action_id
2297: ,p_range_id => l_range_id