DBA Data[Home] [Help]

APPS.PQH_TTM_BUS dependencies on PQH_TTM_SHD

Line 46: l_api_updating := pqh_ttm_shd.api_updating

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

Line 52: <> pqh_ttm_shd.g_old_rec.transaction_template_id) then

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

Line 56: pqh_ttm_shd.constraint_error('PQH_TRANSACTION_TEMPLATE_PK');

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

Line 66: pqh_ttm_shd.constraint_error('PQH_TRANSACTION_TEMPLATE_PK');

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

Line 118: l_api_updating := pqh_ttm_shd.api_updating

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

Line 124: <> nvl(pqh_ttm_shd.g_old_rec.template_id,hr_api.g_number)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and nvl(p_template_id,hr_api.g_number)
124: <> nvl(pqh_ttm_shd.g_old_rec.template_id,hr_api.g_number)
125: or not l_api_updating) then
126: --
127: -- check if template_id value exists in pqh_templates table
128: --

Line 139: pqh_ttm_shd.constraint_error('PQH_TRANSACTION_TEMPLATE_FK2');

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

Line 193: l_api_updating := pqh_ttm_shd.api_updating

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

Line 199: <> nvl(pqh_ttm_shd.g_old_rec.transaction_category_id,hr_api.g_number)

195: p_object_version_number => p_object_version_number);
196: --
197: if (l_api_updating
198: and nvl(p_transaction_category_id,hr_api.g_number)
199: <> nvl(pqh_ttm_shd.g_old_rec.transaction_category_id,hr_api.g_number)
200: or not l_api_updating) then
201: --
202: -- check if transaction_category_id value exists in pqh_transaction_categories table
203: --

Line 214: pqh_ttm_shd.constraint_error('PQH_TRANSACTION_TEMPLATE_FK1');

210: --
211: -- raise error as FK does not relate to PK in pqh_transaction_categories
212: -- table.
213: --
214: pqh_ttm_shd.constraint_error('PQH_TRANSACTION_TEMPLATE_FK1');
215: --
216: end if;
217: --
218: close c1;

Line 264: l_api_updating := pqh_ttm_shd.api_updating

260: Begin
261: --
262: hr_utility.set_location('Entering:'||l_proc, 5);
263: --
264: l_api_updating := pqh_ttm_shd.api_updating
265: (p_transaction_template_id => p_transaction_template_id,
266: p_object_version_number => p_object_version_number);
267: --
268: if (l_api_updating

Line 270: <> nvl(pqh_ttm_shd.g_old_rec.enable_flag,hr_api.g_varchar2)

266: p_object_version_number => p_object_version_number);
267: --
268: if (l_api_updating
269: and p_enable_flag
270: <> nvl(pqh_ttm_shd.g_old_rec.enable_flag,hr_api.g_varchar2)
271: or not l_api_updating)
272: and p_enable_flag is not null then
273: --
274: -- check if value of lookup falls within lookup type.

Line 297: Procedure insert_validate(p_rec in pqh_ttm_shd.g_rec_type

293: --
294: -- ----------------------------------------------------------------------------
295: -- |---------------------------< insert_validate >----------------------------|
296: -- ----------------------------------------------------------------------------
297: Procedure insert_validate(p_rec in pqh_ttm_shd.g_rec_type
298: ,p_effective_date in date) is
299: --
300: l_proc varchar2(72) := g_package||'insert_validate';
301: --

Line 335: Procedure update_validate(p_rec in pqh_ttm_shd.g_rec_type

331: --
332: -- ----------------------------------------------------------------------------
333: -- |---------------------------< update_validate >----------------------------|
334: -- ----------------------------------------------------------------------------
335: Procedure update_validate(p_rec in pqh_ttm_shd.g_rec_type
336: ,p_effective_date in date) is
337: --
338: l_proc varchar2(72) := g_package||'update_validate';
339: --

Line 373: Procedure delete_validate(p_rec in pqh_ttm_shd.g_rec_type

369: --
370: -- ----------------------------------------------------------------------------
371: -- |---------------------------< delete_validate >----------------------------|
372: -- ----------------------------------------------------------------------------
373: Procedure delete_validate(p_rec in pqh_ttm_shd.g_rec_type
374: ,p_effective_date in date) is
375: --
376: l_proc varchar2(72) := g_package||'delete_validate';
377: --