435: where L.INSTALLED_FLAG in ('I', 'B')
436: AND BASE.INSTALLED_FLAG = 'B'
437: and not exists
438: (select NULL 439: from AP_POL_LOCATIONS_TL T 440: where T.LOCATION_ID = l_location_id
441: and T.LANGUAGE = L.LANGUAGE_CODE);
442:
443: if (p_location_type = 'CITY') then