Skip to content

Commit 28e4a90

Browse files
authored
some changes
1 parent 1ce42d3 commit 28e4a90

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed
Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,39 @@
11
---
2-
title: Conversion of Maintenance Schedule to Work Orders Is Failing
3-
description: Provides a resolution to the failing conversion of Maintenance Schedule lines to Work Orders in Microsoft Dynamics 365 Supply Chain Management.
2+
title: Conversion of Maintenance Schedule to Work Orders Fails
3+
description: Solves the errors that prevent you from creating work orders based on maintenance schedule in Microsoft Dynamics 365 Supply Chain Management.
44
author: sorenbacker2
55
ms.author: sorenba
6-
ms.date: 02/27/2025
6+
ms.date: 03/03/2025
77
ms.custom: sap:Asset management\Issues with asset management
88
---
9-
# Conversion of maintenance schedule to work orders is failing
9+
# Can't create work orders based on your maintenance schedule
1010

11-
This article provides the setup steps to ensure the conversion of maintenance schedule lines into work orders isn't failing with errors related to number sequence setup in Microsoft Dynamics 365 Supply Chain Management.
11+
This article provides the setup steps to ensure the conversion of maintenance schedule lines to work orders isn't failing due to errors related to number sequence setup in Microsoft Dynamics 365 Supply Chain Management.
1212

1313
## Symptoms
1414

15-
From **Open maintenance schedule lines** in Asset Management module a user selects a subset of lines. Then **New** > **Work order** is selected from the action pane, and in the **Create work orders** dialogue anything that will result in multiple work orders is selected. However, after selecting **OK**, instead of creating a given number of work orders, an error message appears, saying that a number sequence has been exceeded or that a given number does not match a given format. This blocks the further process.
15+
When you try to create work oders for the schedule items selected by using the [Open maintenance schedule lines](/dynamics365/supply-chain/asset-management/preventive-and-reactive-maintenance/creating-work-orders#create-work-orders-based-on-your-maintenance-schedule) in **Asset Management**, an error occurs after you select **OK** to create work orders according to your settings in the **Create work orders** dialog. The error indicates that a number sequence has been exceeded or that a given number doesn't match a given format. This issue blocks the further process.
1616

1717
## Cause
1818

19-
This issue is related to the setup of a number sequence. The core issue is that the actual number sequence outgrows the configured range of the work order number sequence.
19+
This issue is caused by the setup of a number sequence. Specifically, the actual number sequence exceeds the configured range of the work order number sequence.
2020

2121
## Resolution
2222

23-
To ensure the conversion of maintenance schedule lines into work orders isn't failing with blocking errors related to number sequence setup, follow these steps to set up this Number sequence, thus avoiding the blocking error.
23+
To resolve the issue and ensure the successful conversion of maintenance schedule lines to work orders, follow these steps to properly set up the number sequence:
2424

25-
1. Go to **Asset management module** > **Setup** > **Asset management parameters**.
25+
1. Go to **Asset management module** > **Setup** > **Asset management parameters**.
26+
2. Select the **Number sequences** FastTab.
27+
3. Select **Work order** in the **Reference** column, and then select the corresponding link in the **Number sequence code** column.
2628

27-
2. Select the fast tab **Number sequences**.
29+
4. Go to the **Segments** FastTab. Find the line where the **Segment** column equals *Alphanumeric*. Ensure the corresponding field in the **Value** column has enough hash tags to match the desired length of the variable numeric part of the work order number sequence.
2830

29-
3. Select **Work order** in the **Reference** column, and then select the corresponding link in the **Number sequence code** column.
31+
5. Go to the **General** FastTab. In the **Number allocation** field group, ensure that the **Largest** number matches (but is included in) the length of the variable numeric part of the work order number sequence set above. In other words, if the alphanumeric value from step 4 equals *######*, the largest number could be set as *999999*. Also, ensure that the number in the **Next** field is included in the range of the number sequence mentioned in step 4 and 5.
3032

31-
4. Go to the **Segments** FastTab. Find the line where the **Segment** column equals *Alphanumeric*. Make sure the corresponding field in the **Value** column has enough hash tags to match the desired length of the variable numeric part of the work order number sequence.
33+
6. Select **Save** to save the changes to the number sequence.
3234

33-
5. Go to the **General** fast tab. In the **Number allocation** field group, make sure that the **Largest** number matches (but is included in) the length of the variable numeric part of the work order number sequence set above (i.e. if the alphanumeric value from step 4 equals *######* the largest number could be set as *999999*). Also make sure that the number in the **Next** field is included in the range of the number sequence (re. step 4 and 5 here).
34-
35-
6. Select **Save** to save the changes to the number sequence.
36-
37-
The work order number sequence has now been configured to allow the conversion of open maintenance schedule lines into work orders without being blocked by an error.
35+
By configuring the work order number sequence correctly, the conversion of maintenance schedule lines to work orders can proceed without being blocked by an error.
3836

3937
## More information
4038

41-
[Set up number sequences on an individual basis](/dynamics365/fin-ops-core/fin-ops/organization-administration/tasks/set-up-number-sequences-individual-basis)
39+
[Set up number sequences on an individual basis](/dynamics365/fin-ops-core/fin-ops/organization-administration/tasks/set-up-number-sequences-individual-basis)

support/dynamics-365/supply-chain/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
items:
55
- name: Changing work order lifecycle state doesn't generate fault cause or fault remedy error
66
href: asset-management/change-lifecycle-state-doesnt-create-fault.md
7+
- name: Can't create work orders based on your maintenance schedule
8+
href: asset-management/conversion-of-maintenance-schedule-to-workorder-is-failing.md
79
- name: Inventory costing and closing
810
items:
911
- name: An update conflict occurs when the inventory valuation method is either standard cost or moving average

0 commit comments

Comments
 (0)