DBA Data[Home] [Help]

APPS.PQH_WEL_BUS dependencies on PQH_WEL_SHD

Line 46: l_api_updating := pqh_wel_shd.api_updating

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

Line 52: <> pqh_wel_shd.g_old_rec.worksheet_bdgt_elmnt_id) then

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

Line 56: pqh_wel_shd.constraint_error('PQH_WORKSHEET_BDGT_ELMNTS_PK');

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

Line 66: pqh_wel_shd.constraint_error('PQH_WORKSHEET_BDGT_ELMNTS_PK');

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

Line 118: l_api_updating := pqh_wel_shd.api_updating

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

Line 124: <> nvl(pqh_wel_shd.g_old_rec.worksheet_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_worksheet_budget_set_id,hr_api.g_number)
124: <> nvl(pqh_wel_shd.g_old_rec.worksheet_budget_set_id,hr_api.g_number)
125: or not l_api_updating) then
126: --
127: -- check if worksheet_budget_set_id value exists in pqh_worksheet_budget_sets table
128: --

Line 139: pqh_wel_shd.constraint_error('PQH_WORKSHEET_BDGT_ELMNTS_FK2');

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

Line 174: l_api_updating := pqh_wel_shd.api_updating

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

Line 180: <> nvl(pqh_wel_shd.g_old_rec.element_type_id,hr_api.g_number)

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

Line 221: l_api_updating := pqh_wel_shd.api_updating

217: Begin
218: --
219: hr_utility.set_location('Entering:'||l_proc,5);
220: --
221: l_api_updating := pqh_wel_shd.api_updating
222: (p_worksheet_bdgt_elmnt_id => p_worksheet_bdgt_elmnt_id,
223: p_object_version_number => p_object_version_number);
224: --
225: if (l_api_updating

Line 227: <> nvl(pqh_wel_shd.g_old_rec.distribution_percentage,hr_api.g_number)

223: p_object_version_number => p_object_version_number);
224: --
225: if (l_api_updating
226: and nvl(p_distribution_percentage,hr_api.g_number)
227: <> nvl(pqh_wel_shd.g_old_rec.distribution_percentage,hr_api.g_number)
228: or not l_api_updating)
229: and p_distribution_percentage is not null then
230: --
231: -- check if worksheet_budget_set_id value exists in pqh_worksheet_budget_sets table

Line 247: Procedure insert_validate(p_rec in pqh_wel_shd.g_rec_type) is

243: --
244: -- ----------------------------------------------------------------------------
245: -- |---------------------------< insert_validate >----------------------------|
246: -- ----------------------------------------------------------------------------
247: Procedure insert_validate(p_rec in pqh_wel_shd.g_rec_type) is
248: --
249: l_proc varchar2(72) := g_package||'insert_validate';
250: --
251: Begin

Line 284: Procedure update_validate(p_rec in pqh_wel_shd.g_rec_type) is

280: --
281: -- ----------------------------------------------------------------------------
282: -- |---------------------------< update_validate >----------------------------|
283: -- ----------------------------------------------------------------------------
284: Procedure update_validate(p_rec in pqh_wel_shd.g_rec_type) is
285: --
286: l_proc varchar2(72) := g_package||'update_validate';
287: --
288: Begin

Line 321: Procedure delete_validate(p_rec in pqh_wel_shd.g_rec_type) is

317: --
318: -- ----------------------------------------------------------------------------
319: -- |---------------------------< delete_validate >----------------------------|
320: -- ----------------------------------------------------------------------------
321: Procedure delete_validate(p_rec in pqh_wel_shd.g_rec_type) is
322: --
323: l_proc varchar2(72) := g_package||'delete_validate';
324: --
325: Begin