Skip to content

Commit ee10724

Browse files
authored
Merge pull request #8327 from MicrosoftDocs/user/alkorote/update_negative_released_salesline_qty
AB#4230: Content Deliverable 982557: Could not delete load line - update documentation
2 parents 5a7f67f + 7664c72 commit ee10724

1 file changed

Lines changed: 36 additions & 25 deletions

File tree

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
title: Can't update a load line because the released quantity would be negative
3-
description: Provides a resolution for the issue that updating or deleting a load line causes a negative released quantity.
2+
title: Released quantity cannot be negative for item error
3+
description: Solves the released quantity cannot be negative error that occurs when updating or deleting a load line in Dynamics 365 Supply Chain.
44
author: Mirzaab
5-
ms.date: 06/30/2021
6-
ms.topic: troubleshooting
5+
ms.date: 03/05/2025
76
ms.search.form: WHSLoadPlanningListPage_WHSLoadLineUnShipQty,WHSLoadTable_WHSLoadLineUnShipQty,WHSLoadPlanningWorkbench_WHSLoadLineUnShipQty,WHSShipmentDetails_WHSLoadLineUnShipQty,WHSLoadPlanningListPage_DeleteButtonLoadLine,WHSLoadTable_DeleteButtonLoadLine,WHSLoadPlanningWorkbench_DeleteButtonLoadLine,WHSShipmentDetails_DeleteButtonShipment
87
audience: Application User
98
ms.reviewer: kamaybac
@@ -13,38 +12,36 @@ ms.search.validFrom: 2021-06-30
1312
ms.dyn365.ops.version: 10.0.21
1413
ms.custom: sap:Warehouse management
1514
---
16-
17-
# Can't update a load line because the released quantity would be negative
15+
# Can't update or delete a load line because the released quantity would be negative
1816

1917
Error code: @WAX:ReleasedQtyCannotBeNegative
2018

2119
## Symptoms
2220

23-
This issue occurs when updating or deleting a load line would cause a negative released quantity. In this case, when you try to update or delete the load line, the system shows the following error message:
24-
25-
> Released quantity cannot be negative for item %1, lot %2.
21+
When you try to update or delete a load line, you receive the following error message:
2622

27-
Therefore, you can't update or delete the load line.
23+
> Released quantity cannot be negative for item \<Item ID>, lot \<Lot ID>.
2824
2925
## Cause
3026

31-
After you update or delete a load line, the system updates the released quantity of the related sales line (*whsSalesLine.ReleaseQty*). The system evaluates the released quantity, and if it finds that the released quantity of the line would be a negative after the update, it won't let you update or delete the line. This validation occurs whenever you try to update either the load line quantity or the unit of measure through various actions, such as deleting a load line, deleting a shipment, changing the quantity of a load line, reducing the picked quantity, and short picking.
27+
After you update or delete a load line, the system updates the released quantity of the related sales line (*whsSalesLine.ReleaseQty*). If the system finds that the released quantity would become negative after the update, it prevents you from making the change. This validation occurs whenever you try to update either the load line quantity or the [unit of measure](/dynamics365/supply-chain/pim/tasks/manage-unit-measure) through various actions, such as deleting a load line, deleting a shipment, changing the quantity of a load line, reducing the picked quantity, and short picking.
3228

33-
The most common root cause of this issue is a change in the unit conversion that is used for open load lines. For example, the unit conversion when a sales order was released was *50 Ea = 1 PL*. However, before the related load shipment was finalized, the unit conversion was changed to *100 Ea = 1 PL*.
29+
The most common reason for this issue is a change in the [unit conversion](/dynamics365/supply-chain/pim/tasks/manage-unit-measure#define-unit-conversion-rules) used for open load lines. For example, the unit conversion is *50 Ea = 1 PL* when a sales order is released. However, if the unit conversion is changed to *100 Ea = 1 PL* before the related load shipment is finalized, it can cause this problem.
3430

3531
## Resolution
3632

37-
The solution is to revert the unit conversion changes, update or delete the load line, and then re-implement the conversion. You must prevent other loads that include the item that caused the issue from being processed until the issue is fixed. Otherwise, the new conversions might be used for other loads that are already open.
33+
To resolve this issue, take the following steps to revert the unit conversion changes, update or delete the load line, and then re-implement the conversion.
3834

39-
To fix this issue, complete the following tasks:
35+
> [!IMPORTANT]
36+
> You must prevent other loads that include the item that caused the issue from being processed until the issue is fixed. Otherwise, the new conversions might be used for other loads that are already open.
4037
41-
1. Review the unit conversion that was used for the load line.
42-
2. Review the current unit conversion for the item, and make adjustments that will enable the load line to be updated or deleted.
43-
3. Update or delete the load line, and revert the unit conversion adjustments.
38+
1. [Check the unit conversion that was used for the load line](#check-the-unit-conversion-that-was-used-for-the-load-line).
39+
2. [Check the current unit conversion for the item and make adjustments that will enable the load line to be updated or deleted](#check-the-current-unit-conversion-for-the-item-and-make-adjustments).
40+
3. [Update or delete the load line and revert the unit conversion adjustments](#update-or-delete-the-load-line-and-revert-the-unit-conversion-adjustments).
4441

45-
### Review the unit conversion that was used for the load line
42+
### Check the unit conversion that was used for the load line
4643

47-
Use the following procedure to review your load lines and make a note of the unit conversion that was used for the load line.
44+
Follow these steps to review your load lines and make a note of the unit conversion that was used for the load line:
4845

4946
1. Go to **Warehouse management** > **Loads** > **All loads**.
5047
1. Select the load that includes the load line that can't be deleted or updated.
@@ -53,24 +50,38 @@ Use the following procedure to review your load lines and make a note of the uni
5350
1. On the **General** tab at the bottom of the page, calculate the conversion rate between the **Inventory work quantity** value and the **Work quantity** value. Make a note of the rate.
5451
1. Repeat this procedure for all relevant work IDs to make sure that the same conversion was used.
5552

56-
### Review the current unit conversion for the item and make adjustments
53+
### Check the current unit conversion for the item and make adjustments
5754

58-
Use the following procedure to review your product's unit conversion and make adjustments to ensure that the unit conversion is aligned with the load line.
55+
Follow these steps to review your product's unit conversion and make adjustments to ensure that the unit conversion is aligned with the load line:
5956

6057
1. Go to **Product information management** > **Products** > **Released products**.
6158
1. Open the relevant product to go to its **Released product details** page.
6259
1. On the Action Pane, on the **Product** tab, in the **Set up** group, select **Unit conversions**.
6360
1. Select the conversion between the units, and make adjustments by using the conversion that you found in the previous section.
6461

65-
### Update or delete the load line, and revert the unit conversion adjustments
62+
### Update or delete the load line and revert the unit conversion adjustments
6663

67-
Use the following procedure to process the load line as required and revert the unit conversions.
64+
Follow these steps to process the load line as required and revert the unit conversions:
6865

6966
1. Go to **Warehouse management** > **Loads** > **All loads**.
7067
1. Open the load that includes the load line that can't be deleted or updated.
71-
1. On the **Load lines** FastTab, select the load line.
72-
1. Continue with the required actions as needed. (For example, delete the load line, or change its quantity.)
68+
1. On the **Load lines** FastTab, select the load line and proceed with the necessary actions (for example, delete the load line or change its quantity).
7369
1. Go to **Product information management** > **Products** > **Released products**.
7470
1. Open the relevant product to go to its **Released product details** page.
7571
1. On the Action Pane, on the **Product** tab, in the **Set up** group, select **Unit conversions**.
7672
1. Select the conversion between the units, and revert the adjustments that you made in the previous section.
73+
74+
## Alternative resolution
75+
76+
If reverting unit conversions isn't feasible, follow these steps to manually update *WHSSalesLine.ReleasedQty* (the sales line released quantity) and *WHSSalesLine.QtyLeftToLoad* (the sales line quantity that isn't on a load yet):
77+
78+
1. Go to **Account receivable** > **Orders** > **All sales orders**.
79+
1. Open the sales order that contains the sales line related to the load where the line can't be deleted or updated.
80+
1. On the upper-right side of the **Sales order lines** grid, select the three dots and select **Insert columns** from the dropdown menu.
81+
1. Search for the **Released quantity** and **Quantity left to load** fields, select both, and then select **Update**.
82+
83+
The fields will appear in the **Sales order lines** grid and can be modified to reflect the quantities on the load lines.
84+
85+
## More information
86+
87+
[Sales Line Additional Fields in WorksheetLine(WHSSalesLine)](/common-data-model/schema/core/operationscommon/tables/supplychain/inventory/worksheetline/whssalesline)

0 commit comments

Comments
 (0)