Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049527 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Mobile Warehouse operations | major | always | 2022-06-10 08:08 | 2022-07-04 08:56 | |||
Reporter | kousalya_r | View Status | public | |||||
Assigned To | radhakrishnan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR22Q4 | |||
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 | merged | |||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 43114 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049527: Negative stock when products are ungrouped | |||||||
Description | Stock goes to negative when products are ungrouped and when we have stocks in diff bin. | |||||||
Steps To Reproduce | 1. 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 Solution | In ShipmentUtils.java 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0138593) hgbot (developer) 2022-06-21 13:33 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/829 [^] |
(0138992) hgbot (developer) 2022-07-04 08:54 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/829 [^] |
(0138993) hgbot (developer) 2022-07-04 08:54 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 99d654f0e49c3cffa72e87cfc3e993dde698a7c7 Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com> Date: 04-07-2022 06:51:39 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/99d654f0e49c3cffa72e87cfc3e993dde698a7c7 [^] Fixed ISSUE-49527:Added validation to consume same product in different bins --- M src/org/openbravo/retail/posterminal/utility/ShipmentUtils.java --- |
![]() |
|||
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 | OBNetwork customer | => OBPS |
2022-06-10 08:08 | kousalya_r | Support ticket | => 43114 |
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 | Merge Request Status | => open |
2022-06-21 13:33 | hgbot | Note Added: 0138593 | |
2022-07-04 08:54 | hgbot | Resolution | open => fixed |
2022-07-04 08:54 | hgbot | Status | scheduled => resolved |
2022-07-04 08:54 | hgbot | Merge Request Status | open => merged |
2022-07-04 08:54 | hgbot | Note Added: 0138992 | |
2022-07-04 08:54 | hgbot | Fixed in Version | => RR22Q4 |
2022-07-04 08:54 | hgbot | Note Added: 0138993 | |
2022-07-04 08:56 | aaroncalero | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |