Results for “ahl_documents_vl”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.AHL_DOCUMENTS_VL is a translatable (VL) view in the Oracle E-Business Suite AHL module, which supports Complex Maintenance Repair and Overhaul (CMRO). The view presents the language-dependent and language-independent attributes of maintenance documents in a single, denormalized result set, joining the base table AHL_DOCUMENTS_B to its translation table AHL_DOCUMENTS_TL. Because it is a VL ("view with language") object, it resolves the document title and description in the session's current language, identified through USERENV('LANG'). This makes it the standard access point for reports, concurrent programs, form LOVs, and integration interfaces that require document header information in the user's own locale rather than the base-language row.
In Oracle EBS 12.1.1 and 12.2.2, the view is owned by the APPS schema and is documented as VALID. It is widely used wherever AHL documents (for example, work orders, work requests, and maintenance task documents) must be surfaced alongside their translated titles.
Underlying Base Objects
The view is defined over two documented base objects, exposed in APPS as synonyms that resolve to the AHL schema tables:
- AHL_DOCUMENTS_B — the base ("_B") table holding language-independent document attributes such as document number, type, subtype, operator, product type, flags, and descriptive flexfield attributes.
- AHL_DOCUMENTS_TL — the translation ("_TL") table holding language-dependent text, principally DOCUMENT_TITLE.
The join is performed on DOCUMENT_ID (ADB.DOCUMENT_ID = ADT.DOCUMENT_ID), with the additional filter ADT.LANGUAGE = USERENV('LANG') so that exactly one translated row per document is returned for the current session language. The view also selects ADB.ROWID as ROW_ID, providing a row identifier consistent with Oracle Forms block definitions.
Key Columns
- ROW_ID — the rowid of the base table row, used by Forms and by updatable-view logic.
- DOCUMENT_ID — primary key linking document headers to their translations and to related AHL entities.
- DOCUMENT_NO — the user-visible document number.
- DOCUMENT_TITLE — the translated title sourced from AHL_DOCUMENTS_TL.
- SUBSCRIBE_AVAIL_FLAG — indicates whether subscription availability applies to the document.
- SUBSCRIBE_TO_FLAG — the subscription indicator; this is the column relevant to searches for "subscribe_to_flag" in the AHL document context.
- DOC_TYPE_CODE / DOC_SUB_TYPE_CODE — document type and subtype classification codes.
- OPERATOR_CODE / PRODUCT_TYPE_CODE — owning operator and product type associations.
- SOURCE_PARTY_ID — the party that originated the document.
- OBJECT_VERSION_NUMBER — optimistic locking version, together with the standard WHO audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN).
- SECURITY_GROUP_ID — multi-organization security grouping.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield columns.
Common Use Cases and Queries
Typical scenarios include querying maintenance documents for a given operator or product type, checking subscription flags before publishing or distributing documents, and joining document headers to work order or task data. Because the view resolves titles in the session language, it is preferred over querying the base and translation tables separately.
- List all documents subscribing to a given scope:
SELECT document_id, document_no, document_title FROM ahl_documents_vl WHERE subscribe_to_flag = 'Y'; - Filter by type and product type:
SELECT document_no, document_title, doc_type_code FROM ahl_documents_vl WHERE doc_type_code = :p_type AND product_type_code = :p_product; - Check subscription availability:
SELECT document_no, subscribe_avail_flag, subscribe_to_flag FROM ahl_documents_vl WHERE subscribe_avail_flag = 'Y'; - Join to work orders using DOCUMENT_ID as the correlation key, always honoring the LANGUAGE filter implicitly supplied by USERENV('LANG').
Restrict queries to indexed columns such as DOCUMENT_ID, DOCUMENT_NO, and the flag columns to avoid full scans of the translation join.
-
View: AHL_DOCUMENTS_VL 12.2.2
This view is based on AHL_DOCUMENTS_B and AHL_DOCUMENTS_TL tables.
APPS.AHL_DOCUMENTS_VL·↳ AHL_DOCUMENTS_B·↳ AHL_DOCUMENTS_TL·Explore AHL module →
-
View: AHL_DOCUMENTS_VL 12.1.1
This view is based on AHL_DOCUMENTS_B and AHL_DOCUMENTS_TL tables.
APPS.AHL_DOCUMENTS_VL·↳ AHL_DOCUMENTS_B·↳ AHL_DOCUMENTS_TL·Explore AHL module →
-
VIEW: APPS.AHL_DOCUMENTS_VL 12.1.1
-
VIEW: APPS.AHL_DOCUMENTS_VL 12.2.2
-
View: AHL_REFERENCE_DOC_V 12.1.1
This view is based on AHL_DOCUMENTS_VL, AHL_DOC_REVISIONS_B, FND_LOOKUP_VALUES_VL, and AHL_DOC_TITLE_ASSOS_VL. This stores information relating to Routes and Operations.
APPS.AHL_REFERENCE_DOC_V·↳ AHL_DOCUMENTS_VL·↳ AHL_DOC_FILE_ASSOC_VL·↳ AHL_DOC_REVISIONS_B·Explore AHL module →
-
View: AHL_DOC_TYPE_ASSOS_V 12.1.1
This view is based on AHL_DOCUMENTS_VL, AHL_DOC_REVISIONS_B, FND_LOOKUP_VALUES_VL, and AHL_DOC_TITLE_ASSOS_VL. This stores information relating to Master Configuration.
APPS.AHL_DOC_TYPE_ASSOS_V·↳ AHL_DOCUMENTS_VL·↳ AHL_DOC_REVISIONS_B·↳ AHL_DOC_TITLE_ASSOS_VL·Explore AHL module →
-
View: AHL_DOC_TYPE_ASSOS_V 12.2.2
This view is based on AHL_DOCUMENTS_VL, AHL_DOC_REVISIONS_B, FND_LOOKUP_VALUES_VL, and AHL_DOC_TITLE_ASSOS_VL. This stores information relating to Master Configuration.
APPS.AHL_DOC_TYPE_ASSOS_V·↳ AHL_DOCUMENTS_VL·↳ AHL_DOC_REVISIONS_B·↳ AHL_DOC_TITLE_ASSOS_VL·Explore AHL module →
-
View: AHL_REFERENCE_DOC_V 12.2.2
This view is based on AHL_DOCUMENTS_VL, AHL_DOC_REVISIONS_B, FND_LOOKUP_VALUES_VL, and AHL_DOC_TITLE_ASSOS_VL. This stores information relating to Routes and Operations.
APPS.AHL_REFERENCE_DOC_V·↳ AHL_DOCUMENTS_VL·↳ AHL_DOC_FILE_ASSOC_VL·↳ AHL_DOC_REVISIONS_B·Explore AHL module →
-
View: AHL_DOCUMENT_ASSOS_V 12.1.1
Its a view based on AHL_DOCUMENTS_VL, AHL_DOC_TITLE_ASSOS_VL, AHL_DOC_REVISIONS_B ,FND_LOOKUP_VALUES_VL
APPS.AHL_DOCUMENT_ASSOS_V·↳ AHL_DOCUMENTS_VL·↳ AHL_DOC_FILE_ASSOC_B·↳ AHL_DOC_REVISIONS_B·Explore AHL module →
-
View: AHL_DOCUMENT_ASSOS_V 12.2.2
Its a view based on AHL_DOCUMENTS_VL, AHL_DOC_TITLE_ASSOS_VL, AHL_DOC_REVISIONS_B ,FND_LOOKUP_VALUES_VL
APPS.AHL_DOCUMENT_ASSOS_V·↳ AHL_DOCUMENTS_VL·↳ AHL_DOC_FILE_ASSOC_B·↳ AHL_DOC_REVISIONS_B·Explore AHL module →
-
View: AHL_DOCUMENTS_V 12.1.1
This view is based on AHL_DOCUMENTS_B,AHL_DOCUMENTS_TL,FND tables.Document View
APPS.AHL_DOCUMENTS_V·↳ AHL_DOCUMENTS_VL·↳ FND_LOOKUP_VALUES_VL·↳ HZ_PARTIES·Explore AHL module →
-
View: AHL_DOCUMENTS_V 12.2.2
This view is based on AHL_DOCUMENTS_B,AHL_DOCUMENTS_TL,FND tables.Document View
APPS.AHL_DOCUMENTS_V·↳ AHL_DOCUMENTS_VL·↳ FND_LOOKUP_VALUES_VL·↳ HZ_PARTIES·Explore AHL module →
-
VIEW: APPS.AHL_DOCUMENTS_V 12.1.1
-
VIEW: APPS.AHL_DOCUMENTS_V 12.2.2
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
View: AHL_MR_DETAILS_V 12.1.1
View based on the views AHL_MR_HEADERS_V with a)AHL_MR_RELATIONSHIPS_V to include the Parent Title & Revision and with b)AHL_DOC_TITLE_ASSOS_B & AHL_DOCUMENTS_VL to include the originating document. This View is used for Search MR.
APPS.AHL_MR_DETAILS_V·↳ AHL_DOCUMENTS_TL·↳ AHL_DOC_REVISIONS_B·↳ AHL_DOC_TITLE_ASSOS_B·Explore AHL module →
-
View: AHL_MR_DETAILS_V 12.2.2
View based on the views AHL_MR_HEADERS_V with a)AHL_MR_RELATIONSHIPS_V to include the Parent Title & Revision and with b)AHL_DOC_TITLE_ASSOS_B & AHL_DOCUMENTS_VL to include the originating document. This View is used for Search MR.
APPS.AHL_MR_DETAILS_V·↳ AHL_DOCUMENTS_B·↳ AHL_DOCUMENTS_TL·↳ AHL_DOC_REVISIONS_B·Explore AHL module →
-
VIEW: APPS.AHL_DOCUMENTS_V 12.1.1
-
VIEW: APPS.AHL_DOCUMENTS_V 12.2.2
-
eTRM - AHL Tables and Views 12.1.1
Ahl Production Workorder Operations Information stored in this table
-
eTRM - AHL Tables and Views 12.2.2
Ahl Production Workorder Operations Information stored in this table