DBA Data[Home] [Help]

APPS.JTF_TERR_DEFINITION_REPORT_PVT dependencies on JTF_TERR_ALL

Line 371: select terr_id, wf_notification.substitutespecialchars(name) name, rank from jtf_terr_all

367: p_territory_type_id as_territories.territory_type_id%type ;
368:
369: -- cursor of result territory searches with resource and qualifier restrictions
370: CURSOR cur_terr is
371: select terr_id, wf_notification.substitutespecialchars(name) name, rank from jtf_terr_all
372: where terr_id in
373: (select jtr.terr_id from jtf_terr_rsc jtr, jtf_terr_qual jtq
374: where jtr.terr_id = jtq.terr_id
375: and jtr.resource_id = decode(l_srp,-1,jtr.resource_id,l_srp)