DBA Data[Home] [Help]

APPS.PER_OSE_BUS dependencies on HR_API

Line 44: hr_api.mandatory_arg_error

40: hr_utility.set_location('Entering:'|| l_proc, 10);
41: --
42: -- Ensure that all the mandatory parameter are not null
43: --
44: hr_api.mandatory_arg_error
45: (p_api_name => l_proc
46: ,p_argument => 'org_structure_element_id'
47: ,p_argument_value => p_org_structure_element_id
48: );

Line 67: hr_api.set_security_group_id

63: close csr_sec_grp;
64: --
65: -- Set the security_group_id in CLIENT_INFO
66: --
67: hr_api.set_security_group_id
68: (p_security_group_id => l_security_group_id
69: );
70: --
71: hr_utility.set_location(' Leaving:'|| l_proc, 20);

Line 104: hr_api.mandatory_arg_error

100: hr_utility.set_location('Entering:'|| l_proc, 10);
101: --
102: -- Ensure that all the mandatory parameter are not null
103: --
104: hr_api.mandatory_arg_error
105: (p_api_name => l_proc
106: ,p_argument => 'org_structure_element_id'
107: ,p_argument_value => p_org_structure_element_id
108: );

Line 110: if ( nvl(per_ose_bus.g_org_structure_element_id, hr_api.g_number)

106: ,p_argument => 'org_structure_element_id'
107: ,p_argument_value => p_org_structure_element_id
108: );
109: --
110: if ( nvl(per_ose_bus.g_org_structure_element_id, hr_api.g_number)
111: = p_org_structure_element_id) then
112: --
113: -- The legislation code has already been found with a previous
114: -- call to this function. Just return the value in the global

Line 201: if nvl(p_rec.business_group_id, hr_api.g_number) <>

197: --
198: -- EDIT_HERE: Add checks to ensure non-updateable args have
199: -- not been updated.
200: --
201: if nvl(p_rec.business_group_id, hr_api.g_number) <>
202: nvl(per_ose_shd.g_old_rec.business_group_id
203: ,hr_api.g_number
204: ) then
205: l_argument := 'business_group_id';

Line 203: ,hr_api.g_number

199: -- not been updated.
200: --
201: if nvl(p_rec.business_group_id, hr_api.g_number) <>
202: nvl(per_ose_shd.g_old_rec.business_group_id
203: ,hr_api.g_number
204: ) then
205: l_argument := 'business_group_id';
206: raise l_error;
207: end if;

Line 209: if nvl(p_rec.org_structure_version_id, hr_api.g_number) <>

205: l_argument := 'business_group_id';
206: raise l_error;
207: end if;
208: --
209: if nvl(p_rec.org_structure_version_id, hr_api.g_number) <>
210: nvl(per_ose_shd.g_old_rec.org_structure_version_id
211: ,hr_api.g_number
212: ) then
213: l_argument := 'org_structure_version_id';

Line 211: ,hr_api.g_number

207: end if;
208: --
209: if nvl(p_rec.org_structure_version_id, hr_api.g_number) <>
210: nvl(per_ose_shd.g_old_rec.org_structure_version_id
211: ,hr_api.g_number
212: ) then
213: l_argument := 'org_structure_version_id';
214: raise l_error;
215: end if;

Line 226: if nvl(p_rec.organization_id_parent, hr_api.g_number) <>

222: task is achieved by a constraint PER_ORG_STRUCTURE_ELEMENTS_UK2 according
223: to which ORG_STRUCTURE_VERSION_ID and ORGANIZATION_ID_CHILD is the unique
224: combination in table PER_ORG_STRUCTURE_ELEMENTS.
225:
226: if nvl(p_rec.organization_id_parent, hr_api.g_number) <>
227: nvl(per_ose_shd.g_old_rec.organization_id_parent
228: ,hr_api.g_number
229: ) then
230: l_argument := 'organization_id_parent';

Line 228: ,hr_api.g_number

224: combination in table PER_ORG_STRUCTURE_ELEMENTS.
225:
226: if nvl(p_rec.organization_id_parent, hr_api.g_number) <>
227: nvl(per_ose_shd.g_old_rec.organization_id_parent
228: ,hr_api.g_number
229: ) then
230: l_argument := 'organization_id_parent';
231: raise l_error;
232: end if;

Line 236: if nvl(p_rec.organization_id_child, hr_api.g_number) <>

232: end if;
233: bug no 2720039 ends here
234: */
235: --
236: if nvl(p_rec.organization_id_child, hr_api.g_number) <>
237: nvl(per_ose_shd.g_old_rec.organization_id_child
238: ,hr_api.g_number
239: ) then
240: l_argument := 'organization_id_child';

Line 238: ,hr_api.g_number

234: */
235: --
236: if nvl(p_rec.organization_id_child, hr_api.g_number) <>
237: nvl(per_ose_shd.g_old_rec.organization_id_child
238: ,hr_api.g_number
239: ) then
240: l_argument := 'organization_id_child';
241: raise l_error;
242: end if;

Line 246: hr_api.argument_changed_error

242: end if;
243: --
244: EXCEPTION
245: WHEN l_error THEN
246: hr_api.argument_changed_error
247: (p_api_name => l_proc
248: ,p_argument => l_argument);
249: WHEN OTHERS THEN
250: RAISE;

Line 473: hr_api.mandatory_arg_error

469: /* -- Bug fix 3065432
470: Removed the condition which raises an error if business_group_id is
471: null value */
472:
473: hr_api.mandatory_arg_error
474: (p_api_name => l_proc
475: ,p_argument => 'p_effective_date'
476: ,p_argument_value => p_effective_date
477: );

Line 581: hr_api.mandatory_arg_error

577: --
578: /* -- Bug fix 3065432
579: Removed the condition which raises an error if business_group_id is
580: null value */
581: hr_api.mandatory_arg_error
582: (p_api_name => l_proc
583: ,p_argument => 'p_effective_date'
584: ,p_argument_value => p_effective_date
585: );

Line 678: -- EDIT_HERE: The following call to hr_api.validate_bus_grp_id

674: hr_utility.set_location('Entering:'||l_proc, 5);
675: --
676: -- Call all supporting business operations
677: --
678: -- EDIT_HERE: The following call to hr_api.validate_bus_grp_id
679: -- will only be valid when the business_group_id is not null.
680: -- As this column is defined as optional on the table then
681: -- different logic will be required to handle the null case.
682: -- If this is a start-up data entity then:

Line 693: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

689: -- or c) (less likely) ensure the correct security_group_id
690: -- value is set in client_info.
691: -- Remove this comment when the edit has been completed.
692: if p_rec.business_group_id is not null then
693: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
694: end if;
695: --
696: chk_org_structure_version_id(p_org_structure_element_id => p_rec.org_structure_element_id
697: ,p_business_group_id => p_rec.business_group_id

Line 742: -- EDIT_HERE: The following call to hr_api.validate_bus_grp_id

738: hr_utility.set_location('Entering:'||l_proc, 5);
739: --
740: -- Call all supporting business operations
741: --
742: -- EDIT_HERE: The following call to hr_api.validate_bus_grp_id
743: -- will only be valid when the business_group_id is not null.
744: -- As this column is defined as optional on the table then
745: -- different logic will be required to handle the null case.
746: -- If this is a start-up data entity then:

Line 757: -- hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

753: -- or c) (less likely) ensure the correct security_group_id
754: -- value is set in client_info.
755: -- Remove this comment when the edit has been completed.
756: -- commented out pzwalker
757: -- hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
758: --
759: chk_non_updateable_args
760: (p_rec => p_rec
761: );