Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Mobile Warehouse operationsmajoralways2022-06-10 08:082022-06-21 13:33
Reporterkousalya_rView Statuspublic 
Assigned Toradhakrishnan 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0049527: Negative stock when products are ungrouped

DescriptionStock goes to negative when products are ungrouped and when we have stocks in diff bin.
Steps To Reproduce1. In product window uncheck 'Grouped product' checkbox
2. In a warehouse put a stock one unit in one bin and one more unit in another bin.
3. In POS do a sales for 2units.
4. Now check in Product window - Stock tab the product goes to negative stock for a bin which has priority. The customer shipment takes place in single bin but it should happened from both bins.
Proposed SolutionIn when the product is grouped we have single orderline for a product and the for loop checks one time and StockProposed table returns both bin and in while loop it fetches both bins

In case of ungrouped product we have two orderlines and for loop checks two times and StockProposed criteria query run again so in while loop it always fetches first bin and it goes to negative stock.

Proposed soln. might be check the stock if stock not present break a loop and get next bin.
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2022-06-10 11-29-14.png [^] (361,879 bytes) 2022-06-10 08:08
png file icon Screenshot from 2022-06-10 11-29-35.png [^] (341,896 bytes) 2022-06-10 08:09
png file icon Screenshot from 2022-06-10 11-29-23.png [^] (460,553 bytes) 2022-06-10 08:09

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2022-06-21 13:33

Merge Request created: [^]

- Issue History
Date Modified Username Field Change
2022-06-10 08:08 kousalya_r New Issue
2022-06-10 08:08 kousalya_r Assigned To => Retail
2022-06-10 08:08 kousalya_r File Added: Screenshot from 2022-06-10 11-29-14.png
2022-06-10 08:08 kousalya_r Triggers an Emergency Pack => No
2022-06-10 08:09 kousalya_r File Added: Screenshot from 2022-06-10 11-29-35.png
2022-06-10 08:09 kousalya_r File Added: Screenshot from 2022-06-10 11-29-23.png
2022-06-14 15:45 radhakrishnan Assigned To Retail => radhakrishnan
2022-06-14 15:45 radhakrishnan Status new => scheduled
2022-06-21 13:33 hgbot Note Added: 0138593

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker