Quality Inspection (QI) Request Transactions

A QI request, which contains specifications associated with a particular item and lot, may be created automatically for lots that are reported as a result of transactions in the procurement process, in the manufacturing process, in the customer order return process, or after lot creation and lot reclassification.

Outcome

The system maintains the integrity of the QI request whenever stock movements occur. To ensure that integrity, the system will update the "To Location" with the correspondent QI request when a stock transfer happens. See the stock transfer scenarios for how QI requests are updated below.

There is a function program (QMS800Fnc) that automatically creates the QI request or multiple QI requests based on the test frequency logic.

The QI request generated for a particular lot provides the basis for a final assessment of the quality of the lot, which is made when all inspections are reported. The lot is then either approved or rejected.

Before you start

The setup conditions outlined in Setup of Quality Inspection (QI) Requests must be met.

Scenarios

Below you will find stock transfer scenarios showing how QI requests are updated.

Scenario 1: Fully transfer from the "From Location" to an empty "To Location"

The "From Loc" QI request

The QI req origin

Qty on hand

The "To Loc" QI request

Qty on hand

Transfer Quantity

MITLOC "To Location" Record

QI Request Updates

QI Req 1

Std

100

None

0

100

"To Location" QI request updated to QI Req 1

No updates in the QI Request (QMSRQH) table

QI Req 2

Retest - Lot

100

None

0

100

"To Location" QI request updated to QI Req 2

No updates in the QI Request (QMSRQH) table

QI Req 3

Retest - Balance ID

100

None

0

100

"To Location" QI request updated to QI Req 2

The QI Request (QMSRQH) table updates the Balance ID (Location)

Scenario 2: Partially transfer from the "From Location" to an empty "To Location"

The "From Loc" QI request

The QI req origin

Qty on hand

The "To Loc" QI request

Qty on hand

Transfer Quantity

MITLOC "To Location" Record

QI Request Updates

QI Req 1

Std

100

None

0

50

"To Location" QI request updated to QI Req 1

No updates to the QI Request (QMSRQH) table

QI Req 2

Retest - Lot

100

None

0

50

"To Location" QI request updated to QI Req 2

No updates to the QI Request (QMSRQH) table

QI Req 2

Retest - Balance ID

100

None

0

50

"To Location" QI request updated to QI Req 3

Copy QI Request 2 and create QI Request 3 into the "To Location" and coopy test results

Scenario 3: Fully transfer from the "From Location" to a stocked "To Location"

The "From Loc" QI request

The QI req origin

Qty on hand

The "To Loc" QI request

Qty on hand

Transfer Quantity

MITLOC "To Location" Record

QI Request Updates

QI Req 1

Std

100

QI Req 1

10

100

"To Location" QI request remains QI Req 1

No updates to the QI Request (QMSRQH) table

QI Req 2

Retest - Lot

100

QI Req 2

10

100

"To Location" QI request remains QI Req 2

No updates to the QI Request (QMSRQH) table

QI Req 2

Retest - Balance ID

100

QI Req 1

10

100

Select the QI request with the latest date

Update QI Request Balance ID if it is QI Req 2

QI Req 1

Std

100

QI Req 2 - Retest

10

100

No action

No action

QI Req 3

Retest - Balance ID

100

QI Req 2 - Retest

10

100

Use the QI request with the latest date

Update QI Request Balance ID if it is QI Req 3.

Replace the older QI request with newer one.

Scenario 4: Partially transfer from the "From Location" to a stocked "To Location"

The "From Loc" QI request

The QI req origin

Qty on hand

The "To Loc" QI request

Qty on hand

Transfer Quantity

MITLOC "To Location" Record

QI Request Updates

QI Req 1

Std

100

QI Req 1

10

50

"To Location" QI request remains QI Req 1

No updates to the QI Request (QMSRQH) table

QI Req 1

Retest - Lot

100

QI Req 1

10

50

"To Location" QI request remains QI Req 2

No updates to the QI Request (QMSRQH) table

QI Req 2

Retest - Balance ID

100

QI Req 1 - Standard

10

50

No action

No action

QI Req 3

Retest - Balance ID

100

QI Req 2 - Retest

10

50

No action

No action

Processes for automatically creating QI requests

QI request function program (QMS800Fnc)

  1. QMS800Fnc has an operation for each type of transaction:

    • The MOQIReqCreation operation is called from the Manufacturing order and calculates the test frequencies. This operation also defines, based on the quality plan, the rules to create one or multiple QI requests and test sequences.
    • The POQIReqCreation operation is called from the Purchase order and calculates the test frequencies. This operation also defines, based on the quality plan, the rules to create one or multiple QI requests and test sequences.
  2. QMS800Fnc also has operations for handling tests and/or sequences:

    • The ReplaceCreateQIReq operation replaces the QI request of the target item/lot.

      If the order specification does not exist in the QI request, the system will copy the order specification and only those tests that have the 'Include test in QI request' (ITQR) setting enabled.

    • The CopyTestResNewSeq operation creates a new sequence in the target QI request and copies the test results from the source QI request when the 'QI request basis' (QRBS) setting = '2 - Use the latest QI request recorded'.

      When the 'QI request basis' (QRBS) = '3 - Do not copy QI request,' this indicates that the new lot already has a QI request and will not require any action.