DBA Data[Home] [Help]

APPS.PAY_TCO_BUS dependencies on HR_API

Line 66: if nvl(p_rec.template_id, hr_api.g_number) <>

62: hr_utility.set_location(l_proc, 15);
63: --
64: -- p_template_id
65: --
66: if nvl(p_rec.template_id, hr_api.g_number) <>
67: nvl(pay_tco_shd.g_old_rec.template_id, hr_api.g_number)
68: then
69: l_argument := 'p_template_id';
70: raise l_error;

Line 67: nvl(pay_tco_shd.g_old_rec.template_id, hr_api.g_number)

63: --
64: -- p_template_id
65: --
66: if nvl(p_rec.template_id, hr_api.g_number) <>
67: nvl(pay_tco_shd.g_old_rec.template_id, hr_api.g_number)
68: then
69: l_argument := 'p_template_id';
70: raise l_error;
71: end if;

Line 75: if nvl(p_rec.core_object_type, hr_api.g_varchar2) <>

71: end if;
72: --
73: -- p_core_object_type
74: --
75: if nvl(p_rec.core_object_type, hr_api.g_varchar2) <>
76: nvl(pay_tco_shd.g_old_rec.core_object_type, hr_api.g_varchar2)
77: then
78: l_argument := 'p_core_object_type';
79: raise l_error;

Line 76: nvl(pay_tco_shd.g_old_rec.core_object_type, hr_api.g_varchar2)

72: --
73: -- p_core_object_type
74: --
75: if nvl(p_rec.core_object_type, hr_api.g_varchar2) <>
76: nvl(pay_tco_shd.g_old_rec.core_object_type, hr_api.g_varchar2)
77: then
78: l_argument := 'p_core_object_type';
79: raise l_error;
80: end if;

Line 84: if nvl(p_rec.shadow_object_id, hr_api.g_number) <>

80: end if;
81: --
82: -- p_shadow_object_id
83: --
84: if nvl(p_rec.shadow_object_id, hr_api.g_number) <>
85: nvl(pay_tco_shd.g_old_rec.shadow_object_id, hr_api.g_number)
86: then
87: l_argument := 'p_shadow_object_id';
88: raise l_error;

Line 85: nvl(pay_tco_shd.g_old_rec.shadow_object_id, hr_api.g_number)

81: --
82: -- p_shadow_object_id
83: --
84: if nvl(p_rec.shadow_object_id, hr_api.g_number) <>
85: nvl(pay_tco_shd.g_old_rec.shadow_object_id, hr_api.g_number)
86: then
87: l_argument := 'p_shadow_object_id';
88: raise l_error;
89: end if;

Line 94: hr_api.argument_changed_error

90: hr_utility.set_location(' Leaving:'||l_proc, 20);
91: exception
92: when l_error then
93: hr_utility.set_location('Leaving:'||l_proc, 25);
94: hr_api.argument_changed_error
95: (p_api_name => l_proc
96: ,p_argument => l_argument);
97: when others then
98: hr_utility.set_location('Leaving:'||l_proc, 30);

Line 118: if (l_api_updating and nvl(p_effective_date, hr_api.g_date) <>

114: l_api_updating := pay_tco_shd.api_updating
115: (p_template_core_object_id => p_template_core_object_id
116: ,p_object_version_number => p_object_version_number
117: );
118: if (l_api_updating and nvl(p_effective_date, hr_api.g_date) <>
119: nvl(pay_tco_shd.g_old_rec.effective_date, hr_api.g_date)) or
120: not l_api_updating
121: then
122: --

Line 119: nvl(pay_tco_shd.g_old_rec.effective_date, hr_api.g_date)) or

115: (p_template_core_object_id => p_template_core_object_id
116: ,p_object_version_number => p_object_version_number
117: );
118: if (l_api_updating and nvl(p_effective_date, hr_api.g_date) <>
119: nvl(pay_tco_shd.g_old_rec.effective_date, hr_api.g_date)) or
120: not l_api_updating
121: then
122: --
123: -- Check that the effective date is not null.

Line 125: hr_api.mandatory_arg_error

121: then
122: --
123: -- Check that the effective date is not null.
124: --
125: hr_api.mandatory_arg_error
126: (p_api_name => l_proc
127: ,p_argument => 'p_effective_date'
128: ,p_argument_value => p_effective_date
129: );

Line 156: hr_api.mandatory_arg_error

152: hr_utility.set_location('Entering:'||l_proc, 5);
153: --
154: -- Check that template_id is not null.
155: --
156: hr_api.mandatory_arg_error
157: (p_api_name => l_proc
158: ,p_argument => 'p_template_id'
159: ,p_argument_value => p_template_id
160: );

Line 190: hr_api.mandatory_arg_error

186: hr_utility.set_location('Entering:'||l_proc, 5);
187: --
188: -- Check that the core object type is not null.
189: --
190: hr_api.mandatory_arg_error
191: (p_api_name => l_proc
192: ,p_argument => 'p_core_object_type'
193: ,p_argument_value => p_core_object_type
194: );

Line 198: if hr_api.not_exists_in_hr_lookups

194: );
195: --
196: -- Validate against hr_lookups.
197: --
198: if hr_api.not_exists_in_hr_lookups
199: (p_effective_date => p_effective_date
200: ,p_lookup_type => 'CORE_OBJECT_TYPE'
201: ,p_lookup_code => p_core_object_type
202: )

Line 353: hr_api.mandatory_arg_error

349: hr_utility.set_location('Entering:'||l_proc, 5);
350: --
351: -- Check that shadow_object_id is not null.
352: --
353: hr_api.mandatory_arg_error
354: (p_api_name => l_proc
355: ,p_argument => 'p_shadow_object_id'
356: ,p_argument_value => p_shadow_object_id
357: );

Line 663: if (l_api_updating and nvl(p_core_object_id, hr_api.g_number) <>

659: l_api_updating := pay_tco_shd.api_updating
660: (p_template_core_object_id => p_template_core_object_id
661: ,p_object_version_number => p_object_version_number
662: );
663: if (l_api_updating and nvl(p_core_object_id, hr_api.g_number) <>
664: nvl(pay_tco_shd.g_old_rec.core_object_id, hr_api.g_number)) or
665: not l_api_updating
666: then
667: --

Line 664: nvl(pay_tco_shd.g_old_rec.core_object_id, hr_api.g_number)) or

660: (p_template_core_object_id => p_template_core_object_id
661: ,p_object_version_number => p_object_version_number
662: );
663: if (l_api_updating and nvl(p_core_object_id, hr_api.g_number) <>
664: nvl(pay_tco_shd.g_old_rec.core_object_id, hr_api.g_number)) or
665: not l_api_updating
666: then
667: --
668: -- Check that core_object_id is not null.

Line 670: hr_api.mandatory_arg_error

666: then
667: --
668: -- Check that core_object_id is not null.
669: --
670: hr_api.mandatory_arg_error
671: (p_api_name => l_proc
672: ,p_argument => 'p_core_object_id'
673: ,p_argument_value => p_core_object_id
674: );