DBA Data[Home] [Help]

APPS.PQH_RTM_BUS dependencies on PQH_TRANSACTION_CATEGORIES

Line 187: from pqh_transaction_categories a

183: l_dummy varchar2(1);
184: --
185: cursor c1 is
186: select null
187: from pqh_transaction_categories a
188: where a.transaction_category_id = p_transaction_category_id;
189: --
190: Begin
191: --

Line 203: -- check if transaction_category_id value exists in pqh_transaction_categories table

199: and nvl(p_transaction_category_id,hr_api.g_number)
200: <> nvl(pqh_rtm_shd.g_old_rec.transaction_category_id,hr_api.g_number)
201: or not l_api_updating) then
202: --
203: -- check if transaction_category_id value exists in pqh_transaction_categories table
204: --
205: open c1;
206: --
207: fetch c1 into l_dummy;

Line 212: -- raise error as FK does not relate to PK in pqh_transaction_categories

208: if c1%notfound then
209: --
210: close c1;
211: --
212: -- raise error as FK does not relate to PK in pqh_transaction_categories
213: -- table.
214: --
215: pqh_rtm_shd.constraint_error('PQH_ROLE_TEMPLATES_FK2');
216: --

Line 405: pqh_transaction_categories ptc

401: cursor c_txn_cats(p_role_id number) is
402: select distinct ptc.transaction_category_id, ptc.name transaction_category,
403: ptc.business_group_id
404: from pqh_routing_list_members rlm, pqh_routing_categories rct,
405: pqh_transaction_categories ptc
406: where rlm.routing_list_id = rct.routing_list_id
407: and rlm.role_id = p_role_id
408: and rct.transaction_category_id=ptc.transaction_category_id;
409: --