Results for “ahl_doc_type_assos_v”

24 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.AHL_DOC_TYPE_ASSOS_V is a reporting view in the Oracle E-Business Suite product group AHL — Complex Maintenance Repair and Overhaul (CMRO). It exposes document-to-document associations that are used to describe master configuration relationships between technical documents, their titles, and their revisions. The view carries a VALID status in both release 12.1.1 and 12.2.2 and is owned by the APPS schema, which makes it the standard access point for concurrent programs, Oracle Reports, Oracle XML Publisher (BI Publisher) templates, and OAF-based custom pages that need to display configuration documentation structure.

Functionally, the view answers the question: "Which document title or revision is associated with a given assembly or object, and does that association follow the latest revision?" It joins document header data with revision data and decodes the lookup values that drive the document type description and the use-latest-revision flag. Because associations can exist with or without an explicit revision, the view is defined as a UNION of two branches so that both cases are represented in a single result set.

Underlying Base Objects

The ETRM metadata documents four referenced base objects for this view:

The first UNION branch filters ADT.DOC_REVISION_ID IS NULL and joins revisions only through DOCUMENT_ID. The second branch filters ADT.DOC_REVISION_ID IS NOT NULL and joins revisions on both DOCUMENT_ID and DOC_REVISION_ID. This design ensures every association is represented exactly once, whether or not it is revision-specific.

Key Columns

  • DOC_TITLE_ASSO_ID — primary identifier of the title association record.
  • OBJECT_VERSION_NUMBER — optimistic locking version used by the OAF layer.
  • ASO_OBJECT_ID — the identifier of the associated assembly/object referenced by the association.
  • USE_LATEST_REV_FLAG and USE_LATEST_REV_FLAG_MEAN — the flag itself and its decoded meaning from the lookup.
  • DOCUMENT_ID, DOCUMENT_NO, DOCUMENT_TITLE — document header identity.
  • DOC_TYPE_CODE and DOC_TYPE_DESCRIPTION — document type and its decoded lookup meaning.
  • DOC_REVISION_ID, REVISION_NO — revision identity; null when the association is not revision-specific.
  • CHAPTER, SECTION, SUBJECT, PAGE, FIGURE, NOTE — positional detail describing where within the document the association applies.

Common Use Cases and Queries

Typical uses include configuration documentation reports, document revision audits, and integration extracts that feed downstream CMRO or maintenance execution systems. A common query lists all associations for a given object, with document type meanings decoded:

  • Filter by ASO_OBJECT_ID to retrieve the document set for a specific assembly.
  • Filter on REVISION_NO IS NULL to isolate associations that follow the latest revision.
  • Group by DOC_TYPE_DESCRIPTION to summarize documentation coverage for an object.

A representative statement is:

  • SELECT doc_title_asso_id, aso_object_id, document_no, document_title, doc_type_description, revision_no, chapter, section, subject, page, figure, note FROM ahl_doc_type_assos_v WHERE aso_object_id = :p_object_id ORDER BY document_no, revision_no;

Because the view resolves lookup meanings and revision context internally, it removes the need for application code to re-implement the joins to FND_LOOKUP_VALUES_VL, AHL_DOCUMENTS_VL, AHL_DOC_REVISIONS_B, or AHL_DOC_TITLE_ASSOS_VL, making it the preferred access path for read-only reporting against AHL document type associations.