DBA Data[Home] [Help]

APPS.PQH_DEL_BUS dependencies on PQH_DEL_SHD

Line 46: l_api_updating := pqh_del_shd.api_updating

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

Line 52: <> pqh_del_shd.g_old_rec.dflt_budget_element_id) then

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

Line 56: pqh_del_shd.constraint_error('PQH_DFLT_BUDGET_ELEMENTS_PK');

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

Line 66: pqh_del_shd.constraint_error('PQH_DFLT_BUDGET_ELEMENTS_PK');

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

Line 118: l_api_updating := pqh_del_shd.api_updating

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

Line 124: <> nvl(pqh_del_shd.g_old_rec.dflt_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_dflt_budget_set_id,hr_api.g_number)
124: <> nvl(pqh_del_shd.g_old_rec.dflt_budget_set_id,hr_api.g_number)
125: or not l_api_updating) then
126: --
127: -- check if dflt_budget_set_id value exists in pqh_dflt_budget_sets table
128: --

Line 139: pqh_del_shd.constraint_error('PQH_DFLT_BUDGET_ELEMENTS_FK1');

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

Line 255: Procedure insert_validate(p_rec in pqh_del_shd.g_rec_type) is

251: --
252: -- ----------------------------------------------------------------------------
253: -- |---------------------------< insert_validate >----------------------------|
254: -- ----------------------------------------------------------------------------
255: Procedure insert_validate(p_rec in pqh_del_shd.g_rec_type) is
256: --
257: l_proc varchar2(72) := g_package||'insert_validate';
258: --
259: Begin

Line 288: Procedure update_validate(p_rec in pqh_del_shd.g_rec_type) is

284: --
285: -- ----------------------------------------------------------------------------
286: -- |---------------------------< update_validate >----------------------------|
287: -- ----------------------------------------------------------------------------
288: Procedure update_validate(p_rec in pqh_del_shd.g_rec_type) is
289: --
290: l_proc varchar2(72) := g_package||'update_validate';
291: --
292: Begin

Line 322: Procedure delete_validate(p_rec in pqh_del_shd.g_rec_type) is

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