Document Inspections
With Document Inspections you can create inspection orders at the level of an entire document, regardless of the items or batches contained in the document. Typical use cases are inspections that are performed once per delivery or shipment, for example the condition of the truck, the temperature on arrival, or the check of the seal.
An Inspection Order of a document inspection is based on an Inspection Plan with Inspection Level = Document. For all other inspection plans and inspection orders, the field remains empty.
Document inspections have the following properties:
- They are created exclusively manually from the document.
- They run in parallel to the inspections at item or batch level. Both types of inspection orders do not influence each other.
- Several document inspection orders can be created for one document, for example if two trucks deliver for one warehouse receipt. The system does not check whether a document inspection order already exists.
- They have no influence on batch release and do not block posting of the document. The recording of the actual values serves documentation purposes.
- A certificate of analysis is not used for document inspections.
Supported documents
Document inspection orders can be created in the following documents:
| Document | Inspection Source in the inspection group of the inspection plan |
|---|---|
| Purchase Order | Purchase Order |
| Warehouse Receipt | Purchase Receipt |
| Sales Order | Sales Order |
| Warehouse Shipment | Sales Shipment |
| Transfer Order | Transfer Order |
Setting up the inspection plan
Create an Inspection Plan for the document inspection and proceed as follows:
- In the inspection plan header, select the value Document in the field Inspection Level.
- Leave the fields Inspection Object Type and Inspection Object No. empty. The field Item Inspection Level must also remain empty.
- Optionally, you can use the fields Business Relation Type and Business Relation No. to define the inspection plan for a customer, a QA customer group, a vendor or a QA vendor group.
- In the inspection plan lines, enter an Inspection Group with the required inspection features. The Inspection Source of the inspection group must match the document from which you create the inspection (see Supported documents). If inspections are to be possible from several document types, enter several inspection groups with different Inspection Sources.
- Certify the inspection plan.
For the inspection features of a document inspection plan, fields that relate to samples or interval rules are not permitted.
Note
When certifying, the system checks whether all inspection groups of a document inspection plan have one of the inspection sources mentioned above and whether the fields that are not permitted are empty. Otherwise, an error message is displayed and the inspection plan is not certified.
Creating a document inspection order
- Open the document for which you want to create an inspection, for example a purchase order or a warehouse receipt.
- Under Functions, select the action Create Document Inspection Order.
The system searches for the matching inspection plan. Only inspection plans are considered that
- have the Inspection Level Document,
- are certified,
- have a Starting Date less than or equal to the work date, and
- contain no Inspection Object Type and no Inspection Object No..
The selection is hierarchical, using the most specific inspection plan: First, an inspection plan is searched for the Business Relation Type and Business Relation No. of the document, then for the associated customer or vendor group, then for the business relation type in general, and finally for an inspection plan without a business relation. If several inspection plans match, the one with the latest Starting Date is used.
The business relation is determined as follows:
| Document | Business relation |
|---|---|
| Purchase Order | Vendor of the document (Buy-from) |
| Sales Order | Customer of the document (Sell-to) |
| Warehouse Receipt, Warehouse Shipment | Customer or vendor of the source lines, provided that all lines have the same customer or vendor. Otherwise, the search is performed without a business relation. |
| Transfer Order | No business relation. Only an inspection plan without a business relation is used. |
The inspection order is then created. Only the lines of the inspection groups from the inspection plan whose Inspection Source matches the document are copied. In the inspection order, the fields Inspection Source Type and Inspection Source Record ID show the reference to the document. Depending on the setting Release Inspection Orders in the Yaveon 365 Quality Assurance Setup, the inspection order receives the status Created or Released.
If no matching inspection plan is found, or if the inspection plan does not contain an inspection group with the matching Inspection Source, no inspection order is created and the system displays a corresponding message.
Note
The system does not check whether a document inspection order already exists for the document. Each time the action is called, another inspection order is created.
Displaying inspection orders for the document
In the documents in which you can create document inspection orders, the action Inspection Orders is available. It shows all inspection orders whose Inspection Source Record ID refers to this document.
Recording the actual values and finishing
Recording the actual values and finishing a document inspection order work as for any other Inspection Order. Since document inspection orders have neither a Lot No. nor a Serial No., recording the actual values or finishing does not change any batch status. Posting of the source document is not blocked.
Behavior when posting
When the document is posted, the document inspection order then refers to the posted document. From the posted documents, you can display the inspection orders as follows:
- Inspection Orders: shows the document inspection orders for the posted document.
- Inspection Orders (Document and Lines): additionally shows the inspection orders that exist for the lines of the posted document, i.e. the inspection orders at item and batch level.
These actions are available in the posted purchase receipt, the posted sales shipment and the posted transfer shipment.
Analysis
In the Inspection Order Analysis, you can use the Inspection Level Filter to evaluate only inspections at document level (Document), only inspections at item/batch level (Item/Batch), or all inspections (All). The Inspection Level is displayed in the analysis lines.
Distinction from automatic inspection order creation
Inspection plans with the Inspection Level Document are not used by the Automatic Inspection Order Creation. The automatic creation of inspection orders at item and batch level remains unchanged and runs independently of document inspections.