Search Results billing_item
Overview
AHL_MR_DETAILS_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, belonging to the AHL (Complex Maintenance Repair and Overhaul) product family. It presents consolidated Maintenance Requirements (MR) data by joining the header view AHL_MR_HEADERS_V with relationship and document-association views, so that each MR record is enriched with its parent MR title and revision as well as its originating document. The view exists specifically to support the MR Search function within the AHL module, where users query maintenance requirements by attributes such as title, revision, category, service type, or status. Rather than requiring the calling form or report to perform multiple joins across header, relationship, and document tables, AHL_MR_DETAILS_V delivers a single denormalized row per MR header that carries both structural context (parent/child relationships) and documentary provenance (source document title). Because it is a view and not a table, it holds no data of its own; all values are derived at runtime from the underlying AHL base tables. Its status is VALID, confirming that it compiles without error in the documented 12.1.1 and 12.2.2 environments. For reporting and integration purposes, it serves as a stable read-only interface that shields external queries from the more complex join logic inside the AHL data model.
Underlying Base Objects
The view is defined as an outer-join query over the following documented base objects: AHL_DOCUMENTS_B, AHL_DOCUMENTS_TL, AHL_DOC_REVISIONS_B, AHL_DOC_TITLE_ASSOS_B, AHL_MR_HEADERS_B, AHL_MR_HEADERS_TL, AHL_MR_RELATIONSHIPS, AHL_WARRANTY_TEMPLATES_B, FND_LOOKUP_VALUES, and the FND_PROFILE package — the latter two supplying lookup meanings and profile-driven values. Conceptually, AHL_MR_HEADERS_V supplies the core MR header and translated title/description information drawn from AHL_MR_HEADERS_B and AHL_MR_HEADERS_TL. AHL_MR_RELATIONSHIPS contributes parent-child linkage: the join condition restricts the relationship code to 'PARENT', and the parent title is resolved against the headers view aliased PMR. Document provenance is attached through the document association and document views, which trace back to AHL_DOC_TITLE_ASSOS_B, AHL_DOCUMENTS_B, AHL_DOCUMENTS_TL, and AHL_DOC_REVISIONS_B, filtered on object type 'MR' and source reference 'SOURCE'. All joins to the relationship and document sources use Oracle outer-join syntax (+), so an MR without a parent or without an originating document still returns a row, with NULLs in the corresponding columns.
Key Columns
- MR_HEADER_ID — Primary identifier of the maintenance requirement header; the joining key across all constituent sources.
- TITLE, VERSION_NUMBER, REVISION — Name, version, and revision of the MR, used prominently in search criteria.
- PRECEDING_MR_HEADER_ID, PRECEDING_MR_TITLE — Identifier and title of the preceding MR revision, supporting revision lineage.
- PMR.TITLE — Parent MR title derived from AHL_MR_RELATIONSHIPS where the relationship code is 'PARENT'.
- DOCUMENT_ID, DOCUMENT_TITLE — Originating document identifier and title, exposed for traceability to the source document.
- CATEGORY_CODE/CATEGORY, SERVICE_TYPE_CODE/SERVICE_TYPE, MR_STATUS_CODE/STATUS — Coded value and decoded display value pairs populated via lookup views such as FND_LOOKUP_VALUES.
- IMPLEMENT_STATUS_CODE/IMPLEMENT_STATUS, PROGRAM_TYPE_CODE/PROGRAM_TYPE, PROGRAM_SUBTYPE_CODE/PROGRAM_SUBTYPE — Implementation and program classification attributes.
- WHICHEVER_FIRST_CODE/WHICHEVER_FIRST, SHOW_REPETITIVE_CODE/SHOW_REPETITIVE, REPETITIVE_FLAG/REPETITIVE — Scheduling and repetition control flags with decoded renderings.
- EFFECTIVE_FROM, EFFECTIVE_TO — Validity date range of the maintenance requirement.
- OBJECT_VERSION_NUMBER, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — Standard WHO audit columns for change tracking.
- Description, Comments, and Attribute1 through Attribute15 — Free-text and descriptive flexfield content.
- SERVICE_REQUEST_TEMPLATE_ID, DOWN_TIME, UOM_CODE/UOM, SPACE_CATEGORY, BILLING_ITEM_ID, BILLING_ORG_ID, BILLING_ITEM, QA_INSPECTION_TYPE — Operational, billing, and quality attributes carried through the view.
Common Use Cases and Queries
The principal use case is the AHL MR Search screen, which drives this view to locate maintenance requirements by title, category, or status while displaying the parent and originating document context. The user's search term "source_doc_id" maps directly to the document traceability columns (DOCUMENT_ID, and the SOURCE_REF_CODE = 'SOURCE' association) that this view surfaces. A basic search query resembles:
SELECT mr_header_id, title, revision, category, status, document_title
FROM apps.ahl_mr_details_v
WHERE title LIKE :search_term
ORDER BY title;
To retrieve the source document for a given MR, the caller filters on the document columns exposed by the view, since the originating document is attached through the DOCUMENT_ID join rather than stored on the header itself. A typical traceability query is:
SELECT mr_header_id, title, document_id, document_title
FROM apps.ahl_mr_details_v
WHERE document_id IS NOT NULL
AND mr_header_id = :mr_header_id;
Additional scenarios include dependency analysis, where the parent title and preceding MR title columns reconstruct the revision and relationship hierarchy for a set of maintenance requirements, and status-based operational reporting, where decoded category, status, and implementation columns feed dashboards or concurrent programs. Because all joins are outer joins, queries that do not filter on document or parent columns return every MR header, making the view safe for broad listings as well as targeted retrieval.
-
APPS.AHL_VWP_MR_CST_PR_PVT SQL Statements
12.2.2
-
View: AHL_MR_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_DETAILS_V, object_name:AHL_MR_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: 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. , implementation_dba_data: APPS.AHL_MR_DETAILS_V ,
-
View: AHL_MR_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_DETAILS_V, object_name:AHL_MR_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: 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. , implementation_dba_data: APPS.AHL_MR_DETAILS_V ,
-
View: AHL_MR_ITEM_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_ITEM_DETAILS_V, object_name:AHL_MR_ITEM_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on join of AHL_MR_DETAILS_V, AHL_MR_ITEMS_V so that, each row corresponds to a unique Item Effectivity for the Maintenance requirement. This view is used by the Search MR UI to search by the associated item number along with othe , implementation_dba_data: APPS.AHL_MR_ITEM_DETAILS_V ,
-
View: AHL_MR_ITEM_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_ITEM_DETAILS_V, object_name:AHL_MR_ITEM_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on join of AHL_MR_DETAILS_V, AHL_MR_ITEMS_V so that, each row corresponds to a unique Item Effectivity for the Maintenance requirement. This view is used by the Search MR UI to search by the associated item number along with othe , implementation_dba_data: APPS.AHL_MR_ITEM_DETAILS_V ,
-
APPS.AHL_VWP_MR_CST_PR_PVT SQL Statements
12.1.1
-
View: AHL_MR_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_HEADERS_V, object_name:AHL_MR_HEADERS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on the views AHL_MR_HEADERS_VL with FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes and with AHL_MR_HEADERS_B to get the Preceding MR Title & Revision. , implementation_dba_data: APPS.AHL_MR_HEADERS_V ,
-
APPS.AHL_FMP_MR_HEADER_PVT SQL Statements
12.1.1
-
VIEW: APPS.AHL_MR_HEADERS_V
12.2.2
-
VIEW: APPS.AHL_MR_HEADERS_V
12.1.1
-
View: AHL_MR_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_HEADERS_V, object_name:AHL_MR_HEADERS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on the views AHL_MR_HEADERS_VL with FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes and with AHL_MR_HEADERS_B to get the Preceding MR Title & Revision. , implementation_dba_data: APPS.AHL_MR_HEADERS_V ,
-
APPS.AHL_FMP_MR_HEADER_PVT SQL Statements
12.2.2
-
VIEW: APPS.AHL_MR_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_HEADERS_V, object_name:AHL_MR_HEADERS_V, status:VALID,
-
VIEW: APPS.AHL_MR_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MR_HEADERS_V, object_name:AHL_MR_HEADERS_V, status:VALID,
-
PACKAGE: APPS.AHL_FMP_MR_HEADER_PVT
12.1.1
-
PACKAGE: APPS.AHL_FMP_MR_HEADER_PVT
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT SQL Statements
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_FMP_MR_HEADER_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_FMP_MR_HEADER_PVT
12.2.2
-
APPS.AHL_VWP_MR_CST_PR_PVT dependencies on MTL_SYSTEM_ITEMS_KFV
12.1.1
-
APPS.AHL_VWP_MR_CST_PR_PVT dependencies on MTL_SYSTEM_ITEMS_KFV
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on MTL_SYSTEM_ITEMS_KFV
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on AHL_MR_HEADERS_VL
12.1.1
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on AHL_MR_HEADERS_VL
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on MTL_SYSTEM_ITEMS_KFV
12.1.1
-
PACKAGE BODY: APPS.AHL_VWP_MR_CST_PR_PVT
12.1.1
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on AHL_MR_ROUTES_V
12.2.2
-
APPS.AHL_VWP_MR_CST_PR_PVT dependencies on AHL_MR_HEADERS_APP_V
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on AHL_MR_ROUTES_V
12.1.1
-
APPS.AHL_VWP_MR_CST_PR_PVT dependencies on AHL_MR_HEADERS_APP_V
12.1.1
-
PACKAGE BODY: APPS.AHL_VWP_MR_CST_PR_PVT
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on AHL_MR_ROUTES
12.2.2
-
APPS.AHL_VWP_TASK_CST_PR_PVT dependencies on AHL_MR_ROUTES
12.1.1
-
APPS.AHL_FMP_MR_HEADER_PVT dependencies on FND_MESSAGE
12.1.1
-
APPS.AHL_FMP_MR_HEADER_PVT dependencies on FND_MESSAGE
12.2.2
-
PACKAGE BODY: APPS.AHL_VWP_TASK_CST_PR_PVT
12.2.2
-
PACKAGE BODY: APPS.AHL_VWP_TASK_CST_PR_PVT
12.1.1
-
APPS.AHL_FMP_MR_HEADER_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.AHL_FMP_MR_HEADER_PVT dependencies on FND_MSG_PUB
12.2.2
-
eTRM - AHL Tables and Views
12.1.1
description: Ahl Production Workorder Operations Information stored in this table ,
-
eTRM - AHL Tables and Views
12.2.2
description: Ahl Production Workorder Operations Information stored in this table ,