Follow this Contoso Coffee walkthrough to inspect an Airpot production operation. First, post setup time without creating an inspection. Then, change a posting condition so that recording run time creates an inspection with a sample of 5 units.
Learn more about posting conditions in Configure production inspections.
Prerequisites
You need the Quality Management app, the Premium experience, and permission to post production output. To configure tests, templates, and rules, you also need the Quality Admin & Supervisor permission set.
For the example, generate the Quality Management and Manufacturing modules in a demonstration company. Learn more in Set up Contoso Coffee demo data for quality management.
Contoso Coffee wants to check the Airpot reservoir and electrical continuity during the electrical-wiring operation. Use item SP-SCM1009, routing SP-SCM1009-SERIAL, and a production quantity of 15.
The example focuses on time postings at intermediate operation 20. Process other routing operations and component consumption as part of the production process. Learn more in Batch post output and run times.
Prepare the production template and rule
Open Quality Tests, and then create the following Boolean tests. For each test, set Pass Condition to Yes and Pass Description to PASS.
Code Description RESERVOIRLEAK Reservoir leak check ELECCONTINUITY Electrical continuity check The reservoir leak test reflects the Airpot reservoir, tubing, and sealed connections. The electrical continuity test reflects the electrical-wiring operation in its routing.
Open the Quality Inspection Templates page, and then open PRODUCTION.
In the Sample Source field, choose Fixed Quantity, and then enter 5 in the Sample Amount field.
Configure the template with only the RESERVOIRLEAK and ELECCONTINUITY tests for this demonstration. Learn more in Create quality inspection templates.
Open Quality Inspection Generation Rules.
Open the rule with sort order 50 and template PRODUCTION.
Verify that the rule's Table is Prod. Order Routing Line.
Use the Condition Filter to set Routing No. to SP-SCM1009-SERIAL and Operation No. to 20.
Use the Item Filter to set No. to SP-SCM1009.
Verify that Activation Trigger is Manual or Automatic.
In the Production Order Trigger field, choose When Production Output is posted.
Create the production order
Select Search (Alt+Q) in the upper-right corner, enter Released Production Orders, and then choose the related link.
Choose New.
On the production order, enter the following values:
Field Value Source Type Item Source No. SP-SCM1009, Airpot Quantity 15 Location Code MAIN Choose Refresh Production Order, and then confirm the refresh.
On the routing, verify routing SP-SCM1009-SERIAL and operations 10, 20, 30, and 40.
Note the production order number so you can identify its inspections and ledger entries.
Exclude setup-time postings from inspections
Open the Quality Management Setup page, and record the current Prod. trigger output condition value.
Set Prod. trigger output condition to Only with Quantity.
This setting affects the whole company. Restore the recorded value when you finish the demonstration.
Open the Output Journals page, and then select an empty journal batch for this demonstration. Enter one line for the production order, item SP-SCM1009, and operation 20.
In the Setup Time field, enter 22 minutes. Keep Run Time, Output Quantity, and Scrap Quantity at 0. Verify the posting date. If the Setup Time field isn't shown, add the field through personalization.
Choose the Post action, and then confirm the posting.
On the production order, open Routing, and then choose the Show Quality Inspections action. The list is filtered to the production order. Verify that no inspection was created. Only with Quantity excludes this setup-time-only posting.
Create an inspection from a run-time posting
- Open the Quality Management Setup page, and in the Prod. trigger output condition field, choose Any Output Entry (time or quantity).
- Return to the output journal batch. Enter a new line for the same production order, item SP-SCM1009, and operation 20.
- In the Run Time field, enter 18 minutes. Keep Setup Time, Output Quantity, and Scrap Quantity at 0. Choose the Post action, and then confirm the posting.
- On the production order routing, choose Show Quality Inspections again. Open the new inspection for operation 20.
- Verify Quantity (Base) of 15 and Sample Size of 5.
- Enter Yes for RESERVOIRLEAK and ELECCONTINUITY, and then choose the Finish action.
- Verify that the inspection is Finished with a PASS result and Passed Quantity of 5. The passed quantity doesn't include the other 10 units.
Restore the company setting
On the Quality Management Setup page, restore the recorded Prod. trigger output condition value.
Related information
Set up Contoso Coffee demo data for quality management
Work with quality inspections
Set up quality inspection generation rules
Batch post output and run times
Process items that failed a quality inspection