|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Modules] Advanced Warehouse Operations||major||always||2022-12-20 17:12||2023-02-02 10:12|
|Priority||high||Resolution||open||Fixed in Version|
|Status||feedback||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Regression introduced by commit|
|Review Assigned To|
|Regression introduced in release|
0051214: [ERROR] - Perform IDO of a Product that has an attribute with Negative Stock
|Description||When trying to generate a distribution order issue for a product that is in stock with 2 different attributes, 1 contains positive stock and the other negative, if we want to issue the issue for the one with positive stock, an error that there is no stock is displayed.|
|Steps To Reproduce||1-In the same bin, have stock of a product with 2 different attributes, but 1 with positive stock and the other with negative stock.|
2-We create a Distribution Order Issue to send a stocked unit to another warehouse.
It is processed correctly.
3-We proceed to create the Issue Distribution Order for the previous DO, and in the line, complete the product with the attribute that has positive stock, to make effective the Stock transfer from one Warehouse to another. When we want to generate it, we get the following error. "Error processing Goods Movement process. Insufficient stock: line 10"
Example images attached.
|Tags||No tags attached.|
|Attached Files|| 1.png [^] (148,030 bytes) 2022-12-20 17:13
2.png [^] (116,599 bytes) 2022-12-20 17:13
3.png [^] (112,222 bytes) 2022-12-20 17:13
image.png [^] (131,033 bytes) 2023-02-01 17:11
Is any news related to this problem?
|Unable to reproduce issue in local as well as livebuilds instance.|
Maybe this new update from the customer regarding the problem can help you:
In the current situation, the customer is trying to make a "movement between warehouses" of hundreds of products between two stores but cannot process it due to the following error: Insufficient stock: line 330.
Where is the problem? The problem is in the function "m_check_stock" which checks for negative stock of a product in a particular slot, but WITHOUT FILTERING by attribute. The M_Movement_Post calls this function and it returns the error message.
As you can see in the image, the selected product has negative stock for the attribute "00000000" but has positive stock for the other two attributes, which are the 2 attributes that have been included in the "Movement between Warehouses" and the function "m_check_stock" instead of looking at the stock for those two attributes, is looking at it for all of them.
edited on: 2023-02-02 10:14
Please update the inventory status of storage bin to Over-issue as it has got negative stock for products. This should fix the issue.
Note: In case the storage bins having negative stock gets set with inventory status other than over-issue in some flow in the application, please report a new issue with steps to reproduce.
|2022-12-20 17:12||axelmercado||New Issue|
|2022-12-20 17:12||axelmercado||Assigned To||=> Triage Omni WMS|
|2022-12-20 17:13||axelmercado||File Added: 1.png|
|2022-12-20 17:13||axelmercado||File Added: 2.png|
|2022-12-20 17:13||axelmercado||File Added: 3.png|
|2022-12-20 17:14||axelmercado||Steps to Reproduce Updated||View Revisions|
|2022-12-20 17:17||Practics||Issue Monitored: Practics|
|2022-12-21 12:40||vmromanos||Assigned To||Triage Omni WMS => AtulOpenbravo|
|2023-01-23 14:59||ivazquez||Note Added: 0145765|
|2023-01-30 11:23||AtulOpenbravo||Status||new => scheduled|
|2023-01-30 17:01||AtulOpenbravo||Note Added: 0146051|
|2023-01-30 17:01||AtulOpenbravo||Status||scheduled => feedback|
|2023-02-01 17:11||ivazquez||Note Added: 0146138|
|2023-02-01 17:11||ivazquez||File Added: image.png|
|2023-02-01 17:11||ivazquez||Status||feedback => new|
|2023-02-02 10:12||AtulOpenbravo||Note Added: 0146154|
|2023-02-02 10:12||AtulOpenbravo||Status||new => feedback|
|2023-02-02 10:14||AtulOpenbravo||Note Edited: 0146154||View Revisions|
|Copyright © 2000 - 2009 MantisBT Group|