View quality control checks for an order
Checks created from a warehouse or order document keep a reference to the order they trace back to. Business Central deletes a warehouse receipt or warehouse shipment when it is posted, so without this reference the link between a check and the order it inspected would be lost. The Order Document Type and Order No. fields preserve that link, and the actions described below use it to group every check taken against the same order.
Where the order reference comes from
The order reference is resolved when the check is created, from the document that fired the trigger. For checks created from a warehouse receipt or warehouse shipment, the system reads the source order from the warehouse line. For checks created from an order or its posted document, the document itself is used.
| Trigger document type | Order Document Type |
|---|---|
| Purchase Order, Purchase Receipt | Purchase Order |
| Purchase Return Order, Purchase Return Shipment | Purchase Return Order |
| Sales Order, Sales Shipment | Sales Order |
| Sales Return Order, Sales Return Receipt | Sales Return Order |
| Transfer Order, Transfer Receipt, Transfer Shipment | Transfer Order |
| Production Order | Production Order |
The same rule applies to item-type checks and general-type checks. A general-type check covers several document lines, so it receives an order reference only when all of its lines come from one order:
- When all lines come from one order, the Order Document Type and Order No. fields are set to that order. For a warehouse receipt or warehouse shipment, the order is taken from the source document of each warehouse line.
- When the lines come from more than one order, for example a warehouse receipt with lines from two purchase orders, both fields are left blank. When a line from a different order is added to an existing check, both fields are cleared.
A posted check keeps the order reference of the check it was posted from. A check created with the + button next to the quality tile of a production order in the Aptean Shop Floor Production (BC) extension receives the production order as its order reference.
Inspection Status, Inventory, and non-conformance triggers do not set an order reference, because they are not tied to an order document. Checks created manually from a warehouse receipt or warehouse shipment do not receive one either.
Checks created before version 2604.1.0.0 are not updated, so general-type checks created before that version have no order reference. The Quality Control Checks and Posted Quality Control Checks actions on an order still list them, as described in View checks from an order.
View the order reference on a check
On the Quality Control Check and Posted Quality Control Check cards, the Order group on the General FastTab shows the following read-only fields.
| Field | Description |
|---|---|
| Order Document Type | Specifies the document type of the originating order — for example Purchase Order, Sales Order, or Transfer Order. |
| Order No. | Specifies the number of the originating order, resolved from the trigger document when the check was created. |
Both fields are blank when the check has no order reference.
View all checks for the same order
Select the Related QC Checks action on the action bar of the Quality Control Check or Posted Quality Control Check card. The action opens the list of open checks that share the same order. If no open checks remain, it opens the posted checks instead. If the order has no checks at all, a message states that none were found. The action is available only when the check has an order reference.
The Related QC Checks FactBox on the same cards shows the counts directly.
| Field | Description |
|---|---|
| Open QC Checks | Specifies the number of open quality control checks for the same originating order. Select the value to open the list. |
| Posted QC Checks | Specifies the number of posted quality control checks for the same originating order. Select the value to open the list. |
View checks from an order
The Quality Control Checks and Posted Quality Control Checks actions are available on the card and list pages of purchase orders, purchase return orders, sales orders, sales return orders, transfer orders, released production orders, and finished production orders. Each action lists the following checks for the selected order:
- Checks whose Order Document Type and Order No. field values match the order.
- Checks whose Document Type field value is the order type and whose Document No. field value is the order number, even when their Order No. field is blank.
Each check is listed once. Users who are quality control team members but not quality control managers see only the checks for their teams, as on the other quality control check lists.
For example, posted check PQC-00005 was created by a trigger when purchase order PO101177 was released, before version 2604.1.0.0, so its Order No. field is blank. Selecting the Posted Quality Control Checks action on purchase order PO101177 still lists PQC-00005, because its Document No. field value is PO101177.
View checks from a posted invoice
Because the order reference survives the warehouse document, the checks remain reachable from the invoice at the end of the process.
- Open the Posted Purchase Invoice or Posted Sales Invoice page.
- On the action bar, choose Navigate, choose Quality Control, and then choose Quality Control Checks.
The action lists the quality control checks recorded against the order the invoice was created from. For example, to review the incoming inspections behind a vendor invoice before approving it, open the posted purchase invoice and run this action.