DBA Data[Home] [Help]

APPS.PAY_NCR_BUS dependencies on PAY_NET_CALCULATION_RULES

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 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 242: from pay_net_calculation_rules

238: l_dummy number;
239:
240: cursor c_get_duplicate is
241: select 1
242: from pay_net_calculation_rules
243: where accrual_plan_id = p_accrual_plan_id
244: and input_value_id = p_input_value_id
245: and date_input_value_id = p_date_input_value_id
246: and net_calculation_rule_id <> nvl(p_net_calc_rule_id, -1);

Line 370: pay_net_calculation_rules b

366: --
367: cursor csr_leg_code is
368: select a.legislation_code
369: from per_business_groups a,
370: pay_net_calculation_rules b
371: where b.net_calculation_rule_id = p_net_calculation_rule_id
372: and a.business_group_id = b.business_group_id;
373: --
374: -- Declare local variables