DBA Data[Home] [Help]

APPS.PAY_SF_BUS dependencies on HR_API

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

59: -- Check the otherwise non-updateable arguments.
60: --
61: -- p_business_group_id
62: --
63: if nvl(p_rec.business_group_id, hr_api.g_number) <>
64: nvl(pay_sf_shd.g_old_rec.business_group_id, hr_api.g_number)
65: then
66: l_argument := 'p_business_group_id';
67: raise l_error;

Line 64: nvl(pay_sf_shd.g_old_rec.business_group_id, hr_api.g_number)

60: --
61: -- p_business_group_id
62: --
63: if nvl(p_rec.business_group_id, hr_api.g_number) <>
64: nvl(pay_sf_shd.g_old_rec.business_group_id, hr_api.g_number)
65: then
66: l_argument := 'p_business_group_id';
67: raise l_error;
68: end if;

Line 72: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>

68: end if;
69: --
70: -- p_legislation_code
71: --
72: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
73: nvl(pay_sf_shd.g_old_rec.legislation_code, hr_api.g_varchar2)
74: then
75: l_argument := 'p_legislation_code';
76: raise l_error;

Line 73: nvl(pay_sf_shd.g_old_rec.legislation_code, hr_api.g_varchar2)

69: --
70: -- p_legislation_code
71: --
72: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
73: nvl(pay_sf_shd.g_old_rec.legislation_code, hr_api.g_varchar2)
74: then
75: l_argument := 'p_legislation_code';
76: raise l_error;
77: end if;

Line 81: if nvl(p_rec.template_type, hr_api.g_varchar2) <>

77: end if;
78: --
79: -- p_template_type
80: --
81: if nvl(p_rec.template_type, hr_api.g_varchar2) <>
82: nvl(pay_sf_shd.g_old_rec.template_type, hr_api.g_varchar2)
83: then
84: l_argument := 'p_template_type';
85: raise l_error;

Line 82: nvl(pay_sf_shd.g_old_rec.template_type, hr_api.g_varchar2)

78: --
79: -- p_template_type
80: --
81: if nvl(p_rec.template_type, hr_api.g_varchar2) <>
82: nvl(pay_sf_shd.g_old_rec.template_type, hr_api.g_varchar2)
83: then
84: l_argument := 'p_template_type';
85: raise l_error;
86: end if;

Line 90: if nvl(p_rec.formula_name, hr_api.g_varchar2) <>

86: end if;
87: --
88: -- p_formula_name
89: --
90: if nvl(p_rec.formula_name, hr_api.g_varchar2) <>
91: nvl(pay_sf_shd.g_old_rec.formula_name, hr_api.g_varchar2)
92: then
93: l_argument := 'p_formula_name';
94: raise l_error;

Line 91: nvl(pay_sf_shd.g_old_rec.formula_name, hr_api.g_varchar2)

87: --
88: -- p_formula_name
89: --
90: if nvl(p_rec.formula_name, hr_api.g_varchar2) <>
91: nvl(pay_sf_shd.g_old_rec.formula_name, hr_api.g_varchar2)
92: then
93: l_argument := 'p_formula_name';
94: raise l_error;
95: end if;

Line 101: hr_api.argument_changed_error

97: hr_utility.set_location('Leaving:'||l_proc, 25);
98: exception
99: when l_error then
100: hr_utility.set_location('Leaving:'||l_proc, 30);
101: hr_api.argument_changed_error
102: (p_api_name => l_proc
103: ,p_argument => l_argument);
104: when others then
105: hr_utility.set_location('Leaving:'||l_proc, 35);

Line 142: hr_api.validate_bus_grp_id( p_business_group_id );

138: --
139: -- Validate business_group_id.
140: --
141: if p_business_group_id is not null then
142: hr_api.validate_bus_grp_id( p_business_group_id );
143: end if;
144: --
145: -- Validate legislation_code.
146: --

Line 215: hr_api.mandatory_arg_error

211: hr_utility.set_location('Entering:'||l_proc, 5);
212: --
213: -- Check that the name is not null.
214: --
215: hr_api.mandatory_arg_error
216: (p_api_name => l_proc
217: ,p_argument => 'p_formula_name'
218: ,p_argument_value => p_formula_name
219: );

Line 250: hr_api.return_legislation_code(p_business_group_id);

246: -- Get the legislation_code for the new template.
247: --
248: if p_business_group_id is not null then
249: l_legislation_code :=
250: hr_api.return_legislation_code(p_business_group_id);
251: else
252: l_legislation_code := p_legislation_code;
253: end if;
254: --

Line 303: hr_api.mandatory_arg_error

299: hr_utility.set_location('Entering:'||l_proc, 5);
300: --
301: -- Check that the template type is not null.
302: --
303: hr_api.mandatory_arg_error
304: (p_api_name => l_proc
305: ,p_argument => 'p_template_type'
306: ,p_argument_value => p_template_type
307: );

Line 312: hr_api.not_exists_in_hr_lookups

308: --
309: -- Validate against hr_lookups.
310: --
311: if p_template_type not in ('U','T') or
312: hr_api.not_exists_in_hr_lookups
313: (p_effective_date => p_effective_date
314: ,p_lookup_type => 'ELEMENT_TEMPLATE_TYPE'
315: ,p_lookup_code => p_template_type
316: )