Skip to content

Commit b7cfa09

Browse files
committed
writer updates
1 parent ad5f194 commit b7cfa09

1 file changed

Lines changed: 32 additions & 29 deletions

File tree

support/dynamics-365/supply-chain/costing/inventory-closing-recalculation-reverse.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This article provides troubleshooting guidance for common errors that might occu
1717

1818
### Symptoms
1919

20-
An inventory closing, recalculation, or reverse fails with the following error:
20+
An inventory closing, recalculation, or reverse fails with the following error message:
2121

2222
> Batch task failed: Cannot select a record in Current client sessions (SysClientSessions). Sessionld: 0, 0. The SQL database has issued an error.
2323
@@ -27,31 +27,31 @@ This issue can occur due to SQL database unavailability, deadlocks, blockings, o
2727

2828
### Solution
2929

30-
Most of the time, these type of issues are transient and never cause any data corruption. Retry the operation.
30+
Most of the time, these issues are transient and don't cause any data corruption. Retry the operation.
3131

3232
## Duplicate reverse is not allowed
3333

3434
### Symptoms
3535

36-
An Inventory reverse fails with the following error:
36+
An inventory reverse fails with the following error message:
3737

3838
> Another Inventory %1 reverse for voucher %2 is running. Duplicate reverse is not allowed
3939
4040
### Cause
4141

42-
This issue occurs when you try to execute the reversal or cancellation of multiple closing or recalculation vouchers at the same time. Reversals must be carried out sequentially. This approach prevents any inventory and ledger data corruption due to concurrent updates of adjustments, settlements, or postings.
42+
This issue occurs when you try to execute the reversal or cancellation of multiple closing or recalculation vouchers at the same time. You must carry out reversals sequentially. This approach prevents any inventory and ledger data corruption due to concurrent updates of adjustments, settlements, or postings.
4343

4444
### Solution
4545

4646
Always execute the reversal of one voucher at a time, and only after its completion, proceed with further reversals.
4747

48-
This issue can occur if the previous reversal execution doesn't complete successfully, but the batch job ends with error, and the user tries to execute a new reverse of the original voucher. This issue 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.
48+
This issue can occur if the previous reversal execution doesn't complete successfully, but the batch job ends with error, and you try to execute a new reverse of the original voucher. This issue 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.
4949

5050
## Inventory closing cannot proceed because available physical on-hand inventory on item \<ItemName\> is currently negative
5151

5252
### Symptoms
5353

54-
An inventory closing or recalculation fails with the following error:
54+
An inventory closing or recalculation fails with the following error message:
5555

5656
> Inventory closing cannot proceed because available physical on-hand inventory on item \<Item\> is currently negative, which isn't allowed according to its item model group
5757
@@ -66,11 +66,11 @@ Usually, the system flags this error while posting transactions for an item that
6666
### Solution
6767

6868
1. Review the inventory transactions for the item mentioned in the error message to identify the cause of this issue.
69-
1. If necessary, based on your business requirements, you can enable the negative physical or financial inventory.
69+
1. If necessary, based on your business requirements, enable the negative physical or financial inventory.
7070
1. Alternatively, you can post manual adjustments to balance out the inventory transactions that result in a negative inventory.
71-
1. Once you fix the transactions, execute a consistence check for that item:
71+
1. Once you fix the transactions, execute a consistency check for that item:
7272
1. Go to **System administration** > **Periodic tasks** > **Database** > **Consistency check**.
73-
1. In the consistency check dialog set **Check/Fix** to **Fix error**.
73+
1. In the consistency check dialog, set **Check/Fix** to **Fix error**.
7474
1. Set **Module** to **Inventory management**.
7575
1. Expand the **Item** tree and select the checkboxes for **Inventory transactions** and **On-hand**.
7676
1. Open the More menu (**...**) and select **Dialog**.
@@ -80,14 +80,14 @@ Usually, the system flags this error while posting transactions for an item that
8080
> [!NOTE]
8181
> If required, you can run the check as a batch process in the background.
8282
83-
1. Once the consistence check completes, you can view the final fix logs from the batch job logs or in the notification panel.
83+
1. Once the consistency check completes, you can view the final fix logs from the batch job logs or in the notification panel.
8484
1. After completing the consistency check, resume the closing or recalculation operation.
8585

8686
## Close stock - processing level \<Level\> with a total of \<Total\> bundles
8787

8888
### Symptoms
8989

90-
An inventory closing or recalculation fails with the following error:
90+
An inventory closing or recalculation fails with the following error message:
9191

9292
> Close stock - processing level \<Level\> with a total of \<Total\> bundles
9393
@@ -97,10 +97,10 @@ This error usually occurs because of business data corruption due to manual data
9797

9898
### Solution
9999

100-
1. Identify the item and inventory transactions causing this error
100+
1. Identify the item and inventory transactions causing this error.
101101
1. Execute a consistency check for that item for on-hand and inventory transactions.
102102
1. Go to **System administration** > **Periodic tasks** > **Database** > **Consistency check**.
103-
1. In the consistency check dialog set **Check/Fix** to ?????. <!-- (need to confirm with SME) -->
103+
1. In the consistency check dialog, set **Check/Fix** to ?????. <!-- (need to confirm with SME) -->
104104
1. Set **Module** to **Inventory management**.
105105
1. Expand the **Item** tree and select the checkboxes for **Inventory transactions** and **On-hand**.
106106
1. Open the More menu (**...**) and select **Dialog**.
@@ -110,7 +110,7 @@ This error usually occurs because of business data corruption due to manual data
110110
> [!NOTE]
111111
> If required, you can run the check as a batch process in the background.
112112
113-
1. Once the consistence check completes, you can view the final fix logs from the batch job logs or in the notification panel.
113+
1. Once the consistency check completes, you can view the final fix logs from the batch job logs or in the notification panel.
114114
1. After completing the consistency check, resume the closing or recalculation operation.
115115

116116
## Fiscal period is not open
@@ -134,7 +134,7 @@ Verify the ledger calendar period status:
134134

135135
### Symptoms
136136

137-
An inventory closing or recalculation fails with the following error:
137+
An inventory closing or recalculation fails with the following error message:
138138

139139
> Account number for transaction type \<Type\> does not exist
140140
@@ -156,13 +156,13 @@ After verifying your setup, resume the closing or recalculation operation.
156156

157157
### Symptoms
158158

159-
An inventory closing or recalculation fails with the following error:
159+
An inventory closing or recalculation fails with the following error message:
160160

161161
> Only users in user group \<Group\> can post in module \<Module\> in the period containing the date \<Date\>
162162
163163
### Solution
164164

165-
1. Go to **General Ledger** > **Calendars** > **Ledger calendars**
165+
1. Go to **General Ledger** > **Calendars** > **Ledger calendars**.
166166
1. Select the required ledger period, then check the access level for specific modules and legal entities.
167167

168168
> [!NOTE]
@@ -174,15 +174,15 @@ An inventory closing or recalculation fails with the following error:
174174

175175
### Symptoms
176176

177-
An inventory closing, recalculation, or reverse fails during the ledger posting stage with the following error message:
177+
An inventory closing, recalculation, or reverse operation fails during the ledger posting stage with the following error message:
178178

179179
> The entry for category \<Category\> on project \<Project\> cannot be posted/approved because it would cause the cost budget to be exceeded by \<Amount\>
180180
181181
You can view this error in the inventory closing logs. For more information on accessing closing logs, see [Inventory close](/dynamics365/supply-chain/cost-management/inventory-close#the-inventory-close-log).
182182

183183
### Cause
184184

185-
This issue can appear when inventory closing, recalculation, or reverse adjustments settles the project-enabled inventory transactions, and those adjustments or settlements exceed the budget control price set for that specific project.
185+
This issue can appear when inventory closing, recalculation, or reverse adjustments settle the project-enabled inventory transactions, and those adjustments or settlements exceed the budget control price set for that specific project.
186186

187187
### Solution
188188

@@ -191,7 +191,7 @@ As a temporary workaround:
191191
1. Go to **Project management and accounting** > **Setup** > **Project management and accounting parameters** > **Cost control**.
192192
1. Set **Budget control** to **Disabled**. <!-- Need to ask SME where "Use budget control" applies to -->
193193
1. Resume the inventory closing, recalculation, or reverse voucher.
194-
1. After the inventory operation completes, set **Budget control** back to **Enabled** <!-- Need to confirm this value with the SME -->
194+
1. After the inventory operation completes, set **Budget control** back to **Enabled**. <!-- Need to confirm this value with the SME -->
195195

196196
For a more permanent solution, update the project budget control cost to meet your business requirements.
197197

@@ -207,23 +207,26 @@ An inventory closing or recalculation fails with the following error message:
207207

208208
This issue can occur if data corruptions exist in the inventory transactions or adjustments. The error happens when pre-closing incorrectly posts settlements to and closes financial transactions. Pre-closing should only affect non-financial transactions.
209209

210-
The inventory closing and recalculation processes implicitly execute pre-closing for the non-financial transfers against which it has any markings. This issue most likely occurred in that process.
210+
The inventory closing and recalculation processes implicitly execute pre-closing for the non-financial transfers against which they have any markings. This issue most likely occurred in that process.
211211

212212
### Solution
213213

214-
You can identify which transactions are causing this issue from the `InventTrans` table in the database. Look for records that meet the following criteria:
214+
You can identify which transactions cause this issue from the `InventTrans` table in the database. Look for records that meet the following criteria:
215215

216216
- A value is specified for the `QtySettled` or `CostAmountSettled` fields
217217
- The `ValueOpen` field is set to `false`
218218
- The `NonFinancialTransferInventClosing` field is set to the record ID of a closing or recalculation voucher.
219219

220-
For each problematic transaction you identify, reset the `ValueOpen`, `NonFinancialTransferInventClosing`, `DateClosed` fields. After updating all problematic transactions, resume the closing or recalculation operation.
220+
For each problematic transaction you identify, reset the following fields: <!-- What does resetting them entail -->
221+
222+
- `ValueOpen`
223+
- `NonFinancialTransferInventClosing`
224+
- `DateClosed`
221225

222-
1. Reset the `ValueOpen`, `NonFinancialTransferInventClosing`, `DateClosed` fields
223-
1. After updating all problematic transactions, resume the closing or recalculation operation.
226+
After updating all problematic transactions, resume the closing or recalculation operation.
224227

225228
> [!IMPORTANT]
226-
> When making any direct database data modification, you should first make the change in a lower replica then confirm everything is work correctly before proceeding to other replicas.
229+
> When making any direct database data modification, first make the change in a lower replica then confirm everything works correctly before proceeding to other replicas.
227230
228231
## Unable to edit a record in table
229232

@@ -235,14 +238,14 @@ An inventory closing, recalculation, or reverse fails with the following error m
235238
236239
### Cause
237240

238-
This issue occurs when a SQL error prevents further execution and cause 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.
241+
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.
239242

240243
### Solution
241244

242245
Usually, these SQL issues are transient and go away with retries.
243246

244-
Sometimes, customizations also result in deadlocks and blocking issues due to inappropriate transaction scopes and error handling. Tace 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. <!-- The indexes and index fragmentation of what? The customizations? The tables the customizations are applied to? -->
247+
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. <!-- The indexes and index fragmentation of what? The customizations? The tables the customizations are applied to? -->
245248

246249
## Additional support
247250

248-
If the guidance in this article does not resolve your issue, contact Microsoft Support or your partner for further assistance.
251+
If the guidance in this article doesn't resolve your issue, contact Microsoft Support or your partner for further assistance.

0 commit comments

Comments
 (0)