DBA Data[Home] [Help]

APPS.BEN_CRP_BUS dependencies on BEN_CRP_SHD

Line 46: l_api_updating := ben_crp_shd.api_updating

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

Line 52: <> ben_crp_shd.g_old_rec.cbr_per_in_ler_id) then

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

Line 56: ben_crp_shd.constraint_error('BEN_CBR_PER_IN_LER_PK');

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

Line 66: ben_crp_shd.constraint_error('BEN_CBR_PER_IN_LER_PK');

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

Line 118: l_api_updating := ben_crp_shd.api_updating

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

Line 124: <> nvl(ben_crp_shd.g_old_rec.cbr_quald_bnf_id,hr_api.g_number)

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

Line 139: ben_crp_shd.constraint_error('BEN_CBR_PER_IN_LER_FK1');

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

Line 189: l_api_updating := ben_crp_shd.api_updating

185: Begin
186: --
187: hr_utility.set_location('Entering:'||l_proc, 5);
188: --
189: l_api_updating := ben_crp_shd.api_updating
190: (p_cbr_per_in_ler_id => p_cbr_per_in_ler_id,
191: p_object_version_number => p_object_version_number);
192: --
193: if (l_api_updating

Line 195: <> nvl(ben_crp_shd.g_old_rec.init_evt_flag,hr_api.g_varchar2)

191: p_object_version_number => p_object_version_number);
192: --
193: if (l_api_updating
194: and p_init_evt_flag
195: <> nvl(ben_crp_shd.g_old_rec.init_evt_flag,hr_api.g_varchar2)
196: or not l_api_updating) then
197: --
198: -- check if value of lookup falls within lookup type.
199: --

Line 225: Procedure insert_validate(p_rec in ben_crp_shd.g_rec_type

221: --
222: -- ----------------------------------------------------------------------------
223: -- |---------------------------< insert_validate >----------------------------|
224: -- ----------------------------------------------------------------------------
225: Procedure insert_validate(p_rec in ben_crp_shd.g_rec_type
226: ,p_effective_date in date) is
227: --
228: l_proc varchar2(72) := g_package||'insert_validate';
229: --

Line 259: Procedure update_validate(p_rec in ben_crp_shd.g_rec_type

255: --
256: -- ----------------------------------------------------------------------------
257: -- |---------------------------< update_validate >----------------------------|
258: -- ----------------------------------------------------------------------------
259: Procedure update_validate(p_rec in ben_crp_shd.g_rec_type
260: ,p_effective_date in date) is
261: --
262: l_proc varchar2(72) := g_package||'update_validate';
263: --

Line 293: Procedure delete_validate(p_rec in ben_crp_shd.g_rec_type

289: --
290: -- ----------------------------------------------------------------------------
291: -- |---------------------------< delete_validate >----------------------------|
292: -- ----------------------------------------------------------------------------
293: Procedure delete_validate(p_rec in ben_crp_shd.g_rec_type
294: ,p_effective_date in date) is
295: --
296: l_proc varchar2(72) := g_package||'delete_validate';
297: --