You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/dynamics-365/supply-chain/costing/inventory-closing-recalculation-reverse.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Troubleshoot Common Issues During Inventory Closing, Recalculating, and Reverse Operations
3
-
description: Resolve common inventory closing, recalculation, and reverse operation errors in Dynamics 365 Supply Chain Management. Learn troubleshooting steps for SQL issues, fiscal periods, and more.
3
+
description: Resolve common inventory closing, recalculation, and reverse operation errors in Dynamics 365 Supply Chain Management. Get step-by-step troubleshooting guidance for SQL issues, fiscal periods, and more.
ms.custom: sap:Cost management\Issues with inventory closing and recalculation
11
11
---
12
-
# Troubleshoot inventory closing, recalculation, and reverse operations in Dynamics 365 Supply Chain Management
12
+
# Troubleshoot inventory closing, recalculation, and reverse operations
13
13
14
-
This article provides troubleshooting guidance for common errors that might occur during inventory close, recalculation, or reverse in Microsoft Dynamics 365 Supply Chain Management.
14
+
This article explains how to troubleshoot common errors during inventory closing, recalculation, or reverse operations in Dynamics 365 Supply Chain Management.
15
15
16
16
## Another closing or adjustment is in progress
17
17
@@ -21,7 +21,7 @@ An inventory closing or recalculation fails with the following error message:
21
21
22
22
> Another closing or adjustment has not finished yet
23
23
24
-
Also, a new closing or recalculation voucher isn't created in the _Closing and Adjustment_ form.
24
+
Also, a new closing or recalculation voucher isn't created in the [Closing and Adjustment](/dynamics365/finance/localizations/russia/rus-inventory-adjustment-wizard) form.
25
25
26
26
### Cause
27
27
@@ -63,7 +63,7 @@ This issue occurs when you try to execute the reversal or cancellation of multip
63
63
64
64
Always execute the reversal of vouchers one at a time, and wait for each reversal to complete before proceeding to the next one.
65
65
66
-
This issue can also occur if a previous reversal execution doesn't complete successfully, the batch job ends with errors, then you try to execute a new reverse of the original voucher. This behavior can occur due to system issues, sudden crashes, system or SQL server unavailability, and so on. In such cases, contact Microsoft Support or your partner.
66
+
This issue can also occur if a previous reversal execution doesn't complete successfully, the [batch job](/dynamics365/fin-ops-core/dev-itpro/sysadmin/priority-based-batch-scheduling#batch-jobs) ends with errors, then you try to execute a new reverse of the original voucher. This behavior can occur due to system issues, sudden crashes, system or SQL server unavailability, and similar issues. In such cases, contact Microsoft Support or your partner.
67
67
68
68
## Inventory closing cannot proceed
69
69
@@ -77,7 +77,7 @@ You can view this error in the inventory closing logs. For more information on a
77
77
78
78
### Cause
79
79
80
-
This error can occur because of data corruption in the posted inventory transactions. This error occurs when the on-hand physical or financial inventory becomes negative, which isn't allowed as per the item’s _Item Model Group_ configuration.
80
+
This error can occur because of data corruption in the posted inventory transactions. This error occurs when the on-hand physical or financial inventory becomes negative, which isn't allowed as per the item’s [Item Model Group](/dynamics365/supply-chain/cost-management/inventory-costing-faq#item-model-groups) configuration.
81
81
82
82
Usually, the system flags this error while posting transactions for an item that results in negative on-hand inventory, not during inventory closing or recalculation. But if you manually intervene, migrate data, or update the database directly, these checks are skipped. In this scenario, the error can occur during the stock closing process.
83
83
@@ -86,7 +86,7 @@ Usually, the system flags this error while posting transactions for an item that
86
86
1. Review the inventory transactions for the item mentioned in the error message to identify the cause of this issue.
87
87
1. If necessary, based on your business requirements, enable the negative physical or financial inventory.
88
88
1. Alternatively, you can post manual adjustments to balance out the inventory transactions that result in a negative inventory.
89
-
1. Once you fix the transactions, execute a consistency check for that item:
89
+
1. Once you fix the transactions, execute a [consistency check](/dynamics365/supply-chain/inventory/inventory-onhand-consistency-check) for that item:
90
90
1. Go to **System administration** > **Periodic tasks** > **Database** > **Consistency check**.
91
91
1. In the consistency check dialog, set **Check/Fix** to **Fix error**.
92
92
1. If you just want to identify inconsistencies but not make any changes, set **Check/Fix** to **Check**.
@@ -99,7 +99,7 @@ Usually, the system flags this error while posting transactions for an item that
99
99
> [!NOTE]
100
100
> If necessary, you can run the check as a batch process in the background.
101
101
102
-
1. Once the consistency check completes, you can view the final fix logs from the batch job logs or in the notification panel.
102
+
1. Once the consistency check completes, you can view the final fix logs from the [batch job](/dynamics365/fin-ops-core/dev-itpro/sysadmin/priority-based-batch-scheduling#batch-jobs) logs or in the notification panel.
103
103
1. After completing the consistency check, resume the closing or recalculation operation.
104
104
105
105
## Failure when closing stock
@@ -116,12 +116,12 @@ This error usually occurs because of:
116
116
117
117
- Business data corruption due to manual database interventions.
118
118
- Manual changes to the decimal precision in the customized version.
119
-
- Incorrect exchange rate configurations while posting source documents and similar issues.
119
+
- Incorrect [exchange rate](/dynamics365/business-central/finance-set-up-currencies#exchange-rates) configurations while posting source documents and similar issues.
120
120
121
121
### Solution
122
122
123
123
1. Identify the item and inventory transactions causing this error.
124
-
1. Execute a consistency check for that item for on-hand and inventory transactions.
124
+
1. Execute a [consistency check](/dynamics365/supply-chain/inventory/inventory-onhand-consistency-check) for that item for on-hand and inventory transactions.
125
125
1. Go to **System administration** > **Periodic tasks** > **Database** > **Consistency check**.
126
126
1. In the consistency check dialog, set **Check/Fix** to **Fix error**.
127
127
1. If you just want to identify inconsistencies but not make any changes, set **Check/Fix** to **Check**.
@@ -134,23 +134,23 @@ This error usually occurs because of:
134
134
> [!NOTE]
135
135
> If necessary, you can run the check as a batch process in the background.
136
136
137
-
1. Once the consistency check completes, you can view the final fix logs from the batch job logs or in the notification panel.
137
+
1. Once the consistency check completes, you can view the final fix logs from the [batch job](/dynamics365/fin-ops-core/dev-itpro/sysadmin/priority-based-batch-scheduling#batch-jobs) logs or in the notification panel.
138
138
1. After completing the consistency check, resume the closing or recalculation operation.
139
139
140
140
## Fiscal period is not open
141
141
142
142
### Symptoms
143
143
144
-
An inventory closing, recalculation, reverse, or journal posting (such as an inventory journal, production orders, purchase orders, sales orders, or similar postings) fails with the following message:
144
+
An inventory closing, recalculation, reverse, or journal posting (such as an [inventory journal](/dynamics365/supply-chain/inventory/inventory-journals), [production orders](/dynamics365/business-central/production-about-production-orders), [purchase orders](/dynamics365/field-service/create-purchase-order), [sales orders](/dynamics365/sales/create-edit-order-sales), or similar postings) fails with the following message:
145
145
146
146
> Fiscal period for \<Date\> is not open
147
147
148
148
### Solution
149
149
150
-
Verify the ledger calendar period status:
150
+
Verify the [ledger calendar](/dynamics365/finance/general-ledger/configure-ledger#configuring-calendars-for-the-ledger) period status:
151
151
152
152
1. Go to **General Ledger** > **Calendars** > **Ledger calendars**.
153
-
1. Select the required ledger period and then verify the period status for the legal entities experiencing issues.
153
+
1. Select the required ledger period and then verify the period status for the [legal entities](/dynamics365/guidance/organizational-strategy/define-organizational-strategy#legal-entity) experiencing issues.
154
154
1. The period status should be **Open** to allow for the posting of any adjustments.
155
155
1. After updating the period status, resume the inventory operation.
156
156
@@ -164,12 +164,12 @@ An inventory closing or recalculation fails with the following error message:
164
164
165
165
### Solution
166
166
167
-
Verify that the main account is set up for the specified transaction type:
167
+
Verify that the main account is set up for the specified [transaction type](/dynamics365/business-central/dev-itpro/developer/properties/devenv-transactiontype-property#remarks):
168
168
169
169
1. Go to **Inventory Management** > **Setup** > **Posting** > **Posting**
170
170
1. ???? <!-- Need to confirm with the SME how to enable the transaction type -->
171
171
172
-
Also, check the financial dimensions in the _Accounting Structure Setup_ for the corresponding main accounts:
172
+
Also, check the financial dimensions in the [Accounting Structure Setup](/dynamics365/finance/general-ledger/configure-account-structures) for the corresponding main accounts:
173
173
174
174
1. Go to **General Ledger** > **Ledger setup** > **Ledger**
175
175
1. Select the account structure that is experiencing issues.
@@ -188,7 +188,7 @@ An inventory closing or recalculation fails with the following error message:
188
188
### Solution
189
189
190
190
1. Go to **General Ledger** > **Calendars** > **Ledger calendars**.
191
-
1. Select the required ledger period, then check the access level for specific modules and the legal entities experiencing issues.
191
+
1. Select the required ledger period, then check the access level for specific modules and the [legal entities](/dynamics365/guidance/organizational-strategy/define-organizational-strategy#legal-entity) experiencing issues.
192
192
193
193
> [!NOTE]
194
194
> The default access level for all the modules is **\<All\>**
@@ -251,7 +251,7 @@ For each problematic transaction you identify, update the following field values
251
251
After updating all problematic transactions, resume the closing or recalculation operation.
252
252
253
253
> [!IMPORTANT]
254
-
> When making any direct database data modification, first make the change in a lower replica and confirm everything works correctly before proceeding to other replicas.
254
+
> When making any direct database data modification, first make the change in a lower [replica](/dynamics365/business-central/dev-itpro/administration/migration-data-replication) and confirm everything works correctly before proceeding to other replicas.
255
255
256
256
## Unable to edit a record in table
257
257
@@ -263,10 +263,10 @@ An inventory closing, recalculation, or reverse fails with the following error m
263
263
264
264
### Cause
265
265
266
-
This issue occurs when a SQL error prevents further execution and causes a process or batch job to fail. Typically, these SQL errors are deadlocks that occur when multiple processes execute at the same time. Other possible causes include SQL Server availability issues due to increased traffic, or insufficient and inappropriate indexing that results in query timeouts for long running queries.
266
+
This issue occurs when a SQL error prevents further execution and causes a process or [batch job](/dynamics365/fin-ops-core/dev-itpro/sysadmin/priority-based-batch-scheduling#batch-jobs) to fail. Typically, these SQL errors are deadlocks that occur when multiple processes execute at the same time. Other possible causes include SQL Server availability issues due to increased traffic, or insufficient and inappropriate indexing that results in query timeouts for long running queries.
267
267
268
268
### Solution
269
269
270
270
Usually, these SQL issues are transient and go away with retries.
271
271
272
-
Sometimes, customizations also result in deadlocks and blocking issues due to inappropriate transaction scopes and error handling. Trace the error message from the batch job or related processes, call stack, and SQL statement. Verify if any customizations are present. If customizations are present, check the indexes and index fragmentation for the SQL table mentioned in the error message.
272
+
Sometimes, customizations also result in deadlocks and blocking issues due to inappropriate transaction scopes and error handling. Trace the error message from the [batch job](/dynamics365/fin-ops-core/dev-itpro/sysadmin/priority-based-batch-scheduling#batch-jobs) or related processes, call stack, and SQL statement. Verify if any customizations are present. If customizations are present, check the indexes and index fragmentation for the SQL table mentioned in the error message.
0 commit comments