DBA Data[Home] [Help]

APPS.HZ_PURGE_GEN dependencies on JTF_TERR_VALUES_ALL

Line 2427: (select 'Y' from JTF_TERR_VALUES_ALL

2423: or exists (select 'Y' from HZ_PARTY_SITES
2424: xx where xx.PARTY_ID = temp.party_id
2425: and (nvl(STATUS, 'A') in ('A','I'))
2426: and exists
2427: (select 'Y' from JTF_TERR_VALUES_ALL
2428: yy where yy.LOW_VALUE_CHAR_ID=xx.PARTY_SITE_ID
2429: and TERR_QUAL_ID in ( select TERR_QUAL_ID from JTF_TERR_QUAL_ALL where QUAL_USG_ID in (-1511, -1435, -1078, -1064, -1063, -1037, -1014, -1002, -1001))))
2430:
2431: or exists (select 'Y' from JTF_TERR_VALUES_ALL xx where xx.LOW_VALUE_CHAR_ID = temp.party_id

Line 2431: or exists (select 'Y' from JTF_TERR_VALUES_ALL xx where xx.LOW_VALUE_CHAR_ID = temp.party_id

2427: (select 'Y' from JTF_TERR_VALUES_ALL
2428: yy where yy.LOW_VALUE_CHAR_ID=xx.PARTY_SITE_ID
2429: and TERR_QUAL_ID in ( select TERR_QUAL_ID from JTF_TERR_QUAL_ALL where QUAL_USG_ID in (-1511, -1435, -1078, -1064, -1063, -1037, -1014, -1002, -1001))))
2430:
2431: or exists (select 'Y' from JTF_TERR_VALUES_ALL xx where xx.LOW_VALUE_CHAR_ID = temp.party_id
2432: and (TERR_QUAL_ID in ( select TERR_QUAL_ID from JTF_TERR_QUAL_ALL where QUAL_USG_ID in (-1511, -1435, -1078, -1064, -1063, -1037, -1014, -1002, -1001))))
2433:
2434: or exists (select 'Y' from JTF_TASK_ASSIGNMENTS xx where xx.RESOURCE_ID = temp.party_id
2435: and (RESOURCE_TYPE_CODE IN (SELECT object_code FROM jtf_objects_b WHERE LTRIM(RTRIM(UPPER(from_table))) = 'HZ_PARTIES' AND RTRIM(LTRIM(UPPER(select_id))) = 'PARTY_ID')))

Line 2613: (select 'Y' from JTF_TERR_VALUES_ALL

2609: or exists (select 'Y' from HZ_PARTY_SITES
2610: xx where xx.PARTY_ID = temp.party_id
2611: and (nvl(STATUS, 'A') in ('A','I'))
2612: and exists
2613: (select 'Y' from JTF_TERR_VALUES_ALL
2614: yy where yy.LOW_VALUE_CHAR_ID=xx.PARTY_SITE_ID
2615: and TERR_QUAL_ID in ( select TERR_QUAL_ID from JTF_TERR_QUAL_ALL where QUAL_USG_ID in (-1511, -1435, -1078, -1064, -1063, -1037, -1014, -1002, -1001))))
2616:
2617: or exists (select 'Y' from JTF_TERR_VALUES_ALL xx where xx.LOW_VALUE_CHAR_ID = temp.party_id

Line 2617: or exists (select 'Y' from JTF_TERR_VALUES_ALL xx where xx.LOW_VALUE_CHAR_ID = temp.party_id

2613: (select 'Y' from JTF_TERR_VALUES_ALL
2614: yy where yy.LOW_VALUE_CHAR_ID=xx.PARTY_SITE_ID
2615: and TERR_QUAL_ID in ( select TERR_QUAL_ID from JTF_TERR_QUAL_ALL where QUAL_USG_ID in (-1511, -1435, -1078, -1064, -1063, -1037, -1014, -1002, -1001))))
2616:
2617: or exists (select 'Y' from JTF_TERR_VALUES_ALL xx where xx.LOW_VALUE_CHAR_ID = temp.party_id
2618: and (TERR_QUAL_ID in ( select TERR_QUAL_ID from JTF_TERR_QUAL_ALL where QUAL_USG_ID in (-1511, -1435, -1078, -1064, -1063, -1037, -1014, -1002, -1001))))
2619:
2620: or exists (select 'Y' from JTF_TASK_ASSIGNMENTS xx where xx.RESOURCE_ID = temp.party_id
2621: and (RESOURCE_TYPE_CODE IN (SELECT object_code FROM jtf_objects_b WHERE LTRIM(RTRIM(UPPER(from_table))) = 'HZ_PARTIES' AND RTRIM(LTRIM(UPPER(select_id))) = 'PARTY_ID')))