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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049703
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2022-07-01 18:052022-08-08 10:44
ReporteraxelmercadoView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in VersionPR22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionPR22Q2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049703: Problem when processing physical inventory

DescriptionAn error is generated when trying to process a physical inventory with a product with a different attribute than the product that was previously sold, the latter remaining with negative stock.
Steps To Reproduce1 - In the "Attribute set" window, create a set of attributes with the same configuration as the video.
2 - In the "Attribute" window, create an attribute for the previous set of mandatory type.
3 - In the "Preference" window, activate attributes in Web POS.
4 - In the "Product" window, create a product with the attribute created above.
5 - In the "Assortment" window, add the product (1 unit) to the store.
6 - In the "Physical Inventory" window, create a physical inventory with the above product.
7 - In the "Warehouse and Storage Bins" window, change the status of the storage bin set in the product above to Undefined.
8 - In the Web POS, sell 2 units of the product with the created attribute.
9 - In the "Warehouse and Storage Bins" window, check that the product is in negative stock.
10 - We create another physical inventory with the same product but with another attribute and process it.

Video with the steps:https://www.youtube.com/watch?v=K459NToFEvU [^]

An error is returned without message that applying an existing patch on inventory errors we will notice that it is generated by the product that was in negative stock.
Proposed Solutionsrc/org/openbravo/materialmgmt/InventoryCountProcess.java

We believe that this is due to the fact that in the previously mentioned java that performs the check store function, it only observes the product without looking at the attribute, which when checking the product that was in negative stock, it returns the error.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0139366)
axelmercado (developer)
2022-07-15 16:55

Any news on this problem? We need it to be reviewed.
(0139864)
hgbot (developer)
2022-08-04 03:00

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/667 [^]
(0139865)
AtulOpenbravo (developer)
2022-08-04 03:48

Test Plan

- For vallblanca user set Default Warehouse as "White Valley Spain Distribution Center"

- For Vall Blanca Store set Local Warehouse in the Retail Configuration as "White Valley Spain Distribution Center". Note: If this field is not displayed
please login as System Admin and set it as Displayed = Yes

- In the Warehouse Tab for "Vall Blanca Store" Organization make sure it has only one warehouse active i.e "White Valley Spain Distribution Center"

- In the "Attribute" window, create an attribute with mandatory flag = Yes.

- In the "Attribute set" window, Create Attribute Set with above Attribute in it.

- In the "Preference" window, activate attributes in Web POS.

- In the "Product" window, create a product with the attribute created above.

- In the "Assortment" window, add the product (1 unit) to the store.

- In the "Physical Inventory" window, create a physical inventory with the above product and active Warehouse Bin.

- In the "Warehouse and Storage Bins" window, change the status of the storage bin set in the product above to Undefined.

- In the Web POS, sell 2 units of the product with the created attribute.

- In the "Warehouse and Storage Bins" window, check that the product is in negative stock.

- Create another physical inventory with the same product but with another attribute and process it.

-Realize that Physical Inventory is processed successfully.
(0139953)
hgbot (developer)
2022-08-08 10:44

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/667 [^]
(0139954)
hgbot (developer)
2022-08-08 10:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: f1bf5ab52db496c9ac844115831593a6fb1d379d
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 07-08-2022 22:00:51
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f1bf5ab52db496c9ac844115831593a6fb1d379d [^]

Fixed BUG-0049703: Problem when processing physical inventory

**When checking only negative Stock for the Bins of the Lines of
the Physical Inventory consider attribute set values in checkStock
method in Inventory Count Process

---
M src/org/openbravo/materialmgmt/InventoryCountProcess.java
---

- Issue History
Date Modified Username Field Change
2022-07-01 18:05 axelmercado New Issue
2022-07-01 18:05 axelmercado Assigned To => Triage Omni WMS
2022-07-01 18:05 axelmercado Modules => Core
2022-07-01 18:05 axelmercado Triggers an Emergency Pack => No
2022-07-01 18:35 Practics Issue Monitored: Practics
2022-07-15 16:55 axelmercado Note Added: 0139366
2022-08-02 10:19 AtulOpenbravo Assigned To Triage Omni WMS => AtulOpenbravo
2022-08-02 10:19 AtulOpenbravo Status new => scheduled
2022-08-04 03:00 hgbot Note Added: 0139864
2022-08-04 03:48 AtulOpenbravo Note Added: 0139865
2022-08-08 10:44 hgbot Note Added: 0139953
2022-08-08 10:44 hgbot Resolution open => fixed
2022-08-08 10:44 hgbot Status scheduled => closed
2022-08-08 10:44 hgbot Fixed in Version => PR22Q4
2022-08-08 10:44 hgbot Note Added: 0139954


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker