Search Results hr_locations_v
Overview
HR_LOCATIONS_V is an APPS-owned database view in the Oracle E-Business Suite PER (Human Resources) product module. The ETRM documentation describes its purpose succinctly: "Used to support user interface." In practice, HR_LOCATIONS_V is the presentation-layer view through which Oracle HRMS forms, list-of-values windows, and self-service pages render location records to end users. It is not a transactional table, and no data is stored in it; every column resolves at query time against the underlying HR location tables and lookup definitions.
Because it exposes decoded, user-facing values — most importantly the meaning strings for the ship-to, bill-to, office, receiving, and internal site flags — the view is widely reused as a reporting and integration surface. Developers searching on "ship_to_site" typically arrive here because HR_LOCATIONS_V carries a column of exactly that name, derived from HR_LOOKUPS rather than stored as free text. This makes the view the natural query target for address validation, ship-to site resolution, and location-driven interfaces across Order Management, Purchasing, and Receiving.
Underlying Base Objects
The documented metadata for release 12.2.2 lists the following referenced base objects:
- HR_LOCATIONS_ALL (SYNONYM) — the primary table holding location records, including address, site flags, and DFF/global DFF attribute columns.
- HR_LOCATIONS_ALL_TL (SYNONYM) — the translation table supplying LOCATION_CODE and DESCRIPTION in the session language.
- HR_LOOKUPS (VIEW) — joined multiple times to translate site flag codes into meanings such as SHIP_TO_SITE, BILL_TO_SITE, OFFICE_SITE, RECEIVING_SITE, and INTERNAL_SITE.
- FND_DESCR_FLEX_CONTEXTS_TL (SYNONYM) — provides DESCRIPTIVE_FLEX_CONTEXT_NAME for the location descriptive flexfield context.
- FND_TIMEZONES_VL (VIEW) — timezone value set used for location timezone display.
- HR_API (PACKAGE) and HR_GENERAL (PACKAGE) — HRMS PL/SQL packages plumbed into the view definition to supply derived or security-filtered values.
The view text shows aliased joins: HR_LOCATIONS_ALL as L, HR_LOCATIONS_ALL_TL as TL, HR_LOOKUPS as HR1 through HR5 for the five site-flag meanings, a second reference to the location table (L2TL) to resolve SHIP_TO_LOCATION into a location code, and FND_DESCR_FLEX_CONTEXTS_TL as FND.
Key Columns
- SHIP_TO_SITE — the lookup meaning corresponding to SHIP_TO_SITE_FLAG; the column most frequently searched by developers and integration builders.
- SHIP_TO_SITE_FLAG / SHIP_TO_LOCATION_ID / SHIP_TO_LOCATION — the stored flag, the surrogate identifier, and the resolved ship-to location code.
- BILL_TO_SITE, OFFICE_SITE, RECEIVING_SITE, INTERNAL_SITE — decoded meanings for the remaining site-type flags.
- LOCATION_ID, LOCATION_CODE, DESCRIPTION — the primary key and translated identifiers for the location.
- ADDRESS_LINE_1..3, POSTAL_CODE, REGION_1..3, TOWN_OR_CITY, COUNTRY — the address elements used in forms and reports.
- TELEPHONE_NUMBER_1..3, DESIGNATED_RECEIVER_ID, INVENTORY_ORGANIZATION_ID — contact and inventory context.
- INACTIVE_DATE, IN_ORGANIZATION_FLAG — activation and organization-assignment status.
- ATTRIBUTE1..20, GLOBAL_ATTRIBUTE1..20, ATTRIBUTE_CATEGORY, GLOBAL_ATTRIBUTE_CATEGORY — descriptive and global descriptive flexfield segments.
- ROW_ID, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard WHO columns and the ROWID alias used by the interface.
Common Use Cases and Queries
The most common requirement is to enumerate locations flagged as valid ship-to sites, often filtered to active records and joined to a ship-to location code. HR_LOCATIONS_V supports this directly, without requiring the caller to decode lookup values.
Sample query — active ship-to sites:
- SELECT location_id, location_code, ship_to_site, ship_to_location, town_or_city, country FROM apps.hr_locations_v WHERE ship_to_site_flag = 'Y' AND (inactive_date IS NULL OR inactive_date > SYSDATE) ORDER BY location_code;
Sample query — all ship-capable sites with their decoded meanings for reporting:
- SELECT location_id, location_code, ship_to_location, ship_to_site, bill_to_site, receiving_site, office_site FROM apps.hr_locations_v WHERE ship_to_site = 'Yes';
Typical integration scenarios include resolving a ship-to site for a sales order or purchasing document, populating address LOVs in custom OAF or Forms pages, validating that a location is enabled for receiving before a receipt is processed, and extracting location master data into a data warehouse. Because the view applies HRMS security and joins several base objects, queries should filter on LOCATION_ID or a small set of codes wherever possible, and callers should expect read-only access only. The view should never be used for DML; all maintenance of locations must be performed through HR_API and the standard HRMS forms.
-
View: HR_LOCATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_V, object_name:HR_LOCATIONS_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_LOCATIONS_V ,
-
View: HR_LOCATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_V, object_name:HR_LOCATIONS_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_LOCATIONS_V ,
-
SYNONYM: PUBLIC.HR_LOCATIONS_V
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:HR_LOCATIONS_V, status:VALID,
-
VIEW: APPS.GHG_ORGANIZATIONS_V
12.2.2
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_V
12.1.1
-
VIEW: APPS.JAI_OE_MATCH_LINES_V
12.2.2
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_V
12.2.2
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_ALL_V
12.2.2
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_ALL_V
12.1.1
-
SYNONYM: APPS.FND_DESCR_FLEX_CONTEXTS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_DESCR_FLEX_CONTEXTS_TL, status:VALID,
-
PACKAGE BODY: APPS.PO_R12_CAT_UPG_DEF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_R12_CAT_UPG_DEF_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_R12_CAT_UPG_DEF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_R12_CAT_UPG_DEF_PVT, status:VALID,
-
PACKAGE BODY: APPS.IGI_CIS2007_IGIPPADR_PKG
12.1.1
-
View: JAI_OE_MATCH_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_OE_MATCH_LINES_V, object_name:JAI_OE_MATCH_LINES_V, status:VALID, product: JA - Asia/Pacific Localizations , implementation_dba_data: APPS.JAI_OE_MATCH_LINES_V ,
-
PACKAGE BODY: APPS.IGI_CIS2007_IGIPPADR_PKG
12.2.2
-
SYNONYM: APPS.FND_DESCR_FLEX_CONTEXTS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_DESCR_FLEX_CONTEXTS_TL, status:VALID,
-
PACKAGE BODY: APPS.INL_INTEGRATION_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INL_INTEGRATION_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_PDOI_LINE_LOC_PROCESS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_PDOI_LINE_LOC_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_PDOI_LINE_LOC_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_PDOI_LINE_LOC_PROCESS_PVT, status:VALID,
-
VIEW: APPS.JAI_OE_MATCH_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_OE_MATCH_LINES_V, object_name:JAI_OE_MATCH_LINES_V, status:VALID,
-
PACKAGE BODY: APPS.PO_COPYDOC_S1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COPYDOC_S1, status:VALID,
-
VIEW: APPS.HR_LOCATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_V, object_name:HR_LOCATIONS_V, status:VALID,
-
View: CSP_RS_SHIP_TO_ADDRESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSP.CSP_RS_SHIP_TO_ADDRESSES_V, object_name:CSP_RS_SHIP_TO_ADDRESSES_V, status:VALID, product: CSP - Spares Management , description: Resource ship to addresses view , implementation_dba_data: APPS.CSP_RS_SHIP_TO_ADDRESSES_V ,
-
View: CSP_RS_SHIP_TO_ADDRESSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSP.CSP_RS_SHIP_TO_ADDRESSES_V, object_name:CSP_RS_SHIP_TO_ADDRESSES_V, status:VALID, product: CSP - Spares Management , description: Resource ship to addresses view , implementation_dba_data: APPS.CSP_RS_SHIP_TO_ADDRESSES_V ,
-
PACKAGE BODY: APPS.PO_COPYDOC_S1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COPYDOC_S1, status:VALID,
-
VIEW: APPS.GHG_ORGANIZATIONS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:GHG_ORGANIZATIONS_V, status:VALID,
-
VIEW: APPS.FND_TIMEZONES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_TIMEZONES_VL, object_name:FND_TIMEZONES_VL, status:VALID,
-
APPS.OE_BIS_CUST_SAT_SUMMARY SQL Statements
12.1.1
-
VIEW: APPS.FND_TIMEZONES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_TIMEZONES_VL, object_name:FND_TIMEZONES_VL, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_ALL_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL_TL, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_ALL_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL_TL, status:VALID,
-
VIEW: APPS.HR_LOCATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_V, object_name:HR_LOCATIONS_V, status:VALID,
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSP.CSP_RS_SHIP_TO_ADDRESSES_V, object_name:CSP_RS_SHIP_TO_ADDRESSES_V, status:VALID,
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSP.CSP_RS_SHIP_TO_ADDRESSES_V, object_name:CSP_RS_SHIP_TO_ADDRESSES_V, status:VALID,
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, object_name:CSP_RS_SHIP_TO_ADDRESSES_ALL_V, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.CSP_RS_SHIP_TO_ADDRESSES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, object_name:CSP_RS_SHIP_TO_ADDRESSES_ALL_V, status:VALID,
-
PACKAGE BODY: APPS.OE_BIS_CUST_SAT_SUMMARY
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
APPS.INL_INTEGRATION_GRP dependencies on HR_LOCATIONS_V
12.1.1
-
APPS.PO_PDOI_LINE_LOC_PROCESS_PVT dependencies on HR_LOCATIONS_V
12.2.2
-
APPS.PO_R12_CAT_UPG_DEF_PVT dependencies on HR_LOCATIONS_V
12.2.2
-
APPS.PO_COPYDOC_S1 dependencies on HR_LOCATIONS_V
12.1.1
-
APPS.PO_R12_CAT_UPG_DEF_PVT dependencies on HR_LOCATIONS_V
12.1.1
-
APPS.PO_PDOI_LINE_LOC_PROCESS_PVT dependencies on HR_LOCATIONS_V
12.1.1
-
APPS.PO_COPYDOC_S1 dependencies on HR_LOCATIONS_V
12.2.2
-
APPS.PO_COPYDOC_S1 SQL Statements
12.1.1
-
APPS.PO_PDOI_LINE_LOC_PROCESS_PVT SQL Statements
12.2.2
-
APPS.PO_PDOI_LINE_LOC_PROCESS_PVT SQL Statements
12.1.1
-
APPS.INL_INTEGRATION_GRP SQL Statements
12.1.1