129:
130: BEGIN
131: g_package := ' hr_in_contingent_worker_api.';
132: l_proc := g_package||'create_in_cwk';
133: g_trace := hr_utility.debug_enabled ;
134:
135: IF g_trace THEN
136: hr_utility.set_location('Entering: '||l_proc, 10);
137: END IF ;
132: l_proc := g_package||'create_in_cwk';
133: g_trace := hr_utility.debug_enabled ;
134:
135: IF g_trace THEN
136: hr_utility.set_location('Entering: '||l_proc, 10);
137: END IF ;
138:
139: IF hr_general2.IS_BG(p_business_group_id, 'IN') = FALSE THEN
140: hr_utility.set_message(800, 'HR_7208_API_BUS_GRP_INVALID');
136: hr_utility.set_location('Entering: '||l_proc, 10);
137: END IF ;
138:
139: IF hr_general2.IS_BG(p_business_group_id, 'IN') = FALSE THEN
140: hr_utility.set_message(800, 'HR_7208_API_BUS_GRP_INVALID');
141: hr_utility.raise_error;
142: END IF;
143:
144: IF g_trace THEN
137: END IF ;
138:
139: IF hr_general2.IS_BG(p_business_group_id, 'IN') = FALSE THEN
140: hr_utility.set_message(800, 'HR_7208_API_BUS_GRP_INVALID');
141: hr_utility.raise_error;
142: END IF;
143:
144: IF g_trace THEN
145: hr_utility.set_location(l_proc, 20);
141: hr_utility.raise_error;
142: END IF;
143:
144: IF g_trace THEN
145: hr_utility.set_location(l_proc, 20);
146: END IF ;
147:
148:
149: l_pension_number :=p_pension_number;
266: );
267:
268: --
269: IF g_trace THEN
270: hr_utility.set_location(' Leaving:'||l_proc, 7);
271: END IF;
272: --
273:
274: END create_in_cwk;