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 ,
-
APPS.AHL_DI_ASSO_DOCASO_PVT dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_DOC_REVISION_PUB dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_DOC_REVISION_PUB dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_FILEUPLOAD_PVT dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_DOC_REVISION_PVT dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_ASSO_DOC_ASO_PUB dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_ASSO_DOC_GEN_PVT dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_PRD_WO_PUB dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_ASSO_DOC_ASO_PUB dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_ASSO_DOC_ASO_PVT dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_ASSO_DOCASO_PVT dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_ASSO_DOC_GEN_PVT dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DOC_REVISIONS_PKG dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_ENIGMA_UTIL_PKG dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.HZ_PURGE_GEN dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_ASSO_DOC_ASO_PVT dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DOC_REVISIONS_PKG dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_DI_ASSO_DOC_GEN_PUB dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.AHL_PARTY_MERGE_PKG dependencies on AHL_DOC_REVISIONS_B
12.2.2
-
APPS.HZ_PURGE_GEN dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_PARTY_MERGE_PKG dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_FILEUPLOAD_PVT dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_ASSO_DOC_GEN_PUB dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_DI_DOC_REVISION_PVT dependencies on AHL_DOC_REVISIONS_B
12.1.1
-
APPS.AHL_PRD_WO_PUB dependencies on AHL_REFERENCE_DOC_V
12.1.1
-
APPS.AHL_DI_ASSO_DOCASO_PVT dependencies on AHL_DOCUMENTS_VL
12.1.1
-
APPS.AHL_DI_ASSO_DOCASO_PVT dependencies on AHL_DOCUMENTS_VL
12.2.2
-
APPS.AHL_DI_ASSO_DOC_ASO_PUB SQL Statements
12.2.2
-
APPS.AHL_DI_ASSO_DOC_ASO_PUB SQL Statements
12.1.1
-
APPS.AHL_DI_ASSO_DOCASO_PVT dependencies on AHL_DOCUMENTS_B
12.1.1
-
APPS.AHL_DI_ASSO_DOCASO_PVT dependencies on AHL_DOCUMENTS_B
12.2.2
-
VIEW: APPS.AHL_DOC_TYPE_ASSOS_V
12.2.2
-
VIEW: APPS.AHL_DOC_TYPE_ASSOS_V
12.1.1
-
APPS.AHL_PRD_WO_PUB dependencies on AHL_WORKORDERS
12.1.1
-
APPS.AHL_PRD_WO_PUB dependencies on AHL_VISIT_TASKS_B
12.1.1
-
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 ,
-
APPS.AHL_DOC_REVISIONS_PKG dependencies on AHL_DOC_REVISIONS_B_S
12.1.1
-
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: APPS.AHL_REFERENCE_DOC_V
12.2.2
-
APPS.AHL_DI_ASSO_DOC_GEN_PUB SQL Statements
12.1.1
-
APPS.AHL_DI_ASSO_DOC_GEN_PUB SQL Statements
12.2.2
-
APPS.AHL_DOC_REVISIONS_PKG dependencies on AHL_DOC_REVISIONS_B_S
12.2.2
-
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 ,
-
APPS.HZ_PURGE_GEN dependencies on AHL_RECIPIENT_DOCUMENTS
12.2.2
-
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: APPS.AHL_REFERENCE_DOC_V
12.1.1