DBA Data[Home] [Help]

VIEW: APPS.AP_SHIPPING_NETWORK_LOCATIONS

Source

View Text - Preformatted

SELECT hrl.location_id, hrtl.location_code, hrtl.description, hrl.inventory_organization_id, ood.organization_name, ood.organization_code, hrl.address_line_1||' '||hrl.town_or_city||' '||hrl.region_1 address from org_organization_definitions ood, hr_locations_all hrl, hr_locations_all_tl hrtl WHERE ood.organization_id(+) = hrl.inventory_organization_id and nvl(hrl.inactive_date, sysdate + 1) > sysdate and hrl.location_id = hrtl.location_id and hrtl.language = userenv('LANG') and (nvl(hrl.business_group_id, nvl(hr_general.get_business_group_id, -99)) = nvl(hr_general.get_business_group_id, -99))
View Text - HTML Formatted

SELECT HRL.LOCATION_ID
, HRTL.LOCATION_CODE
, HRTL.DESCRIPTION
, HRL.INVENTORY_ORGANIZATION_ID
, OOD.ORGANIZATION_NAME
, OOD.ORGANIZATION_CODE
, HRL.ADDRESS_LINE_1||' '||HRL.TOWN_OR_CITY||' '||HRL.REGION_1 ADDRESS
FROM ORG_ORGANIZATION_DEFINITIONS OOD
, HR_LOCATIONS_ALL HRL
, HR_LOCATIONS_ALL_TL HRTL
WHERE OOD.ORGANIZATION_ID(+) = HRL.INVENTORY_ORGANIZATION_ID
AND NVL(HRL.INACTIVE_DATE
, SYSDATE + 1) > SYSDATE
AND HRL.LOCATION_ID = HRTL.LOCATION_ID
AND HRTL.LANGUAGE = USERENV('LANG')
AND (NVL(HRL.BUSINESS_GROUP_ID
, NVL(HR_GENERAL.GET_BUSINESS_GROUP_ID
, -99)) = NVL(HR_GENERAL.GET_BUSINESS_GROUP_ID
, -99))