Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053288
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Order for Advanced Warehouse Operationsmajoralways2023-08-24 12:552023-08-24 13:01
ReporterAtulOpenbravoView Statuspublic 
Assigned ToTriage Omni WMS 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0053288: Product without stock cannot be added to DO OTF if Ongoing DO document has line for that product

DescriptionIt 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 Solutionobawo-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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052687 closedagusti_gallego Openbravo ERP [DO OTF] [Offline] [RM-7144] Last online value is not taken into account in other DO 

-  Notes
There are no notes attached to this issue.

- 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 View Revisions
2023-08-24 13:00 AtulOpenbravo Proposed Solution updated
2023-08-24 13:01 AtulOpenbravo Relationship added related to 0052687


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker