Skip to content

Commit ec7e4b2

Browse files
authored
some changes
1 parent 5c2205f commit ec7e4b2

2 files changed

Lines changed: 22 additions & 19 deletions

File tree

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1-
---
2-
title: Asset ID isn't editable even when Number sequence is set to Manual
3-
description: Provides a workaround for editing Asset ID in Microsoft Dynamics 365 Supply Chain Management.
4-
author: sorenbacker2
5-
ms.author: sorenba
6-
ms.reviewer: christys
7-
ms.date: 02/13/2025
8-
ms.custom:
9-
---
10-
<!-- TOC location: Learn / Troubleshoot / Microsoft Dynamics 365 / Dynamics 365 Supply Chain Management / Asset Management -->
11-
12-
# Asset ID isn't editable even when Number sequence is set to Manual
13-
14-
## Symptoms
1+
---
2+
title: Asset ID Isn't Editable When Number Sequence Is Set To Manual
3+
description: Provides a workaround for editing Asset ID in Microsoft Dynamics 365 Supply Chain Management.
4+
author: sorenbacker2
5+
ms.author: sorenba
6+
ms.date: 02/20/2025
7+
ms.custom: sap:Asset management\Issues with asset management
8+
---
9+
# Asset ID isn't editable when number sequence is set to Manual
10+
11+
This article provides a workaround for allowing the Asset ID to be edited in Microsoft Dynamics 365 Supply Chain Management.
12+
13+
## Symptoms
1514

16-
A user uses the **Asset Management** page to create a new asset. The asset is created with an **Asset ID** value that the system generates based on the number sequence selected on the **Asset Management parameters** page. Later, the user wishes to edit the **Asset ID** value. However, this isn't possible even though the related number sequence has **Manual** set to *Yes* on the **Number sequences** details page.
15+
A user [creates a new asset](/dynamics365/supply-chain/asset-management/objects/create-objects-based-on-purchase-orders#select-asset-items) using the **Asset Management** page. The asset is created with an **Asset ID** value that the system generates based on the [number sequence](/dynamics365/supply-chain/asset-management/setup-for-objects/enterprise-asset-management-parameters#the-number-sequences-tab) selected on the **Asset management parameters** page. However, the **Asset ID** value can't be edited later, even though the related number sequence has **Manual** set to *Yes* on the **Number sequences** details page.
1716

1817
## Cause
1918

20-
A user can't just edit an existing **Asset ID** because the **Asset ID** is the natural key for the **Assets**. We don't allow this to be edited as it can cause data corruption and unexpected behavior in the case of integrations.
19+
A user can't edit an existing **Asset ID** because the **Asset ID** is the natural key for the **Assets**. Editing it can cause data corruption and unexpected behavior in case of integrations.
20+
21+
## Workaround
2122

22-
## Resolution
23+
To allow a user to edit the **Asset ID** on an existing asset despite the risk, extend the `init()` method on the **EntAssetObjectTable** form.
2324

24-
If you, regardless of the risk of data corruption, want to be able to edit the **Asset ID** anyway, you can extend the `init()` method on **EntAssetObjectTable** form, and allow edit on the field.
25+
## More information
2526

26-
This change will allow a user to edit the **Asset ID** on an existing asset.
27+
[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
@@ -2,6 +2,8 @@
22
href: welcome-supply-chain.yml
33
- name: Asset management
44
items:
5+
- name: Asset ID isn't editable when number sequence is set to Manual
6+
href: asset-management/asset-id-is-not-editable-on-asset-list-page-even-when-number-sequence-is-set-to-manual.md
57
- name: Changing work order lifecycle state doesn't generate fault cause or fault remedy error
68
href: asset-management/change-lifecycle-state-doesnt-create-fault.md
79
- name: Inventory costing and closing

0 commit comments

Comments
 (0)