Search Results hr_locations_all_v
Overview
HR_LOCATIONS_ALL_V is a view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the PER (Human Resources) product family. It provides a reporting and integration layer over the location definition data maintained in Oracle HRMS. In EBS 12.1.1 and 12.2.2, locations represent physical sites — offices, plants, warehouses, ship-to and bill-to addresses — that are associated with organizations, business groups, and inventory or receiving functions. The view exposes the operational and descriptive attributes of these locations in a single, denormalized result set, allowing concurrent programs, Oracle Reports, OAF pages, and third-party integrations to retrieve location information without joining the underlying tables manually.
The object is listed as VALID in the ETRM metadata for both releases, confirming that no compilation or dependency errors affect its availability at the time of documentation. Because it is a view rather than a table, it carries no storage of its own; all data is read from the base tables at query time.
Underlying Base Objects
The documented view text defines HR_LOCATIONS_ALL_V as a join between two objects: HR_LOCATIONS_ALL and HR_LOCATIONS_ALL_TL. The former holds the operational location record — addresses, site flags, tax name, inventory organization references, and the DFF/global DFF attribute columns — while the latter is the translation table, supplying the LOCATION_CODE and DESCRIPTION values in the session's language. The view therefore resolves the base location row plus its translated descriptive text in one pass.
The documented base objects also list HR_GENERAL (PACKAGE), HR_LOCATIONS_ALL (SYNONYM), and HR_LOCATIONS_ALL_TL (SYNONYM). The two tables are referenced through public synonyms, which is standard for APPS-owned views. HR_GENERAL is a PL/SQL package that supplies HRMS security and utility logic; the view's WHERE clause in the full definition typically restricts rows using HR_GENERAL security predicates (for example, business group and security profile checks) so that only locations the querying user is authorized to see are returned.
Key Columns
- LOCATION_ID — Primary key of the location; the join key to HR_LOCATIONS_ALL.
- LOCATION_CODE — Translated short code from HR_LOCATIONS_ALL_TL; user-facing identifier.
- DESCRIPTION — Translated descriptive name of the location.
- BUSINESS_GROUP_ID — Business group that owns the location, returned as LOC.BUSINESS_GROUP_ID+0.
- SHIP_TO_LOCATION_ID, SHIP_TO_SITE_FLAG, RECEIVING_SITE_FLAG, BILL_TO_SITE_FLAG — Flags and cross-reference identifying the location's role in Order Management, Purchasing, and Receiving.
- IN_ORGANIZATION_FLAG, OFFICE_SITE_FLAG, INVENTORY_ORGANIZATION_ID — Indicate whether the site is an internal organization or office, and the associated inventory organization.
- Address columns — ADDRESS_LINE_1..3, TOWN_OR_CITY, COUNTRY, POSTAL_CODE, REGION_1..3, TELEPHONE_NUMBER_1..3.
- TAX_NAME, INACTIVE_DATE, STYLE — Tax registration name, effective end date, and HRMS address style.
- ATTRIBUTE1..20, ATTRIBUTE_CATEGORY and GLOBAL_ATTRIBUTE1..20, GLOBAL_ATTRIBUTE_CATEGORY — Descriptive flexfield and global DFF segments.
- Audit columns — CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER.
- TP_HEADER_ID, ECE_TP_LOCATION_CODE — Trading partner / e-commerce gateway identifiers used in EDI and iSupplier integrations.
Note that the constant literal 'HR' is projected as a column, distinguishing HR-sourced locations from other location sources in union-style consumers.
Common Use Cases and Queries
Typical scenarios include listing active locations for an organization, validating ship-to or bill-to sites during order or receipt processing, extracting address data for interfaces, and driving HRMS reports and OAF location LOVs. The DISTINCT-free structure supports straightforward filtering by business group and active status.
Example — active locations for a business group:
SELECT location_id, location_code, description,
town_or_city, country, postal_code
FROM apps.hr_locations_all_v
WHERE business_group_id = :p_business_group_id
AND inactive_date IS NULL
ORDER BY location_code;
Example — retrieving ship-to sites for an integration extract:
SELECT location_id, location_code, description,
ship_to_location_id, address_line_1, town_or_city
FROM apps.hr_locations_all_v
WHERE ship_to_site_flag = 'Y'
AND inactive_date IS NULL;
Because the view applies HRMS security through HR_GENERAL, queries executed under a restricted security profile return only the locations that profile permits, which makes the view suitable for self-service and delegated reporting without additional row-level filtering by the developer.
-
View: HR_LOCATIONS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_ALL_V, object_name:HR_LOCATIONS_ALL_V, status:VALID, product: PER - Human Resources , implementation_dba_data: APPS.HR_LOCATIONS_ALL_V ,
-
View: HR_LOCATIONS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_ALL_V, object_name:HR_LOCATIONS_ALL_V, status:VALID, product: PER - Human Resources , implementation_dba_data: APPS.HR_LOCATIONS_ALL_V ,
-
SYNONYM: PUBLIC.HR_LOCATIONS_ALL_V
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL_V, status:VALID,
-
VIEW: APPS.HR_ORGANIZATION_UNITS_V
12.1.1
-
VIEW: APPS.HR_ORGANIZATION_UNITS_V
12.2.2
-
PACKAGE BODY: APPS.OKC_PHL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_PHL_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_LABEL_PVT8
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_LABEL_PVT8, status:VALID,
-
PACKAGE BODY: APPS.INV_LABEL_PVT8
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_LABEL_PVT8, status:VALID,
-
PACKAGE BODY: APPS.OKC_PHL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_PHL_PVT, status:VALID,
-
VIEW: APPS.HR_LOCATIONS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_ALL_V, object_name:HR_LOCATIONS_ALL_V, status:VALID,
-
VIEW: APPS.HR_LOCATIONS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS_ALL_V, object_name:HR_LOCATIONS_ALL_V, status:VALID,
-
VIEW: APPS.HR_ORGANIZATION_UNITS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ORGANIZATION_UNITS_V, object_name:HR_ORGANIZATION_UNITS_V, 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_ORGANIZATION_UNITS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ORGANIZATION_UNITS_V, object_name:HR_ORGANIZATION_UNITS_V, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
APPS.INV_LABEL_PVT8 dependencies on HR_LOCATIONS_ALL_V
12.1.1
-
APPS.OKC_PHL_PVT dependencies on HR_LOCATIONS_ALL_V
12.2.2
-
APPS.INV_LABEL_PVT8 dependencies on HR_LOCATIONS_ALL_V
12.2.2
-
APPS.OKC_PHL_PVT dependencies on HR_LOCATIONS_ALL_V
12.1.1
-
APPS.OKC_PHL_PVT SQL Statements
12.1.1
-
APPS.OKC_PHL_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.HR_LOCATIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL, status:VALID,
-
APPS.INV_LABEL_PVT8 SQL Statements
12.1.1
-
APPS.INV_LABEL_PVT8 dependencies on HR_LOCATIONS_ALL
12.1.1
-
APPS.INV_LABEL_PVT8 dependencies on HR_LOCATIONS_ALL
12.2.2
-
APPS.INV_LABEL_PVT8 dependencies on HR_ORGANIZATION_UNITS
12.2.2
-
APPS.INV_LABEL_PVT8 dependencies on HR_ORGANIZATION_UNITS
12.1.1
-
APPS.INV_LABEL_PVT8 SQL Statements
12.2.2
-
PACKAGE: APPS.HR_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE BODY: APPS.OKC_PHL_PVT
12.2.2
-
PACKAGE BODY: APPS.OKC_PHL_PVT
12.1.1
-
PACKAGE BODY: APPS.INV_LABEL_PVT8
12.1.1
-
PACKAGE BODY: APPS.INV_LABEL_PVT8
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
eTRM - PER Tables and Views
12.2.2
description: Table to store NQF Training info for a person ,
-
APPS.OKC_PHL_PVT dependencies on OKC_API
12.1.1
-
APPS.OKC_PHL_PVT dependencies on OKC_API
12.2.2
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
eTRM - PER Tables and Views
12.2.2
description: Table to store NQF Training info for a person ,