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:
- Collection Plan headers (name, type, dates, multirow flag)
- Plan Transactions (transaction assignments, mandatory/background flags)
- Collection Triggers (trigger conditions per transaction)
- Plan Elements (collection element assignments, prompts, flags)
- Element Values (value lookups per element)
- Action Triggers (trigger sequences and conditions per element)
- Actions (action assignments per trigger, including assign type, assigned element, alert action set and action, status code)
- Action Outputs (output variable mappings per action)
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:
- Plan Header
- Transaction
- Collection Trigger
- Element
- Element Value
- Action Trigger
- Action
- 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
Related Reports
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
- Plan Complexity: A single collection plan has several linked layers, including transactions, triggers, elements, values, action triggers and actions, and building them through the forms takes many steps.
- Consistency Across Organizations: Inspection plans must be the same wherever a product is made, and manual copying introduces differences.
- Automated Responses: Alerts and corrective steps driven by quality results must reference the correct alert sets and actions.
- Change Control: Modifying a plan should be a visible, reviewable change rather than a series of form edits.
The Solution
- Eight Row Types: The template holds plan header, transaction, collection trigger, element, element value, action trigger, action and action output rows, each inheriting its parent context from the plan name.
- Natural Key Matching: Actions are identified by their trigger, name, assignment type, assigned element, alert set, alert and status, so a change to any of these creates a new action.
- Multiple Actions: Several actions of the same type can coexist under one trigger, for example two alert actions with different alert sets.
- Delete Control: A delete column removes an obsolete action when set to Yes.
Technical Architecture (High Level)
Primary Tables
QA_PLANS: the collection plan headers, with name, description, plan type, effective dates and the multirow flag.QA_PLAN_TRANSACTIONSandQA_PLAN_TRANSACTIONS_V: the transactions assigned to a plan, with their mandatory, background and enabled flags.QA_PLAN_COLLECTION_TRIGGERSandQA_TXN_COLLECTION_TRIGGERS_V: the collection triggers of each plan transaction.QA_PLAN_CHARSandQA_CHARS: the plan elements and their element definitions, with prompts, flags and default values.QA_PLAN_CHAR_VALUE_LOOKUPS: the allowed values of each element.QA_PLAN_CHAR_ACTION_TRIGGERS: the action triggers, with their sequence, operator and low and high values.QA_PLAN_CHAR_ACTIONSandQA_ACTIONS: the actions assigned to each action trigger, and the action definitions.QA_PLAN_CHAR_ACTION_OUTPUTS: the output variable mappings of each action.ALR_ACTION_SETSandALR_ACTIONS: the alert action sets and alert actions.MTL_PARAMETERS: the organization of each plan.
Logical Relationships
- Each plan in
QA_PLANSis joined to its organization inMTL_PARAMETERS. - Plan transactions in
QA_PLAN_TRANSACTIONSare joined to the plan, and their viewQA_PLAN_TRANSACTIONS_Vsupplies the transaction description. - Collection triggers are joined from each plan transaction through
QA_PLAN_COLLECTION_TRIGGERStoQA_TXN_COLLECTION_TRIGGERS_V. - Plan elements in
QA_PLAN_CHARSare joined toQA_CHARS, and their allowed values toQA_PLAN_CHAR_VALUE_LOOKUPS. - Action triggers in
QA_PLAN_CHAR_ACTION_TRIGGERSare joined to each element, and actions inQA_PLAN_CHAR_ACTIONSto each action trigger. - 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. - The eight row types are combined with UNION ALL, and each carries a row type number.
Parameters & Filtering
- Upload Mode: Selects Create, or Create and Update, which controls whether existing plans are downloaded.
- Organization: Restricts the plans to one organization.
- Plan Type: Restricts the plans to one plan type.
- Collection Plan: Selects one plan by name.
- Collection Plan From and Collection Plan To: Limit the plans to a range of names.
Performance & Optimization
- Plan Driven Extract: Every row type joins from the plan and its organization, so the extract is bounded by the plans selected.
- Row Type Layering: Each child row type adds one level of detail to the plan, so the joins are limited to the rows that exist at that level.
- Outer Joins for Optional Data: Assigned elements, alert sets and alerts are outer joined, so actions that do not use them are still returned.
- Output Level Last: Action outputs are read only for actions that have output mappings, which keeps the lowest level of the hierarchy to the needed rows.
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.
Useful Links
- Blitz Report™ – World’s Fastest Oracle EBS Reporting Tool
- Oracle Discoverer Replacement – Import Worksheets into Blitz Report™
- Oracle EBS Reporting Toolkits by Blitz Report™
- Blitz Report™ FAQ & Community Q&A
- Supply Chain Hub by Blitz Report™
- Blitz Report™ Customer Case Studies
- Oracle EBS Reporting Blog
- Oracle EBS Reporting Resource Centre
© Enginatics GmbH