DBA Data[Home] [Help]

APPS.PAY_NCR_BUS dependencies on PAY_NCR_SHD

Line 46: l_api_updating := pay_ncr_shd.api_updating

42: Begin
43: --
44: hr_utility.set_location('Entering:'||l_proc, 5);
45: --
46: l_api_updating := pay_ncr_shd.api_updating
47: (p_net_calculation_rule_id => p_net_calculation_rule_id,
48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating

Line 52: <> pay_ncr_shd.g_old_rec.net_calculation_rule_id) then

48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating
51: and nvl(p_net_calculation_rule_id,hr_api.g_number)
52: <> pay_ncr_shd.g_old_rec.net_calculation_rule_id) then
53: --
54: -- raise error as PK has changed
55: --
56: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_PK');

Line 56: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_PK');

52: <> pay_ncr_shd.g_old_rec.net_calculation_rule_id) then
53: --
54: -- raise error as PK has changed
55: --
56: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_PK');
57: --
58: elsif not l_api_updating then
59: --
60: -- check if PK is null

Line 66: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_PK');

62: if p_net_calculation_rule_id is not null then
63: --
64: -- raise error as PK is not null
65: --
66: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_PK');
67: --
68: end if;
69: --
70: end if;

Line 118: l_api_updating := pay_ncr_shd.api_updating

114: Begin
115: --
116: hr_utility.set_location('Entering:'||l_proc,5);
117: --
118: l_api_updating := pay_ncr_shd.api_updating
119: (p_net_calculation_rule_id => p_net_calculation_rule_id,
120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating

Line 124: <> nvl(pay_ncr_shd.g_old_rec.accrual_plan_id,hr_api.g_number)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and nvl(p_accrual_plan_id,hr_api.g_number)
124: <> nvl(pay_ncr_shd.g_old_rec.accrual_plan_id,hr_api.g_number)
125: or not l_api_updating) then
126: --
127: -- check if accrual_plan_id value exists in pay_accrual_plans table
128: --

Line 139: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_FK1');

135: --
136: -- raise error as FK does not relate to PK in pay_accrual_plans
137: -- table.
138: --
139: pay_ncr_shd.constraint_error('PAY_NET_CALCULATION_RULES_FK1');
140: --
141: end if;
142: --
143: close c1;

Line 275: Procedure insert_validate(p_rec in pay_ncr_shd.g_rec_type) is

271: --
272: -- ----------------------------------------------------------------------------
273: -- |---------------------------< insert_validate >----------------------------|
274: -- ----------------------------------------------------------------------------
275: Procedure insert_validate(p_rec in pay_ncr_shd.g_rec_type) is
276: --
277: l_proc varchar2(72) := g_package||'insert_validate';
278: --
279: Begin

Line 310: Procedure update_validate(p_rec in pay_ncr_shd.g_rec_type) is

306: --
307: -- ----------------------------------------------------------------------------
308: -- |---------------------------< update_validate >----------------------------|
309: -- ----------------------------------------------------------------------------
310: Procedure update_validate(p_rec in pay_ncr_shd.g_rec_type) is
311: --
312: l_proc varchar2(72) := g_package||'update_validate';
313: --
314: Begin

Line 345: Procedure delete_validate(p_rec in pay_ncr_shd.g_rec_type) is

341: --
342: -- ----------------------------------------------------------------------------
343: -- |---------------------------< delete_validate >----------------------------|
344: -- ----------------------------------------------------------------------------
345: Procedure delete_validate(p_rec in pay_ncr_shd.g_rec_type) is
346: --
347: l_proc varchar2(72) := g_package||'delete_validate';
348: --
349: Begin