Search Results ahl_doc_revisions_b
Overview
The AHL_DOC_REVISIONS_B table is a core data object within the Oracle E-Business Suite module for Complex Maintenance, Repair, and Overhaul (AHL). It serves as the master repository for storing revision-level metadata of documents. In the context of asset-intensive industries like aviation or heavy machinery, where maintenance procedures, service bulletins, and technical manuals are strictly version-controlled, this table is critical. It enables the systematic tracking of document evolution, ensuring that maintenance operations reference the correct and approved revision of a document. Its role is to maintain the integrity of the document revision history, separate from the document header information stored in AHL_DOCUMENTS_B and the associated file attachments.
Key Information Stored
The table's primary key is DOC_REVISION_ID, a unique system-generated identifier for each revision record. A critical composite unique key (DOCUMENT_ID, REVISION_NO) enforces that within a single document, each revision number is unique. Key columns include DOCUMENT_ID, which links to the parent document in AHL_DOCUMENTS_B, and REVISION_NO, which stores the specific revision identifier (e.g., 'A', 'B', '1', '2'). The APPROVED_BY_PARTY_ID column is a foreign key to HZ_PARTIES, storing the identifier for the party (person or organization) who approved this specific revision. Other typical columns would include effective dates for the revision, revision status, and creation/update audit information, though these are not explicitly detailed in the provided metadata.
Common Use Cases and Queries
A primary use case is retrieving the complete revision history for a specific document for audit or compliance reporting. Another is identifying the current, effective revision of a document for use in a work order or maintenance procedure. Common queries include finding the latest revision for a set of documents or listing all revisions pending approval. Sample SQL patterns often involve joins to the document header and translation tables.
- To fetch all revisions for a document:
SELECT * FROM AHL_DOC_REVISIONS_B WHERE DOCUMENT_ID = :doc_id ORDER BY REVISION_NO; - To find the latest approved revision:
SELECT MAX(REVISION_NO) KEEP (DENSE_RANK LAST ORDER BY EFFECTIVE_START_DATE) FROM AHL_DOC_REVISIONS_B WHERE DOCUMENT_ID = :doc_id AND STATUS = 'APPROVED';
Related Objects
The AHL_DOC_REVISIONS_B table is central to the AHL document management schema, with defined relationships to several key objects.
- AHL_DOCUMENTS_B: Parent table. Joined via
AHL_DOC_REVISIONS_B.DOCUMENT_ID = AHL_DOCUMENTS_B.DOCUMENT_ID. - HZ_PARTIES: Provides the "Approved By" entity details. Joined via
AHL_DOC_REVISIONS_B.APPROVED_BY_PARTY_ID = HZ_PARTIES.PARTY_ID. - AHL_DOC_FILE_ASSOC_B: Child table linking physical files to a specific revision. Joined via
AHL_DOC_REVISIONS_B.DOC_REVISION_ID = AHL_DOC_FILE_ASSOC_B.REVISION_ID. - AHL_DOC_REVISIONS_TL: Child table for translated columns of the revision. Joined via
AHL_DOC_REVISIONS_B.DOC_REVISION_ID = AHL_DOC_REVISIONS_TL.DOC_REVISION_ID. - AHL_DOC_REVISION_COPIES & AHL_DOC_TITLE_ASSOS_B: Additional child tables referencing the revision record.
-
Table: AHL_DOC_REVISIONS_B
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_REVISIONS_B, object_name:AHL_DOC_REVISIONS_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores revision information of a document. , implementation_dba_data: AHL.AHL_DOC_REVISIONS_B ,
-
Table: AHL_DOC_REVISIONS_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_REVISIONS_B, object_name:AHL_DOC_REVISIONS_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores revision information of a document. , implementation_dba_data: AHL.AHL_DOC_REVISIONS_B ,
-
View: AHL_DOC_TYPE_ASSOS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_DOC_TYPE_ASSOS_V, object_name:AHL_DOC_TYPE_ASSOS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: 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. , implementation_dba_data: APPS.AHL_DOC_TYPE_ASSOS_V ,
-
View: AHL_DOC_TYPE_ASSOS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_DOC_TYPE_ASSOS_V, object_name:AHL_DOC_TYPE_ASSOS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: 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. , implementation_dba_data: APPS.AHL_DOC_TYPE_ASSOS_V ,
-
View: AHL_DOCUMENT_ASSOS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_DOCUMENT_ASSOS_V, object_name:AHL_DOCUMENT_ASSOS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Its a view based on AHL_DOCUMENTS_VL, AHL_DOC_TITLE_ASSOS_VL, AHL_DOC_REVISIONS_B ,FND_LOOKUP_VALUES_VL , implementation_dba_data: APPS.AHL_DOCUMENT_ASSOS_V ,
-
View: AHL_REFERENCE_DOC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_REFERENCE_DOC_V, object_name:AHL_REFERENCE_DOC_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: 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. , implementation_dba_data: APPS.AHL_REFERENCE_DOC_V ,
-
View: AHL_DOCUMENT_ASSOS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_DOCUMENT_ASSOS_V, object_name:AHL_DOCUMENT_ASSOS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Its a view based on AHL_DOCUMENTS_VL, AHL_DOC_TITLE_ASSOS_VL, AHL_DOC_REVISIONS_B ,FND_LOOKUP_VALUES_VL , implementation_dba_data: APPS.AHL_DOCUMENT_ASSOS_V ,
-
View: AHL_REFERENCE_DOC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_REFERENCE_DOC_V, object_name:AHL_REFERENCE_DOC_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: 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. , implementation_dba_data: APPS.AHL_REFERENCE_DOC_V ,
-
View: AHL_DOC_REVISIONS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_DOC_REVISIONS_VL, object_name:AHL_DOC_REVISIONS_VL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view is based on AHL_DOC_REVISIONS_B and AHL_DOC_REVISIONS_TL tables. , implementation_dba_data: APPS.AHL_DOC_REVISIONS_VL ,
-
View: AHL_DOC_REVISIONS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_DOC_REVISIONS_VL, object_name:AHL_DOC_REVISIONS_VL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view is based on AHL_DOC_REVISIONS_B and AHL_DOC_REVISIONS_TL tables. , implementation_dba_data: APPS.AHL_DOC_REVISIONS_VL ,
-
Table: AHL_DOC_REVISIONS_TL
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_REVISIONS_TL, object_name:AHL_DOC_REVISIONS_TL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores the translated column information of a document revision. , implementation_dba_data: AHL.AHL_DOC_REVISIONS_TL ,
-
Table: AHL_DOC_REVISION_COPIES
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_REVISION_COPIES, object_name:AHL_DOC_REVISION_COPIES, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Table is Obsolete.This table stores persons who received copies of document revision. , implementation_dba_data: AHL.AHL_DOC_REVISION_COPIES ,
-
Table: AHL_DOCUMENTS_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOCUMENTS_B, object_name:AHL_DOCUMENTS_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about documents. , implementation_dba_data: AHL.AHL_DOCUMENTS_B ,
-
Table: AHL_DOC_REVISIONS_TL
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_REVISIONS_TL, object_name:AHL_DOC_REVISIONS_TL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores the translated column information of a document revision. , implementation_dba_data: AHL.AHL_DOC_REVISIONS_TL ,
-
Table: AHL_DOC_FILE_ASSOC_B
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_FILE_ASSOC_B, object_name:AHL_DOC_FILE_ASSOC_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores files association with document. As a part of 11.5.10 Enhancements , implementation_dba_data: AHL.AHL_DOC_FILE_ASSOC_B ,
-
Table: AHL_DOC_REVISION_COPIES
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_REVISION_COPIES, object_name:AHL_DOC_REVISION_COPIES, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores persons who received copies of document revision. , implementation_dba_data: AHL.AHL_DOC_REVISION_COPIES ,
-
Table: AHL_DOC_FILE_ASSOC_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_FILE_ASSOC_B, object_name:AHL_DOC_FILE_ASSOC_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores files association with document. As a part of 11.5.10 Enhancements , implementation_dba_data: AHL.AHL_DOC_FILE_ASSOC_B ,
-
Table: AHL_DOCUMENTS_B
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOCUMENTS_B, object_name:AHL_DOCUMENTS_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about documents. , implementation_dba_data: AHL.AHL_DOCUMENTS_B ,
-
Table: AHL_DOC_TITLE_ASSOS_B
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_TITLE_ASSOS_B, object_name:AHL_DOC_TITLE_ASSOS_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores association between document or document revision and ASO object (ASO object could be a route, master configuration, unit configuration, etc.). , implementation_dba_data: AHL.AHL_DOC_TITLE_ASSOS_B ,
-
Table: AHL_DOC_TITLE_ASSOS_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_DOC_TITLE_ASSOS_B, object_name:AHL_DOC_TITLE_ASSOS_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores association between document or document revision and ASO object (ASO object could be a route, master configuration, unit configuration, etc.). , implementation_dba_data: AHL.AHL_DOC_TITLE_ASSOS_B ,
-
View: AHL_PC_HEADER_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PC_HEADER_DETAILS_V, object_name:AHL_PC_HEADER_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View Based on PC Header, PC Nodes ,FMP and MR views. , implementation_dba_data: APPS.AHL_PC_HEADER_DETAILS_V ,
-
View: AHL_PC_HEADER_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PC_HEADER_DETAILS_V, object_name:AHL_PC_HEADER_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View Based on PC Header, PC Nodes ,FMP and MR views. , implementation_dba_data: APPS.AHL_PC_HEADER_DETAILS_V ,