DBA Data[Home] [Help]

APPS.PQH_BEL_BUS dependencies on PQH_BEL_SHD

Line 46: l_api_updating := pqh_bel_shd.api_updating

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

Line 52: <> pqh_bel_shd.g_old_rec.budget_element_id) then

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

Line 56: pqh_bel_shd.constraint_error('PQH_BUDGET_ELEMENT_PK');

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

Line 66: pqh_bel_shd.constraint_error('PQH_BUDGET_ELEMENT_PK');

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

Line 118: l_api_updating := pqh_bel_shd.api_updating

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

Line 124: <> nvl(pqh_bel_shd.g_old_rec.budget_set_id,hr_api.g_number)

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

Line 139: pqh_bel_shd.constraint_error('PQH_BUDGET_ELEMENTS_FK2');

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

Line 173: l_api_updating := pqh_bel_shd.api_updating

169: Begin
170: --
171: hr_utility.set_location('Entering:'||l_proc,5);
172: --
173: l_api_updating := pqh_bel_shd.api_updating
174: (p_budget_element_id => p_budget_element_id,
175: p_object_version_number => p_object_version_number);
176: --
177: if (l_api_updating

Line 179: <> nvl(pqh_bel_shd.g_old_rec.element_type_id,hr_api.g_number)

175: p_object_version_number => p_object_version_number);
176: --
177: if (l_api_updating
178: and nvl(p_element_type_id,hr_api.g_number)
179: <> nvl(pqh_bel_shd.g_old_rec.element_type_id,hr_api.g_number)
180: or not l_api_updating) then
181:
182: --
183: -- check if element_type_id value exists in pay_element_types_f table

Line 213: Procedure insert_validate(p_rec in pqh_bel_shd.g_rec_type) is

209: --
210: -- ----------------------------------------------------------------------------
211: -- |---------------------------< insert_validate >----------------------------|
212: -- ----------------------------------------------------------------------------
213: Procedure insert_validate(p_rec in pqh_bel_shd.g_rec_type) is
214: --
215: l_proc varchar2(72) := g_package||'insert_validate';
216: --
217: Begin

Line 243: Procedure update_validate(p_rec in pqh_bel_shd.g_rec_type) is

239: --
240: -- ----------------------------------------------------------------------------
241: -- |---------------------------< update_validate >----------------------------|
242: -- ----------------------------------------------------------------------------
243: Procedure update_validate(p_rec in pqh_bel_shd.g_rec_type) is
244: --
245: l_proc varchar2(72) := g_package||'update_validate';
246: --
247: Begin

Line 273: Procedure delete_validate(p_rec in pqh_bel_shd.g_rec_type) is

269: --
270: -- ----------------------------------------------------------------------------
271: -- |---------------------------< delete_validate >----------------------------|
272: -- ----------------------------------------------------------------------------
273: Procedure delete_validate(p_rec in pqh_bel_shd.g_rec_type) is
274: --
275: l_proc varchar2(72) := g_package||'delete_validate';
276: --
277: Begin