BeyondERP.Newsletter
Menu

Setup step on the Cancel service orders page · Service management

Cancel obsolete service orders

Cancel, or uncancel, a set of service orders at once.

See how to set it up Back to Service management

Used by
Service dispatcher
Business process
Create service request by using Service management in Dynamics 365 Supply Chain Management
Menu item
SMAServicePeriodic_Cancel
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Cancel and revoke”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic task dialog that cancels several service orders at once, or reverses their Canceled status, based on the selection criteria you set.
What you do hereUse this page to cancel service orders that have become obsolete, or to uncancel orders with Revoke cancel; orders whose stage does not allow cancellation, that have item requirements, or that are already posted cannot be cancelled.
ExampleFor example, one of the service orders generated for January becomes obsolete because the job is cancelled, so the dispatcher cancels the service order.
Cancel service orders page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhen service orders have become obsolete, for example because the planned job was cancelled, or when a cancellation must be reversed.
How oftenOn demand, when obsolete service orders need to be cleaned up.
What the output showsThe selected service orders change to Canceled, or back to In process with Revoke cancel. Orders already Canceled are not affected by a cancel run, and In process orders are not affected by a revoke run.

Source: Microsoft Learn

Setup steps on this page

Cancel obsolete service orders

Cancel, or uncancel, a set of service orders at once.

Steps from Microsoft

  1. Go to Service management > Perform periodic tasks > Service orders > Cancel service orders.
  2. On the Parameters FastTab, set Revoke cancel to No to cancel the selected orders, or to Yes to reverse their Canceled status back to In process.
  3. Set Show Infolog to Yes to get an Action center message that lists the orders that were cancelled or uncancelled.
  4. Select Filter and, on the Range tab of the Inquiry dialog, set the criteria for the obsolete service orders, then select OK to close the dialog.
  5. Select OK and check the Action center message: orders whose stage doesn't allow cancellation, that have item requirements or that are already posted are not cancelled.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Show InfologProduces an Action center message listing the orders that were cancelled or uncancelled.Microsoft Learn
Revoke cancelNo cancels the selected orders; Yes reverses the Canceled status back to In process.Microsoft Learn
FilterOpens the Inquiry dialog where you choose the service orders by range criteria.Microsoft Learn

Common errors and fixes

MessageWhat to do
Some selected service orders were not cancelled.Orders can't be cancelled when their stage doesn't allow it, when they have item requirements, or when they are posted. Move them to a stage that allows cancelling or remove the item requirements first. Microsoft Learn

Test checklist

  1. The Action center message lists the orders you meant to cancel.
  2. The orders show Progress Canceled on the Service orders page.
  3. Orders with item requirements or posted lines are still unchanged.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Cancel obsolete service ordersCancel rather than delete when you want to keep a record of planned visits that didn't happen.Cancelling keeps the order with Progress Canceled and can be reversed; deleting removes it.How are dropped visits handled?Deleting orders that should only have been cancelled.Test: Cancel and revoke

Feature management and licence

Licence or add-inIn this system 1 role can run this page: Service dispatcher. No feature needs to be turned on for it.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own service orders. Microsoft data model
Can it be undoneReversible: Revoke cancel restores the orders.
If you change it laterCancelling sets the orders to Canceled and uncancelling returns them to In process; already cancelled orders are not affected by a cancel run and in-process orders are not affected by a revoke run. Microsoft Learn
Technical architect

6Technical

Menu itemSMAServicePeriodic_Cancel Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleService dispatcherSMADispatcher
    • DutyPerform service order periodic jobsSMAServiceOrderPeriodicMaintain
      • PrivilegeCancel service ordersSMAServicePeriodic_Cancel
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itService dispatcher SMADispatcherGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=SMAServicePeriodic_Cancel
Data migrationLoad order: Cancel service orders has no data entity in Data management. It is a periodic task that works on existing records and stores no data of its own, so there is nothing to migrate.Checked in Dynamics 365
Everyone

8Sources