DBA Data[Home] [Help]

APPS.PER_PGT_BUS dependencies on HR_API

Line 45: hr_api.mandatory_arg_error

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

Line 71: hr_api.set_security_group_id

67: close csr_sec_grp;
68: --
69: -- Set the security_group_id in CLIENT_INFO
70: --
71: hr_api.set_security_group_id
72: (p_security_group_id => l_security_group_id
73: );
74: end if;
75: --

Line 109: hr_api.mandatory_arg_error

105: hr_utility.set_location('Entering:'|| l_proc, 10);
106: --
107: -- Ensure that all the mandatory parameter are not null
108: --
109: hr_api.mandatory_arg_error
110: (p_api_name => l_proc
111: ,p_argument => 'hier_node_type_id'
112: ,p_argument_value => p_hier_node_type_id
113: );

Line 115: if ( nvl(per_pgt_bus.g_hier_node_type_id, hr_api.g_number)

111: ,p_argument => 'hier_node_type_id'
112: ,p_argument_value => p_hier_node_type_id
113: );
114: --
115: if ( nvl(per_pgt_bus.g_hier_node_type_id, hr_api.g_number)
116: = p_hier_node_type_id) then
117: --
118: -- The legislation code has already been found with a previous
119: -- call to this function. Just return the value in the global

Line 202: IF (per_pgt_shd.g_old_rec.child_node_type <> nvl(p_rec.child_node_type,hr_api.g_varchar2)) THEN

198: fnd_message.set_token('STEP ', '5');
199: fnd_message.raise_error;
200: END IF;
201: --
202: IF (per_pgt_shd.g_old_rec.child_node_type <> nvl(p_rec.child_node_type,hr_api.g_varchar2)) THEN
203: fnd_message.set_name('PER', 'HR_289899_PGT_CNTYPE_NO_UPD');
204: fnd_message.raise_error;
205: END IF;
206: --

Line 207: IF (per_pgt_shd.g_old_rec.hierarchy_type <> nvl(p_rec.hierarchy_type,hr_api.g_varchar2)) THEN

203: fnd_message.set_name('PER', 'HR_289899_PGT_CNTYPE_NO_UPD');
204: fnd_message.raise_error;
205: END IF;
206: --
207: IF (per_pgt_shd.g_old_rec.hierarchy_type <> nvl(p_rec.hierarchy_type,hr_api.g_varchar2)) THEN
208: fnd_message.set_name('PER', 'HR_289900_PGT_HTYPE_NO_UPD');
209: fnd_message.raise_error;
210: END IF;
211: --

Line 212: IF (nvl(per_pgt_shd.g_old_rec.business_group_id,hr_api.g_number)

208: fnd_message.set_name('PER', 'HR_289900_PGT_HTYPE_NO_UPD');
209: fnd_message.raise_error;
210: END IF;
211: --
212: IF (nvl(per_pgt_shd.g_old_rec.business_group_id,hr_api.g_number)
213: <> nvl(p_rec.business_group_id,hr_api.g_number)) THEN
214: fnd_message.set_name('PER', 'HR_289901_PGT_BG_NO_UPD');
215: fnd_message.raise_error;
216: END IF;

Line 213: <> nvl(p_rec.business_group_id,hr_api.g_number)) THEN

209: fnd_message.raise_error;
210: END IF;
211: --
212: IF (nvl(per_pgt_shd.g_old_rec.business_group_id,hr_api.g_number)
213: <> nvl(p_rec.business_group_id,hr_api.g_number)) THEN
214: fnd_message.set_name('PER', 'HR_289901_PGT_BG_NO_UPD');
215: fnd_message.raise_error;
216: END IF;
217: --

Line 248: hr_api.mandatory_arg_error

244: --
245: hr_utility.set_location('Entering:'||l_proc, 5);
246: --
247:
248: hr_api.mandatory_arg_error
249: (p_api_name => l_proc
250: ,p_argument => 'effective_date'
251: ,p_argument_value => p_effective_date
252: );

Line 255: If HR_API.NOT_EXISTS_IN_HRSTANLOOKUPS(p_effective_date => p_effective_date

251: ,p_argument_value => p_effective_date
252: );
253:
254: If p_hierarchy_type IS NOT NULL then
255: If HR_API.NOT_EXISTS_IN_HRSTANLOOKUPS(p_effective_date => p_effective_date
256: ,p_lookup_type => 'HIERARCHY_TYPE'
257: ,p_lookup_code => p_hierarchy_type) then
258: --
259: fnd_message.set_name('PER', 'HR_289902_PGT_HTYPE_INV');

Line 336: hr_api.mandatory_arg_error

332: --
333: hr_utility.set_location('Entering:'||l_proc, 5);
334: --
335:
336: hr_api.mandatory_arg_error
337: (p_api_name => l_proc
338: ,p_argument => 'effective_date'
339: ,p_argument_value => p_effective_date
340: );

Line 354: If hr_api.not_exists_in_hrstanlookups

350: --
351: -- Validate child_node_type on insert only (non-updateable) lookup code
352: --
353: If p_hier_node_type_id is null then
354: If hr_api.not_exists_in_hrstanlookups
355: (p_effective_date => p_effective_date
356: ,p_lookup_type => 'HIERARCHY_NODE_TYPE'
357: ,p_lookup_code => p_child_node_type) then
358:

Line 416: and nvl(per_pgt_shd.g_old_rec.parent_node_type,hr_api.g_varchar2)

412: If p_parent_node_type IS NOT NULL then
413: -- validate for ins and upd
414: If (p_hier_node_type_id is null
415: or (p_hier_node_type_id is not null
416: and nvl(per_pgt_shd.g_old_rec.parent_node_type,hr_api.g_varchar2)
417: <> p_parent_node_type))
418: then
419: If hr_api.not_exists_in_hrstanlookups
420: (p_effective_date => p_effective_date

Line 419: If hr_api.not_exists_in_hrstanlookups

415: or (p_hier_node_type_id is not null
416: and nvl(per_pgt_shd.g_old_rec.parent_node_type,hr_api.g_varchar2)
417: <> p_parent_node_type))
418: then
419: If hr_api.not_exists_in_hrstanlookups
420: (p_effective_date => p_effective_date
421: ,p_lookup_type => 'HIERARCHY_NODE_TYPE'
422: ,p_lookup_code => p_parent_node_type) then
423: --

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

589: hr_utility.set_location('Entering:'||l_proc, 5);
590: --
591: -- Call all supporting business operations
592: --
593: -- EDIT_HERE: The following call to hr_api.validate_bus_grp_id
594: -- will only be valid when the business_group_id is not null.
595: -- As this column is defined as optional on the table then
596: -- different logic will be required to handle the null case.
597: -- If this is a start-up data entity then:

Line 610: hr_api.validate_bus_grp_id

606: -- Remove this comment when the edit has been completed.
607: -- Validate Important Attributes
608:
609: If p_rec.business_group_id is not null then
610: hr_api.validate_bus_grp_id
611: (p_business_group_id => p_rec.business_group_id
612: ,p_associated_column1 => per_pgt_shd.g_tab_nam
613: || '.BUSINESS_GROUP_ID');
614: End If;

Line 657: hr_api.validate_bus_grp_id

653: --
654: -- Call all supporting business operations
655: --
656: If p_rec.business_group_id is not null then
657: hr_api.validate_bus_grp_id
658: (p_business_group_id => p_rec.business_group_id
659: ,p_associated_column1 => per_pgt_shd.g_tab_nam
660: || '.BUSINESS_GROUP_ID');
661: End If;