--- alias: user-guide-complete-maintenance-activity-order tags: - maintenance description: "Completes an in-progress maintenance activity order, ensuring all preconditions are met" --- # Complete Maintenance Activity Order :lock: MaintenanceActivityOrder.**Complete** ## Overview This operation completes the execution of a **Maintenance Activity Order** (**MAO**) which is In Progress. ## Setup No setup is required other than to meet the preconditions of the transaction. ## Preconditions * The **MAO** is in the execution state In Progress. * The user must either belong to the **MAO** Owner Role or be the **MAO** Owner Role (either the **MAO** Owner Role or Owner User must be defined). * The **Checklist Instance** - if any - has been completed. * The **MAO** must not be included in another **MAO**, that is, the Parent **MAO** property must be `null`. * All mandatory **MAO** parts which are part of the **BOM** (if any) and are not optional must be consumed in exactly the same quantity as defined in the **BOM**. * If the Maintenance Type of the **MAO** is set to Qualification and the Type Restriction Mode is set to Require Specific, the **MAO** can only be completed after all associated **Qualification Checks** are either Completed or Obsolete. !!! note Qualification Checks created without an associated Qualification Item are automatically set to the `Obsolete` state when the MAO is requested. ## Sequence of Steps ## Step 1 1. Verify the information regarding the **MAOs**. !!! note It is possible to select multiple MAOs before entering the Complete Maintenance Activity Order wizard. 2. The effective completion date will be set with the current date/time, but it is possible to override it. 3. If the **MAO** is Ad hoc and there is a Root cause source defined, you must specify a value from the defined lookup table as the root cause. 4. If a state transition is associated with the entity to which the **MAO** is related, it is possible to change the state of the entity by selecting a new state from the list. If the state transition has **Reasons** associated, you can accept the suggested **Reason** or select another one. 5. Optionally, enter a Comment. 6. Select **Complete** to finish the operation. !!! info Depending on the state model configuration, enabling the Resource after the completion of this MAO may keep the current state instead of transitioning to `Stand By`. This depends on the current Resource state and on whether no other active MAOs in `In Progress` exist for the Resource for which `Ignore In Scheduling` is `False`. For more information, see [[user-guide-automatic-resource-state-change-transitions]]. If a Post Maintenance Activity was defined when [[user-guide-create-maintenance-plan#step-3-adding-maintenance-activities|Adding Maintenance Activities]], the system automatically executes the configured Maintenance Activity after the current MAO is completed. ![Screenshot showing a completed Maintenance Activity Order (MAO) with details including zone and resource information.](images/MAO_Complete.png) When the Maintenance Type of the **MAO** is set to Qualification and the Type Restriction Mode is set to Require None, you must record a Pass or Fail result for each associated **Qualification Check** whose state is not `Obsolete`, and optionally add Remarks. If the **Qualification Checks** fail, the system automatically executes the [[user-guide-rework-maintenance-activity-order]] operation for the failed **MAO** **Qualification Checks**. This is performed by selecting the Date for the execution: ![Complete MAO](images/complete_mao_qualification_check_step_one.png) Afterwards, classify the **Qualification Checks** and complete the operation: ![Classify the Qualification Checks as Pass or Fail](images/complete_mao_qualification_check_step_two.png)