Results for “sub_zone_description”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.AHL_PRODTYPE_ZONES_V is a reporting and integration view within the Oracle Enterprise Asset Management (EAM) and Enterprise Tracking and Reporting (ETRM) modules. It resolves the raw code columns stored in the AHL_PRODTYPE_ZONES base table into their human-readable meanings and descriptions by joining against the FND_LOOKUP_VALUES_VL lookup view. The view exposes product type, zone, and sub-zone attributes alongside descriptive text, including the frequently referenced SUB_ZONE_MEANING column. Because the underlying AHL_PRODTYPE_ZONES table stores only lookup codes, consumers of this view avoid the need to write their own outer joins to the Flexfields lookup tables. The view preserves all fifteen developer descriptive flexfield (DFF) columns and audit columns from the base entity, making it suitable for both operational reporting and interface extraction. It is defined with outer joins to three FND lookup value sets, so rows remain visible even when a corresponding lookup meaning has not been defined or has been disabled.
Underlying Base Objects
The view is defined over two documented objects. The primary object is AHL_PRODTYPE_ZONES, accessed through the synonym in the APPS schema under the alias AOB. This table holds the product type zone identifier, object version number, audit columns, the code columns, and the attribute flexfield columns. The secondary object is FND_LOOKUP_VALUES_VL, the standard Oracle EBS lookup values view, which is joined three times under the aliases PRODTY, ZONE, and SUBZONE. Each join is written as an outer join, signified by the (+) operator, so that rows in the driving table are never lost when a matching lookup value is absent. The lookup types used are ITEM_TYPE for the product type segment, AHL_ZONE for the zone segment, and AHL_SUB_ZONE for the sub-zone segment. The joins match on both LOOKUP_TYPE and LOOKUP_CODE against the corresponding code column in the base table.
Key Columns
- PRODTYPE_ZONE_ID — Primary identifier for the product type zone record.
- OBJECT_VERSION_NUMBER — Optimistic locking version number maintained by the base entity.
- PRODUCT_TYPE_CODE — Stored code identifying the product type.
- PROD_TYPE_MEANING / PROD_TYPE_DESCRIPTION — Resolved meaning and description from the ITEM_TYPE lookup.
- ZONE_CODE — Stored code for the zone segment.
- ZONE_MEANING / ZONE_DESCRIPTION — Resolved meaning and description from the AHL_ZONE lookup.
- SUB_ZONE_CODE — Stored code for the sub-zone segment.
- SUB_ZONE_MEANING / SUB_ZONE_DESCRIPTION — Resolved meaning and description from the AHL_SUB_ZONE lookup; these are the columns most commonly requested by users searching for sub-zone descriptive text.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — Descriptive flexfield segments carried through from the base table.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — Standard audit columns.
Common Use Cases and Queries
The view is typically queried to present readable product type, zone, and sub-zone hierarchies in reports, LOVs, and integrations. A common requirement is simply retrieving the meaning of a sub-zone code:
SELECT sub_zone_code, sub_zone_meaning, sub_zone_description FROM apps.ahl_prodtype_zones_v WHERE sub_zone_code = :p_sub_zone_code;
A broader listing joins the three decoded segments for a report of valid product type to zone to sub-zone combinations:
SELECT prod_type_meaning, zone_meaning, sub_zone_meaning FROM apps.ahl_prodtype_zones_v ORDER BY prod_type_meaning, zone_meaning, sub_zone_meaning;
Because the view performs the lookup resolution internally, it also serves as a convenient source for extracting descriptive flexfield values alongside the decoded segments, and for validating input codes during interface loads. Where a sub-zone meaning is required but the lookup is missing, the outer join returns a null meaning while retaining the base row, allowing exception reporting on undefined codes.
-
View: AHL_PRODTYPE_ZONES_V 12.2.2
View based on the table AHL_PRODTYPE_ZONES and the view FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes.
APPS.AHL_PRODTYPE_ZONES_V·↳ AHL_PRODTYPE_ZONES·↳ FND_LOOKUP_VALUES_VL·Explore AHL module →
-
View: AHL_PRODTYPE_ZONES_V 12.1.1
View based on the table AHL_PRODTYPE_ZONES and the view FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes.
APPS.AHL_PRODTYPE_ZONES_V·↳ AHL_PRODTYPE_ZONES·↳ FND_LOOKUP_VALUES_VL·Explore AHL module →