QA Plan Relationship Upload

Description

QA Plan Relationship Upload creates, updates and deletes Oracle Quality parent-child collection plan relationships from Excel. Each row links a parent plan to a child plan in an inventory organization, with the entry and layout mode of the child plan, and optionally an element relationship (for example the parent’s Item copied to the child) and a criterion that controls when child results are entered.

When to use it

  • Link existing collection plans as parent and child in bulk, across one or more inventory organizations.
  • Copy element values from parent to child plans, for example Item, by defining the element relationship together with the plan relationship.
  • Change the entry mode, layout mode, auto row count or default parent specification of existing relationships in bulk.
  • Change the relationship type or link flag of existing element relationships, or the operator and values of existing criteria.
  • Remove obsolete plan relationships, or copy relationship setups between environments.

Before you start

  • Access to the upload in Blitz Report.
  • The parent and the child collection plan already exist in the organization. The upload links existing plans and does not create them.
  • Every element you relate or use as a criterion is already on its plan: the parent and criteria elements on the parent plan, the child element on the child plan.

Step 1 – Set the parameters

Open QA Plan Relationship Upload in Blitz Report and set the parameters:

ParameterMeaning
Upload ModeCreate opens an empty sheet for new relationships; Create, Update (default) downloads existing relationships for editing and lets you add new ones.
OrganizationThe inventory organization whose plan relationships are downloaded. Only organizations with collection plans are listed.
Parent PlanDownloads only the relationships of this parent plan.
Child PlanDownloads only the relationships of this child plan.
Blitz Report run screen for QA Plan Relationship Upload with Upload Mode Create, Update, Organization M1 and Child Plan PROCESS FAILURE PLAN

Step 2 – Run to download the Excel file

Click Run. The Excel file downloads and opens with one row per existing plan relationship and its element relationships and criteria, or an empty sheet.

Excel file with the three existing relationships of child plan PROCESS FAILURE PLAN, each with an Item element relationship and a Result criterion

Step 3 – Enter or change the relationships

Organization Code, Parent Plan and Child Plan identify a relationship; the plan lists show the plans of the row’s organization. Set the Entry Mode:

  • Immediate – child results are entered right after the parent record.
  • Delayed – child results are entered later.
  • Automatic – child records are created automatically when the parent record meets the criteria.
  • History – child records are created automatically when the parent record changes.

Optionally set Layout Mode (Single Row Layout or Multiple Row Layout), Auto Row Count and Default Parent Spec. Blank values default to 0 and No.

To relate elements, enter a Parent Element and a Child Element with the Element Rel Type (for example is copied to, is sum of, is average of; default is copied to) and the Link Flag. For a criterion, enter a Criteria Element from the parent plan, a Criteria Operator (for example equals, between, is entered) and the Criteria From Value and, for ranges, Criteria To Value.

The upload checks whether the parent and child plan are already related: if not, the row creates the relationship with its element relationship and criterion; if they are, the row updates the relationship and the existing element relationship and criterion that match the row’s elements. To remove a relationship, set Delete Record to Yes.

Excel file with the layout mode of IN PROCESS MECHANICAL changed, marked Update, and a new relationship from IN PROCESS ELECTRICAL to M1 SURFACE INSPECTION with an Item element relationship, marked Create

Step 4 – Validate and Save

Click Validate and Save. This checks for missing required values and saves the file. Correct any rows it flags before uploading.

Both edited rows show status Valid after Validate and Save

Step 5 – Upload the file

In Blitz Report click Upload and select the saved file. This submits the upload request, which creates, updates or deletes each plan relationship.

File Upload page with the saved Excel file selected for upload

Step 6 – Review the result report

When the request completes, a result report opens listing every uploaded row with its status and message, and the relationship as it is now stored in Oracle Quality.

Result report showing the created and the updated plan relationship with status Success

What’s produced

  • Parent-child collection plan relationships created, updated or deleted, with their element relationships and criteria.
  • A result report listing every row with a status (success or error) and a message.

Common questions

Do I need to create the plans first?
Yes. The parent and child plans and their elements must already exist in the organization.

How does the upload decide between create and update?
By the parent and child plan. If the two plans are not yet related, the row creates the relationship; otherwise it updates it.

Are element relationships and criteria required?
No. An element relationship is processed only when both Parent Element and Child Element are filled, a criterion only when both Criteria Element and Criteria Operator are filled.

Can I add an element relationship or criterion to an existing relationship?
No. On an existing relationship the upload updates only the element relationships and criteria that already exist for the row’s elements. New element relationships and criteria are added when the relationship is created.

Why does a relationship appear on several rows?
The download shows one row for each element relationship and criterion of the relationship.

How do I delete a relationship?
Download in Create, Update mode, set Delete Record to Yes on the row and upload. The Yes option is available once Parent Plan and Child Plan are filled.

Troubleshooting

MessageCauseWhat to do
Plan relationship does not exist for deletion.Delete Record is Yes but the parent and child plan are not related.Check the organization and the parent and child plan names, or clear Delete Record.
Plan relationship validation failed: …Oracle Quality rejected the relationship, for example the plans cannot be related or the entry or layout mode is invalid.Read the Oracle reason that follows the message and correct the row.
Element relationship validation failed: …Oracle Quality rejected the parent and child element pairing or the relationship type.Check that both elements are on their plans and that the Element Rel Type is valid for them.
Parent Plan or Child Plan list is emptyThe Organization Code of the row has no collection plans.Enter an Organization Code that has collection plans.

SQL 45 lines

Parameters 4

ParameterTypeList of values SQL
Upload ModeLOV
:p_upload_mode like '%' || xxen_upload.action_update
OrganizationLOV
mp.organization_code=:p_organization
Parent PlanLOV
qpp.name=:p_parent_plan
Child PlanLOV
qpc.name=:p_child_plan