DBA Data[Home] [Help]

APPS.PQH_DFS_BUS dependencies on PQH_DFS_SHD

Line 46: l_api_updating := pqh_dfs_shd.api_updating

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

Line 52: <> pqh_dfs_shd.g_old_rec.dflt_fund_src_id) then

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

Line 56: pqh_dfs_shd.constraint_error('PQH_DFLT_FUND_SRCS_PK');

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

Line 66: pqh_dfs_shd.constraint_error('PQH_DFLT_FUND_SRCS_PK');

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

Line 118: l_api_updating := pqh_dfs_shd.api_updating

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

Line 124: <> nvl(pqh_dfs_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_dfs_shd.g_old_rec.cost_allocation_keyflex_id,hr_api.g_number)
125: or not l_api_updating) and
126: p_cost_allocation_keyflex_id is not null then
127: --
128: -- check if cost_allocation_keyflex_id value exists in pay_cost_allocation_keyflex table

Line 140: pqh_dfs_shd.constraint_error('PQH_DFLT_FUND_SRCS_FK2');

136: --
137: -- raise error as FK does not relate to PK in pay_cost_allocation_keyflex
138: -- table.
139: --
140: pqh_dfs_shd.constraint_error('PQH_DFLT_FUND_SRCS_FK2');
141: --
142: end if;
143: --
144: close c1;

Line 194: l_api_updating := pqh_dfs_shd.api_updating

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

Line 200: <> nvl(pqh_dfs_shd.g_old_rec.dflt_budget_element_id,hr_api.g_number)

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

Line 215: pqh_dfs_shd.constraint_error('PQH_DFLT_FUND_SRCS_FK1');

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

Line 358: Procedure insert_validate(p_rec in pqh_dfs_shd.g_rec_type) is

354: --
355: -- ----------------------------------------------------------------------------
356: -- |---------------------------< insert_validate >----------------------------|
357: -- ----------------------------------------------------------------------------
358: Procedure insert_validate(p_rec in pqh_dfs_shd.g_rec_type) is
359: --
360: l_proc varchar2(72) := g_package||'insert_validate';
361: --
362: Begin

Line 401: Procedure update_validate(p_rec in pqh_dfs_shd.g_rec_type) is

397: --
398: -- ----------------------------------------------------------------------------
399: -- |---------------------------< update_validate >----------------------------|
400: -- ----------------------------------------------------------------------------
401: Procedure update_validate(p_rec in pqh_dfs_shd.g_rec_type) is
402: --
403: l_proc varchar2(72) := g_package||'update_validate';
404: --
405: Begin

Line 446: Procedure delete_validate(p_rec in pqh_dfs_shd.g_rec_type) is

442: --
443: -- ----------------------------------------------------------------------------
444: -- |---------------------------< delete_validate >----------------------------|
445: -- ----------------------------------------------------------------------------
446: Procedure delete_validate(p_rec in pqh_dfs_shd.g_rec_type) is
447: --
448: l_proc varchar2(72) := g_package||'delete_validate';
449: --
450: Begin