Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0053288 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Distribution Order for Advanced Warehouse Operations | major | always | 2023-08-24 12:55 | 2025-03-27 11:59 | |||
Reporter | AtulOpenbravo | View Status | public | |||||
Assigned To | Triage Omni WMS | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Support ticket | ||||||||
OBNetwork customer | No | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0177355) hgbot (developer) 2025-03-27 11:59 |
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24087 [^] |
![]() |
|||
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:55 | AtulOpenbravo | OBNetwork customer | => No |
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 | View Revisions |
2023-08-24 13:00 | AtulOpenbravo | Proposed Solution updated | |
2023-08-24 13:01 | AtulOpenbravo | Relationship added | related to 0052687 |
2025-03-27 11:59 | hgbot | Note Added: 0177355 | |
2025-03-27 11:59 | hgbot | Status | new => closed |
2025-03-27 11:59 | hgbot | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |