Search Results qa_ahl_mr
Overview
The APPS.QA_PLAN_ELEMENT_API package body provides the core programmatic interface for creating, maintaining, and interrogating quality plan elements and specification characteristics within Oracle EBS Quality Management. Its principal role is to encapsulate the validation logic, datatype resolution, and cache management required when a QA plan element is associated with a specification characteristic (QA_SPEC_CHARS) or a plan characteristic (QA_PLAN_CHARS). The package is classified as an API in the ETRM 12.2.2 repository and resides in the APPS schema, meaning it is callable from forms, concurrent programs, and custom extensions without additional grants.
A significant portion of the package is devoted to performance-oriented internal caching. As documented in the source header, record types qa_spec_char_rec and qa_plan_char_rec were introduced under Bug 3769260 to store only the relevant columns of QA_SPEC_CHARS and QA_PLAN_CHARS rather than selecting all columns. These records populate the qa_spec_chars_table and companion plan cache, allowing repeated lookups during an element transaction to be served from PL/SQL memory instead of triggering redundant SQL.
Key Procedures and Functions
FETCH_QA_SPEC_CHARS— the entry point most commonly searched for by developers. It retrieves specification characteristic rows into the internal cache table, applying the narrowed column list defined byqa_spec_char_rec.FETCH_QA_PLAN_CHARSandREFETCH_QA_PLAN_CHARS— populate and refresh the QA plan characteristic cache. The refetch variant supports cache invalidation when underlying plan data changes mid-session.KEYFLEX,NORMALIZED,DERIVED,HARDCODED, andPRIMITIVE— collectively these support the datatype and value-source classification used by Quality element definitions, distinguishing key flexfield-derived values, normalized values, derived calculations, hardcoded constants, and primitive datatypes.VALUES_EXIST,EXISTS_QA_PLAN_CHARS,SQL_VALIDATION_EXISTS— existence and validation checks used before insert or update of element definitions.ELEMENT_IN_PLANandELEMENT_IN_SPEC— membership tests confirming whether a given element is associated with a plan or a specification.GET_ACTUAL_DATATYPEandGET_ELEMENT_DATATYPE— resolve the effective datatype of an element, accounting for the actual value stored versus its declared type.GET_SPEC_LIMITSandGET_LOW_HIGH_VALUES— return specification tolerance boundaries (target, upper/lower spec, reasonable, and user-defined limits) for a characteristic.GET_DEPARTMENT_ID,GET_JOB_ID,GET_PRODUCTION_LINE_ID— contextual accessors resolving organizational and manufacturing context for an element.
Tables Accessed
The package reads and writes the quality plan base tables QA_PLAN_CHARS and QA_SPEC_CHARS through the cached record types. Manufacturing and process context is supplied by GME_BATCH_HEADER, GME_BATCH_STEPS, GME_BATCH_STEP_ACTIVITIES, GME_BATCH_STEP_RESOURCES, GME_PROCESS_PARAMETERS, and GMP_PROCESS_PARAMETERS. Inventory context is drawn from MTL_ITEM_REVISIONS, MTL_LOT_NUMBERS, MTL_MATERIAL_STATUSES, and MTL_PARAMETERS. Installed-base and service context comes from CSI_ITEM_INSTANCES, CS_INCIDENTS, and CSD_REPAIRS. Party data is referenced via HZ_PARTIES, and task references via JTF_TASKS_B.
Usage Notes
QA_PLAN_ELEMENT_API is referenced by 22 other packages, indicating it is a foundational dependency for higher-level Quality APIs rather than a terminal user-facing routine. It is typically invoked from the Quality Management plan and specification forms during element definition, from concurrent programs that validate or migrate plan data, and from custom PL/SQL that must resolve element datatypes or specification limits. Because the API maintains session-level caches, callers should invoke the refetch variants when underlying plan or specification data may have been modified by another session. All calls should be made in the APPS schema context, and the standard EBS API conventions for error handling via the FND message stack apply.
-
SYNONYM: APPS.QA_AHL_MR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_AHL_MR, status:VALID,
-
SYNONYM: APPS.QA_AHL_MR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_AHL_MR, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AHL_MR_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_MR_HEADERS_B, status:VALID,
-
PACKAGE BODY: APPS.QA_PLAN_ELEMENT_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QA_PLAN_ELEMENT_API, status:VALID,
-
PACKAGE BODY: APPS.QA_PLAN_ELEMENT_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QA_PLAN_ELEMENT_API, status:VALID,
-
SYNONYM: APPS.AHL_MR_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MR_HEADERS_B, status:VALID,
-
VIEW: APPS.QA_RESULTS_V
12.1.1
-
VIEW: APPS.QA_RESULTS_V
12.2.2
-
VIEW: APPS.QA_RESULTS_FULL_V
12.2.2
-
VIEW: APPS.QA_RESULTS_FULL_V
12.1.1
-
View: QA_RESULTS_FULL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_FULL_V, object_name:QA_RESULTS_FULL_V, status:VALID, product: QA - Quality , description: Shows all quality results , implementation_dba_data: APPS.QA_RESULTS_FULL_V ,
-
View: QA_RESULTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_V, object_name:QA_RESULTS_V, status:VALID, product: QA - Quality , description: Shows all quality results , implementation_dba_data: APPS.QA_RESULTS_V ,
-
View: QA_RESULTS_FULL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_FULL_V, object_name:QA_RESULTS_FULL_V, status:VALID, product: QA - Quality , description: Shows all quality results , implementation_dba_data: APPS.QA_RESULTS_FULL_V ,
-
View: QA_RESULTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_V, object_name:QA_RESULTS_V, status:VALID, product: QA - Quality , description: Shows all quality results , implementation_dba_data: APPS.QA_RESULTS_V ,
-
APPS.QA_PLAN_ELEMENT_API dependencies on QA_AHL_MR
12.1.1
-
APPS.QA_PLAN_ELEMENT_API dependencies on QA_AHL_MR
12.2.2
-
APPS.QA_PLAN_ELEMENT_API SQL Statements
12.1.1
-
APPS.QA_PLAN_ELEMENT_API SQL Statements
12.2.2
-
APPS.QA_SS_LOV_API SQL Statements
12.1.1
-
APPS.QA_SS_LOV_API SQL Statements
12.2.2
-
VIEW: APPS.QA_RESULTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_V, object_name:QA_RESULTS_V, status:VALID,
-
VIEW: APPS.QA_RESULTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_V, object_name:QA_RESULTS_V, status:VALID,
-
VIEW: APPS.QA_RESULTS_FULL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_FULL_V, object_name:QA_RESULTS_FULL_V, status:VALID,
-
VIEW: APPS.QA_RESULTS_FULL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_RESULTS_FULL_V, object_name:QA_RESULTS_FULL_V, status:VALID,
-
eTRM - QA Tables and Views
12.1.1
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
eTRM - QA Tables and Views
12.2.2
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
APPS.QLTTRAWB SQL Statements
12.1.1
-
APPS.QLTTRAWB SQL Statements
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_LOV_API
12.1.1
-
PACKAGE BODY: APPS.QA_SS_LOV_API
12.2.2
-
PACKAGE BODY: APPS.QLTTRAWB
12.1.1
-
PACKAGE BODY: APPS.QLTTRAWB
12.2.2
-
eTRM - QA Tables and Views
12.1.1
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
eTRM - QA Tables and Views
12.2.2
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1