DBA Data[Home] [Help]

APPS.PQH_WFS_BUS dependencies on PQH_WFS_SHD

Line 46: l_api_updating := pqh_wfs_shd.api_updating

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

Line 52: <> pqh_wfs_shd.g_old_rec.worksheet_fund_src_id) then

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

Line 56: pqh_wfs_shd.constraint_error('PQH_WORKSHEET_FUND_SRCS_PK');

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

Line 66: pqh_wfs_shd.constraint_error('PQH_WORKSHEET_FUND_SRCS_PK');

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

Line 118: l_api_updating := pqh_wfs_shd.api_updating

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

Line 124: <> nvl(pqh_wfs_shd.g_old_rec.cost_allocation_keyflex_id,hr_api.g_number)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and nvl(p_cost_allocation_keyflex_id,hr_api.g_number)
124: <> nvl(pqh_wfs_shd.g_old_rec.cost_allocation_keyflex_id,hr_api.g_number)
125: or not l_api_updating) and p_cost_allocation_keyflex_id is not null then
126: --
127: -- check if cost_allocation_keyflex_id value exists in pay_cost_allocation_keyflex table
128: --

Line 194: l_api_updating := pqh_wfs_shd.api_updating

190: Begin
191: --
192: hr_utility.set_location('Entering:'||l_proc,5);
193: --
194: l_api_updating := pqh_wfs_shd.api_updating
195: (p_worksheet_fund_src_id => p_worksheet_fund_src_id,
196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating

Line 200: <> nvl(pqh_wfs_shd.g_old_rec.worksheet_bdgt_elmnt_id,hr_api.g_number)

196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating
199: and nvl(p_worksheet_bdgt_elmnt_id,hr_api.g_number)
200: <> nvl(pqh_wfs_shd.g_old_rec.worksheet_bdgt_elmnt_id,hr_api.g_number)
201: or not l_api_updating) then
202: --
203: -- check if worksheet_bdgt_elmnt_id value exists in pqh_worksheet_bdgt_elmnts table
204: --

Line 215: pqh_wfs_shd.constraint_error('PQH_WORKSHEET_FUND_SRCS_FK1');

211: --
212: -- raise error as FK does not relate to PK in pqh_worksheet_bdgt_elmnts
213: -- table.
214: --
215: pqh_wfs_shd.constraint_error('PQH_WORKSHEET_FUND_SRCS_FK1');
216: --
217: end if;
218: --
219: close c1;

Line 307: l_api_updating := pqh_wfs_shd.api_updating

303: Begin
304: --
305: hr_utility.set_location('Entering:'||l_proc,5);
306: --
307: l_api_updating := pqh_wfs_shd.api_updating
308: (p_worksheet_fund_src_id => p_worksheet_fund_src_id,
309: p_object_version_number => p_object_version_number);
310: --
311: if (l_api_updating

Line 333: Procedure insert_validate(p_rec in pqh_wfs_shd.g_rec_type) is

329: --
330: -- ----------------------------------------------------------------------------
331: -- |---------------------------< insert_validate >----------------------------|
332: -- ----------------------------------------------------------------------------
333: Procedure insert_validate(p_rec in pqh_wfs_shd.g_rec_type) is
334: --
335: l_proc varchar2(72) := g_package||'insert_validate';
336: --
337: Begin

Line 378: Procedure update_validate(p_rec in pqh_wfs_shd.g_rec_type) is

374: --
375: -- ----------------------------------------------------------------------------
376: -- |---------------------------< update_validate >----------------------------|
377: -- ----------------------------------------------------------------------------
378: Procedure update_validate(p_rec in pqh_wfs_shd.g_rec_type) is
379: --
380: l_proc varchar2(72) := g_package||'update_validate';
381: --
382: Begin

Line 424: Procedure delete_validate(p_rec in pqh_wfs_shd.g_rec_type) is

420: --
421: -- ----------------------------------------------------------------------------
422: -- |---------------------------< delete_validate >----------------------------|
423: -- ----------------------------------------------------------------------------
424: Procedure delete_validate(p_rec in pqh_wfs_shd.g_rec_type) is
425: --
426: l_proc varchar2(72) := g_package||'delete_validate';
427: --
428: Begin