Skip to the content.

QA Collection Plan Upload – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Upload to create, update, or delete Quality Collection Plans and all child entities.

This upload manages:

Multiple actions of the same action type can coexist under one action trigger (e.g. two Assign value actions with different formulas, or two Send email actions with different alert sets). Actions are identified by the natural key (action trigger, action name, assign type, assigned element, alert action set, alert action, status code, action message); changing any of these fields creates a new action rather than updating an existing one. Use Delete=Yes to remove an obsolete action.

CAR (Corrective Action Request) actions are not yet supported.

Upload Modes

Create

Opens an empty spreadsheet for entering new Collection Plans and child entities.

Create, Update

Downloads existing Collection Plans matching filters for review and update. New rows can be added to create additional plans in the same upload.

Row Types

The upload uses a hierarchical structure with 8 row types:

  1. Plan Header
  2. Transaction
  3. Collection Trigger
  4. Element
  5. Element Value
  6. Action Trigger
  7. Action
  8. Action Output

Each child row inherits its parent context from the plan_name column.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Upload Mode, Organization, Plan Type, Collection Plan, Collection Plan From, Collection Plan To

Oracle EBS Tables Used

qa_plans, mtl_parameters, qa_plan_transactions, qa_plan_transactions_v, qa_plan_collection_triggers, qa_txn_collection_triggers_v, qa_plan_chars, qa_chars, qa_plan_char_value_lookups, qa_plan_char_action_triggers, qa_plan_char_actions, qa_actions, alr_action_sets, alr_actions, qa_plan_char_action_outputs

Report Categories

Enginatics, Upload

QA Collection Plans, QA Collection Plan Transactions, QA Collection Plan Actions, QA Collection Plan Element Values, QA Collection Plan Elements, QA Collection Plan Relationships

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import QA_Collection_Plan_Upload.xml
SQL Source QA Collection Plan Upload.sql
Full Report on Enginatics www.enginatics.com/reports/qa-collection-plan-upload/

Case Study & Technical Analysis: QA Collection Plan Upload

Executive Summary

QA Collection Plan Upload creates, updates and deletes Oracle Quality collection plans and their child entities in one spreadsheet. A collection plan defines what is inspected and recorded: the transactions that trigger collection, the elements to be captured, their allowed values, and the actions that run when a result meets a condition. Quality engineers, inspection planners and implementation consultants use it to build plan sets for receiving, in-process and final inspection, or to replicate a validated plan across organizations without re-entering each element by hand.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. Each plan in QA_PLANS is joined to its organization in MTL_PARAMETERS.
  2. Plan transactions in QA_PLAN_TRANSACTIONS are joined to the plan, and their view QA_PLAN_TRANSACTIONS_V supplies the transaction description.
  3. Collection triggers are joined from each plan transaction through QA_PLAN_COLLECTION_TRIGGERS to QA_TXN_COLLECTION_TRIGGERS_V.
  4. Plan elements in QA_PLAN_CHARS are joined to QA_CHARS, and their allowed values to QA_PLAN_CHAR_VALUE_LOOKUPS.
  5. Action triggers in QA_PLAN_CHAR_ACTION_TRIGGERS are joined to each element, and actions in QA_PLAN_CHAR_ACTIONS to each action trigger.
  6. Action definitions, assigned elements and alert sets are outer joined from the action row, and output mappings are joined from the action to QA_PLAN_CHAR_ACTION_OUTPUTS.
  7. The eight row types are combined with UNION ALL, and each carries a row type number.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Can I add a second action of the same type under one action trigger? A: Yes. Each action is identified by its natural key, so a different formula or alert set creates a separate action.

Q: How do I remove an action from a plan? A: Download the plan with Create and Update, find the action row, and set Delete to Yes.

Q: Are corrective action requests supported? A: No. The description states that CAR actions are not yet supported by this upload.


© Enginatics GmbH