Openbravo Issue Tracking System - Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0053288 | Modules | Distribution Order for Advanced Warehouse Operations | public | 2023-08-24 12:55 | 2023-08-24 13:01 | ||||||||
Reporter | AtulOpenbravo | ||||||||||||
Assigned To | Triage Omni WMS | ||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Regression date | |||||||||||||
Regression introduced by commit | |||||||||||||
Regression level | |||||||||||||
Review Assigned To | |||||||||||||
Support ticket | |||||||||||||
OBNetwork customer | |||||||||||||
Regression introduced in release | |||||||||||||
Summary | 0053288: Product without stock cannot be added to DO OTF if Ongoing DO document has line for that product | ||||||||||||
Description | It is not possible to add product without stock if ongoing DO document has a line for the same product that is without stock. | ||||||||||||
Steps To Reproduce | - Login to AWO FE - Make sure Ale Beer product has no stock in US West Coast warehouse Food001 storage bin. - Create a DO OTF with US East Coast as Receipt Warehouse, Food001 as Storage Bin. - Add product Ale Beer with quantity 1 - Go back do not remove the document. - Create a DO OTF with US East Coast as Receipt Warehouse, Food001 as Storage Bin. - Try to Add product Ale Beer with quantity 1 - Realize that it is not possible to add the product. | ||||||||||||
Proposed Solution | obawo-distributionorder-model.js if (doLinesWithProduct.length > 0) { lastOnlineQtyOnHand = doLinesWithProduct.find( savedLine => !OB.UTIL.isNullOrUndefined(savedLine.qtyOnHand) ).qtyOnHand; lastOnlineReservedQty = doLinesWithProduct.find( savedLine => !OB.UTIL.isNullOrUndefined(savedLine.reservedQty) ).reservedQty; } In above lines doLinesWithProduct returns a null line, hence reservedQty property is not accessible in this case. Null line should be handled property. | ||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2023-08-24 12:55 | AtulOpenbravo | New Issue | |||||||||||
2023-08-24 12:55 | AtulOpenbravo | Assigned To | => Triage Omni WMS | ||||||||||
2023-08-24 12:56 | AtulOpenbravo | Summary | Product without stock cannot be added to DO OTF if Ongoing document has line for that product => Product without stock cannot be added to DO OTF if Ongoing DO document has line for that product | ||||||||||
2023-08-24 12:56 | AtulOpenbravo | Description Updated | bug_revision_view_page.php?rev_id=26701#r26701 | ||||||||||
2023-08-24 13:00 | AtulOpenbravo | Proposed Solution updated | |||||||||||
2023-08-24 13:01 | AtulOpenbravo | Relationship added | related to 0052687 |
There are no notes attached to this issue. |