87: END;
88: --
89: hr_utility.set_location(l_proc, 20);
90: --
91: per_cancel_hire_or_apl_pkg.lock_cwk_rows
92: (p_person_id => p_person_id
93: ,p_effective_date => l_effective_date
94: ,p_business_group_id => l_business_group_id);
95: --
97: --
98: -- Validation checks to ensure that the canelling of
99: -- the placement is a valid operation for the worker.
100: --
101: per_cancel_hire_or_apl_pkg.pre_cancel_placement_checks
102: (p_person_id => p_person_id
103: ,p_business_group_id => l_business_group_id
104: ,p_effective_date => l_effective_date
105: ,p_date_start => l_date_start
116: hr_utility.set_location(l_proc, 30);
117: --
118: -- Process Logic
119: --
120: per_cancel_hire_or_apl_pkg.do_cancel_placement
121: (p_person_id => p_person_id
122: ,p_business_group_id => l_business_group_id
123: ,p_effective_date => l_effective_date
124: ,p_date_start => l_date_start);