Change the status management status
The status management status of an unposted quality control check can be changed from the Quality Control App with the Change Status button, or from Business Central with the Change Status Mgmt Status action. The statuses offered, their order, and the permission role each one requires come from the certified status flow set up for quality control checks in the Aptean Status Management extension, so a check follows the same approval flow wherever it is processed.
The status management status is separate from the QC Status field, which shows whether the check is New, In Progress, or Posted and is set by processing and posting the check. When the Aptean Status Management extension is active, the Status field, Open or Released, follows the status management status that is set.
Prerequisites
- The Aptean Status Management extension, version 2603.0.0.0 or later, is installed with a valid license.
- A status flow for the Quality Control Check Header table exists with the Flow Status field set to Certified.
- To set a status whose status management line has a value in the Permission Role ID field, the user is assigned that permission set, either for the current company or for all companies.
The Change Status button requires both a valid license and a certified status flow. A valid license alone is not enough: until a status flow for quality control checks is certified, the button stays hidden.
Change the status in the Quality Control App
-
Open the quality control check in the Quality Control App.
The Change Status button appears on the action bar, next to the Add Sample and Post buttons. -
Select the Change Status button.
The Change Status dialog opens and shows the current status of the check. -
Select the new status from the list.
Each status shows its description, with its code underneath. The current status is not listed.- A status that cannot be selected is shown greyed out. Hover over it to see the reason: either the status requires a permission role that is not assigned to the user, or a mandatory status between the current status and the selected status has not been set yet.
- The Confirm button is available only after a status is selected.
-
Select the Confirm button.
The status is changed, and the Status Mgmt. Description row in the details panel shows the new status.
- The same permission role and mandatory status rules are checked again in Business Central when the Confirm button is selected. If Business Central rejects the change, the error message appears in the dialog and the status of the check is not changed.
- The Change Status button is hidden on posted quality control checks, and when the Aptean Status Management extension has no valid license or no certified status flow exists for quality control checks. In that case, the check view is the same as in earlier versions.
Change the status in Business Central
-
Open the quality control check from the Quality Control Checks page.
The Quality Control Check page opens. -
Select the Change Status Mgmt Status action.
The Status Management Lines page opens. -
Select the new status and select the OK button.
Changing the status does not post the check. When the Aptean Status Management extension is active, a quality control check can be posted only when its Status field value is Released, and that value is set by the status management status. For more information, see Post the quality check.
For example, a raw milk intake plan uses a status flow with the statuses SAMPLED, LAB REVIEW, and APPROVED, where LAB REVIEW is mandatory and APPROVED has the Permission Role ID field set to a supervisor permission set. A lab technician opens the check in the Quality Control App, selects the Change Status button, and moves the check from SAMPLED to LAB REVIEW. The APPROVED status is greyed out for the technician. Later, a supervisor who holds the supervisor permission set opens the same check and sets it to APPROVED, which in this flow sets the Status field to Released so that the check can be posted.