Search Results context_element
Overview
QA_AK_MAPPING_API is a PL/SQL package in the APPS schema that acts as the integration bridge between Oracle Quality (QA) and Oracle Application Object Library (AK) descriptive flexfield infrastructure. Its core business purpose is to map Quality collection plan elements, characteristics, and plan-level constructs to AK flexfield regions, region items, and attributes so that quality data entry can be presented through the standard AK-driven flexfield user interface. Because a collection plan element must correspond to a specific flexfield segment before values can be captured against it, this package performs the registration, validation, and cleanup of those mappings. The package is classified as an API, carries a VALID status in both 12.1.1 and 12.2.2, and exposes eight documented program units. It depends only on the SYS.STANDARD package and is referenced by QA_PARENT_CHILD_PKG and QA_VALIDATION_API, confirming its role as a shared low-level service for the broader Quality module.
Key Procedures and Functions
- CONSTRUCT_AK_CODE — Builds the AK code identifier used to link a Quality object to its corresponding flexfield construct.
- RETRIEVE_ID — Retrieves the identifier of an existing AK mapping or related Quality/AK entity so callers can reuse mappings rather than recreate them.
- GET_VO_ATTRIBUTE_NAME — Returns the AK attribute name associated with a validation object or value-set construct, supporting attribute resolution during mapping.
- MAP_ELEMENT — Creates the mapping between an individual Quality element (characteristic) and its AK region item/attribute.
- MAP_PLAN — Establishes the mapping at the collection plan level, associating a plan with the AK region structure that will render its elements.
- DELETE_ELEMENT_MAPPING — Removes the mapping for a single element, typically when a characteristic is detached from a plan.
- DELETE_PLAN_MAPPING — Removes the plan-level mapping, used during plan deletion or structural rework.
- CONTEXT_ELEMENT — Handles context-sensitive element handling, resolving the context segment that governs which flexfield attributes apply.
Together these units provide a symmetric create/retrieve/delete lifecycle for both element and plan mappings, plus supporting utilities for code and attribute resolution. No parameter lists are documented, and none should be assumed.
Tables Accessed
The package works across two table families. The AK tables — AK_ATTRIBUTES, AK_REGIONS, AK_REGION_ITEMS, and AK_REGION_LOV_RELATIONS — supply flexfield attribute, region, region item, and list-of-values metadata references. The QA tables — QA_CHARS, QA_PC_PLAN_RELATIONSHIP, QA_PLANS, QA_PLAN_CHARS, QA_PLAN_CHAR_ACTIONS, QA_PLAN_CHAR_ACTION_TRIGGERS, QA_PLAN_TRANSACTIONS, and QA_TXN_COLLECTION_TRIGGERS — hold the plan definitions, characteristic assignments, action rules, triggers, and transaction configuration that the AK mapping must align with. QA_PC_PLAN_RELATIONSHIP is central to parent-child plan structures, while DUAL and PLITBLM are used as utility constructs (singleton queries and the PL/SQL integer table type). Access is made through APPS synonyms.
Usage Notes
QA_AK_MAPPING_API is not a user-facing API and is not invoked directly from a form or concurrent program. It is called internally by other Quality packages, most notably QA_VALIDATION_API and QA_PARENT_CHILD_PKG, during plan setup and element validation when flexfield-backed data entry is required. Because mappings must remain synchronized with the underlying AK region metadata, this package is typically exercised during collection plan creation, modification, and deletion, and any customization that programmatically constructs quality plans or characteristics should route mapping operations through these procedures rather than inserting into the AK or QA tables directly. Custom code must respect the package's dependency on committed plan and characteristic definitions, since mapping calls assume the referenced Quality objects already exist.
-
PACKAGE: APPS.QA_AK_MAPPING_API
12.1.1
-
PACKAGE: APPS.QA_JRAD_PKG
12.2.2
-
PACKAGE: APPS.QA_JRAD_PKG
12.1.1
-
PACKAGE: APPS.QA_AK_MAPPING_API
12.2.2
-
APPS.QA_JRAD_PKG dependencies on QA_JRAD_PKG
12.1.1
-
PACKAGE BODY: APPS.QA_JRAD_PKG
12.2.2
-
APPS.QA_JRAD_PKG dependencies on QA_JRAD_PKG
12.2.2
-
PACKAGE BODY: APPS.QA_JRAD_PKG
12.1.1
-
PACKAGE: APPS.QA_PLAN_ELEMENT_API
12.1.1
-
PACKAGE: APPS.QA_PLAN_ELEMENT_API
12.2.2
-
PACKAGE BODY: APPS.QA_AK_MAPPING_API
12.1.1
-
PACKAGE BODY: APPS.QA_AK_MAPPING_API
12.2.2
-
APPS.QA_AK_MAPPING_API dependencies on QA_AK_MAPPING_API
12.1.1
-
APPS.QA_AK_MAPPING_API dependencies on QA_AK_MAPPING_API
12.2.2
-
APPS.QA_JRAD_PKG dependencies on QA_PLAN_ELEMENT_API
12.1.1
-
APPS.QA_JRAD_PKG dependencies on QA_PLAN_ELEMENT_API
12.2.2
-
PACKAGE BODY: APPS.QA_PLAN_ELEMENT_API
12.1.1
-
PACKAGE BODY: APPS.QA_PLAN_ELEMENT_API
12.2.2
-
PACKAGE BODY: APPS.QA_SS_CORE
12.1.1
-
PACKAGE BODY: APPS.QA_SS_CORE
12.2.2