Results for “in_organization_flag”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKX_LOCATIONS_V is a PL/SQL view owned by the APPS schema in Oracle E-Business Suite, documented as VALID in both release 12.1.1 and 12.2.2. It belongs to the OKX - Contracts Integration product family and serves as the canonical source for work location definitions used by Oracle Contracts integration flows. The view presents a denormalized, presentation-ready listing of human resources locations, exposing address components, organizational attributes, and lifecycle status indicators in a single queryable structure.
Its principal design objective is to reconcile two divergent naming conventions: the operational HR location tables, which use columns such as LOCATION_CODE and TOWN_OR_CITY, and integration consumers that expect a generic identifier/name/description pattern. The view therefore remaps LOCATION_ID to ID1, LOCATION_CODE to NAME, and constructs a formatted multi-line DESCRIPTION from the underlying address columns, making it directly consumable by Contracts integration interfaces without additional transformation.
Underlying Base Objects
The view is defined over three documented base objects:
- HR_LOCATIONS_ALL (synonym) — the primary source of address and organizational data, including ADDRESS_LINE_1 through ADDRESS_LINE_3, TOWN_OR_CITY, COUNTRY, POSTAL_CODE, BUSINESS_GROUP_ID, INVENTORY_ORGANIZATION_ID, INACTIVE_DATE, and IN_ORGANIZATION_FLAG.
- HR_LOCATIONS_ALL_TL (synonym) — the translation table supplying language-specific LOCATION_CODE and DESCRIPTION values. The join is constrained by LOT.LANGUAGE = USERENV('LANG'), ensuring each session returns location names in its own language context.
- ARP_ADDR_LABEL_PKG (package) — the Receivables address formatting package, invoked as ARP_ADDR_LABEL_PKG.FORMAT_ADDRESS to compose a single, locale-aware address string truncated to 80 characters, which is published as the DESCRIPTION column.
The two HR tables are joined on LOCATION_ID, forming an equi-join that yields one row per location per active language.
Key Columns
- NAME — the location code from HR_LOCATIONS_ALL_TL, acting as the human-readable identifier for the work location.
- LOCATION_DESCRIPTION — the translated long description of the location.
- ADDRESS_LINE_1, ADDRESS_LINE_2, ADDRESS_LINE_3 — the street address components passed through unmodified from HR_LOCATIONS_ALL. These are the most frequently referenced columns by external consumers and are the fields most commonly searched by name.
- TOWN_OR_CITY, COUNTRY, POSTAL_CODE — geographic attributes retained verbatim for filtering and display.
- BUSINESS_GROUP_ID, ORGANIZATION_ID — the owning business group and, where applicable, the inventory organization associated with the location.
- IN_ORGANIZATION_FLAG — indicates whether the location is tied to an inventory organization.
- START_DATE_ACTIVE / END_DATE_ACTIVE — derived date range keyed to the location's effective period, with END_DATE_ACTIVE set to the day before INACTIVE_DATE.
- STATUS — a computed single-character flag ('A' active, 'I' inactive) based on whether the location's inactive date has passed.
- DESCRIPTION — the ARP-formatted address string limited to 80 characters.
Common Use Cases and Queries
Typical usages include populating location lists of values in Contracts integration, validating that a contract work location carries a complete address before interface submission, and auditing inactive locations still referenced by open agreements.
SELECT name, address_line_1, town_or_city, postal_code, status FROM apps.okx_locations_v WHERE status = 'A' ORDER BY name;
SELECT id1, name, address_line_1, address_line_2, description FROM apps.okx_locations_v WHERE business_group_id = :p_bg_id AND address_line_1 IS NOT NULL;
Because the view derives DESCRIPTION by calling an ARP formatting function on every row, queries benefit from applying selective predicates—particularly on STATUS or BUSINESS_GROUP_ID—before the function executes, and from avoiding SELECT * when only address columns are required.
-
View: OKX_LOCATIONS_V 12.1.1
Work location definitions
APPS.OKX_LOCATIONS_V·↳ ARP_ADDR_LABEL_PKG·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore OKX module →
-
View: OKX_LOCATIONS_V 12.2.2
Work location definitions
APPS.OKX_LOCATIONS_V·↳ ARP_ADDR_LABEL_PKG·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore OKX module →
-
View: PO_LOCATIONS_VAL_V 12.2.2
- Retrofitted
APPS.PO_LOCATIONS_VAL_V·↳ HR_GENERAL·↳ HR_LOCATIONS·Explore PO module →
-
View: PO_HR_LOCATIONS 12.2.2
- Retrofitted
APPS.PO_HR_LOCATIONS·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
View: HR_DM_EXP_HR_LOC_ALL_V 12.2.2
View to export hr_locations_all
APPS.HR_DM_EXP_HR_LOC_ALL_V·↳ HR_DM_EXP_IMPS·Explore PER module →
-
View: HR_DM_EXP_HR_LOC_ALL_V 12.1.1
View to export hr_locations_all
APPS.HR_DM_EXP_HR_LOC_ALL_V·↳ HR_DM_EXP_IMPS·Explore PER module →
-
View: ICX_HR_LOCATIONS_V 12.1.1
Obsolete
APPS.ICX_HR_LOCATIONS_V·↳ HR_GENERAL·↳ HR_LOCATIONS·Explore ICX module →
-
View: ICX_HR_LOCATIONS_V 12.2.2
Obsolete
APPS.ICX_HR_LOCATIONS_V·↳ HR_GENERAL·↳ HR_LOCATIONS·Explore ICX module →
-
View: HR_LOCATIONS 12.2.2
HRMS Locations
APPS.HR_LOCATIONS·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore PER module →
-
View: HR_LOCATIONS_NO_JOIN 12.1.1
USed to support user interface.
APPS.HR_LOCATIONS_NO_JOIN·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·Explore PER module →
-
View: PO_HR_LOCATIONS 12.1.1
- Retrofitted
APPS.PO_HR_LOCATIONS·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
View: PER_ASSIGNMENTS_V7 12.1.1
Used to support user interface
APPS.PER_ASSIGNMENTS_V7·↳ FND_DESCR_FLEX_CONTEXTS_TL·↳ GL_SETS_OF_BOOKS·↳ HR_COMMENTS·Explore PER module →
-
View: PER_ASSIGNMENTS_V7 12.2.2
Used to support user interface
APPS.PER_ASSIGNMENTS_V7·↳ FND_DESCR_FLEX_CONTEXTS_TL·↳ GL_SETS_OF_BOOKS·↳ HR_COMMENTS·Explore PER module →
-
View: HR_LOCATIONS_ALL_V 12.2.2
APPS.HR_LOCATIONS_ALL_V·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore PER module →
-
View: CSP_SEC_INVENTORIES_V 12.2.2
Subinventory Details
APPS.CSP_SEC_INVENTORIES_V·↳ CSP_SEC_INVENTORIES·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore CSP module →
-
View: PO_LOCATIONS_VAL_V 12.1.1
- Retrofitted
APPS.PO_LOCATIONS_VAL_V·↳ HR_GENERAL·↳ HR_LOCATIONS·Explore PO module →
-
View: HR_LOCATIONS_V 12.1.1
Used to support user interface
APPS.HR_LOCATIONS_V·↳ FND_DESCR_FLEX_CONTEXTS_TL·↳ FND_GLOBAL·↳ FND_TIMEZONES_VL·Explore PER module →
-
View: HR_LOCATIONS_V 12.2.2
Used to support user interface
APPS.HR_LOCATIONS_V·↳ FND_DESCR_FLEX_CONTEXTS_TL·↳ FND_TIMEZONES_VL·↳ HR_API·Explore PER module →
-
Work location definitions.
-
View: CSP_SEC_INVENTORIES_V 12.1.1
Subinventory Details
APPS.CSP_SEC_INVENTORIES_V·↳ CSP_SEC_INVENTORIES·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore CSP module →
-
View: HR_LOCATIONS_ALL_VL 12.1.1
APPS.HR_LOCATIONS_ALL_VL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·↳ SDO_GEOMETRY·Explore PER module →
-
View: HR_LOCATIONS_NO_JOIN 12.2.2
USed to support user interface.
APPS.HR_LOCATIONS_NO_JOIN·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·Explore PER module →
-
Work location definitions.
-
View: WSH_HR_LOCATIONS_V 12.2.2
APPS.WSH_HR_LOCATIONS_V·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore WSH module →
-
View: WSH_HR_LOCATIONS_V 12.1.1
APPS.WSH_HR_LOCATIONS_V·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore WSH module →
-
View: HR_LOCATIONS_ALL_V 12.1.1
APPS.HR_LOCATIONS_ALL_V·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore PER module →
-
View: HR_LOCATIONS 12.1.1
HRMS Locations
APPS.HR_LOCATIONS·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·Explore PER module →
-
Resource ship to addresses view
APPS.CSP_RS_SHIP_TO_ADDRESSES_V·↳ CSP_RS_CUST_RELATIONS·↳ HR_API·↳ HR_GENERAL·Explore CSP module →
-
View: HR_LOCATIONS_ALL_VL 12.2.2
APPS.HR_LOCATIONS_ALL_VL·↳ HR_LOCATIONS_ALL·↳ HR_LOCATIONS_ALL_TL·↳ SDO_GEOMETRY·Explore PER module →
-
Resource ship to addresses view
APPS.CSP_RS_SHIP_TO_ADDRESSES_V·↳ CSP_RS_CUST_RELATIONS·↳ FND_GLOBAL·↳ HR_API·Explore CSP module →
-
PACKAGE: APPS.HR_LOC_SHD 12.1.1
-
PACKAGE: APPS.HR_LOC_SHD 12.2.2
-
VIEW: HR.HR_LOCATIONS_ALL# 12.2.2
-
VIEW: APPS.OKX_LOCATIONS_V 12.1.1
-
VIEW: APPS.OKX_LOCATIONS_V 12.2.2
-
VIEW: APPS.OKX_LOCATIONS_V 12.1.1
-
VIEW: APPS.PO_HR_LOCATIONS 12.1.1