729: -- ---------------------------------------------------------------------
730: -- Create user structure from the template
731: -- ---------------------------------------------------------------------
732: hr_utility.set_location('..Creating template User structure', 25);
733: pay_element_template_api.create_user_structure
734: (p_validate => false
735: ,p_effective_date => p_effective_start_date
736: ,p_business_group_id => p_business_group_id
737: ,p_source_template_id => l_source_template_id
1364:
1365: -- ---------------------------------------------------------------------
1366: -- |-------------------< Generate Core Objects >------------------------|
1367: -- ---------------------------------------------------------------------
1368: pay_element_template_api.generate_part1
1369: (p_validate => false
1370: ,p_effective_date => p_effective_start_date
1371: ,p_hr_only => false
1372: ,p_hr_to_payroll => false
1373: ,p_template_id => l_template_id);
1374: --
1375: hr_utility.set_location('..After Generating Core objects : Part - 1', 50);
1376: --
1377: pay_element_template_api.generate_part2
1378: (p_validate => false
1379: ,p_effective_date => p_effective_start_date
1380: ,p_template_id => l_template_id);
1381: --
1777: for c1_rec in c1 loop
1778: l_template_id := c1_rec.template_id;
1779: end loop;
1780: --
1781: pay_element_template_api.delete_user_structure
1782: (p_validate => false
1783: ,p_drop_formula_packages => true
1784: ,p_template_id => l_template_id);
1785: --