DBA Data[Home] [Help]

APPS.PQH_PLG_BUS dependencies on PQH_PLG_SHD

Line 46: l_api_updating := pqh_plg_shd.api_updating

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

Line 52: <> pqh_plg_shd.g_old_rec.process_log_id) then

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

Line 56: pqh_plg_shd.constraint_error('PQH_PROCESS_LOG_PK');

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

Line 66: pqh_plg_shd.constraint_error('PQH_PROCESS_LOG_PK');

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

Line 118: l_api_updating := pqh_plg_shd.api_updating

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

Line 124: <> nvl(pqh_plg_shd.g_old_rec.txn_table_route_id,hr_api.g_number)

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

Line 140: pqh_plg_shd.constraint_error('PQH_PROCESS_LOG_FK2');

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

Line 194: l_api_updating := pqh_plg_shd.api_updating

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

Line 200: <> nvl(pqh_plg_shd.g_old_rec.master_process_log_id,hr_api.g_number)

196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating
199: and nvl(p_master_process_log_id,hr_api.g_number)
200: <> nvl(pqh_plg_shd.g_old_rec.master_process_log_id,hr_api.g_number)
201: or not l_api_updating) and
202: p_master_process_log_id is not null then
203: --
204: -- check if master_process_log_id value exists in pqh_process_log table

Line 216: pqh_plg_shd.constraint_error('PQH_PROCESS_LOG_FK1');

212: --
213: -- raise error as FK does not relate to PK in pqh_process_log
214: -- table.
215: --
216: pqh_plg_shd.constraint_error('PQH_PROCESS_LOG_FK1');
217: --
218: end if;
219: --
220: close c1;

Line 266: l_api_updating := pqh_plg_shd.api_updating

262: Begin
263: --
264: hr_utility.set_location('Entering:'||l_proc, 5);
265: --
266: l_api_updating := pqh_plg_shd.api_updating
267: (p_process_log_id => p_process_log_id,
268: p_object_version_number => p_object_version_number);
269: --
270: if (l_api_updating

Line 272: <> nvl(pqh_plg_shd.g_old_rec.message_type_cd,hr_api.g_varchar2)

268: p_object_version_number => p_object_version_number);
269: --
270: if (l_api_updating
271: and p_message_type_cd
272: <> nvl(pqh_plg_shd.g_old_rec.message_type_cd,hr_api.g_varchar2)
273: or not l_api_updating) then
274: --
275: -- check if value of lookup falls within lookup type.
276: --

Line 300: Procedure insert_validate(p_rec in pqh_plg_shd.g_rec_type

296: --
297: -- ----------------------------------------------------------------------------
298: -- |---------------------------< insert_validate >----------------------------|
299: -- ----------------------------------------------------------------------------
300: Procedure insert_validate(p_rec in pqh_plg_shd.g_rec_type
301: ,p_effective_date in date) is
302: --
303: l_proc varchar2(72) := g_package||'insert_validate';
304: --

Line 339: Procedure update_validate(p_rec in pqh_plg_shd.g_rec_type

335: --
336: -- ----------------------------------------------------------------------------
337: -- |---------------------------< update_validate >----------------------------|
338: -- ----------------------------------------------------------------------------
339: Procedure update_validate(p_rec in pqh_plg_shd.g_rec_type
340: ,p_effective_date in date) is
341: --
342: l_proc varchar2(72) := g_package||'update_validate';
343: --

Line 378: Procedure delete_validate(p_rec in pqh_plg_shd.g_rec_type

374: --
375: -- ----------------------------------------------------------------------------
376: -- |---------------------------< delete_validate >----------------------------|
377: -- ----------------------------------------------------------------------------
378: Procedure delete_validate(p_rec in pqh_plg_shd.g_rec_type
379: ,p_effective_date in date) is
380: --
381: l_proc varchar2(72) := g_package||'delete_validate';
382: --