Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040288Retail ModulesWeb POSpublic2019-02-28 09:232019-03-01 11:43
gorkaion 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0040288: ProductBOM master data load is not properly managing active flag in incremental refresh
When the isActive flag of ProductBOM entity is changed it is not properly managed in an incremental refresh.

Failing cases:

Having a Product with 2 ProductBOM.
- Deactivate one ProductBOM and refresh. It is not removed from POS.
-> The deactivated ProductBOM should be removed.
- Product with 2 ProductBOM. Deactivate the Product and one ProductBOM. The product is removed but both ProductBOM are still in the POS.
-> All Product and ProductBOMs shoudl be removed.
Create a Product BOM and add 2 ProductBOM.
Add it to a PriceList and Assortment so it is available in the POS.

Deactivate 1 ProductBOM in backend and refresh teh POS. Check that it is not removed.
Deactivate also the Product. Check that the Product is removed but its 2 ProductBOM are stil in the POS.
No tags attached.
Issue History
2019-02-28 09:23gorkaionNew Issue
2019-02-28 09:23gorkaionAssigned To => Retail
2019-02-28 09:23gorkaionResolution time => 1553122800
2019-02-28 09:23gorkaionTriggers an Emergency Pack => No
2019-02-28 10:46ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-02-28 10:46ranjith_qualiantech_comStatusnew => scheduled
2019-03-01 10:06hgbotCheckin
2019-03-01 10:06hgbotNote Added: 0110147
2019-03-01 10:06hgbotStatusscheduled => resolved
2019-03-01 10:06hgbotResolutionopen => fixed
2019-03-01 10:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ad4ab00077955a502f52a79e64a304bbb01308cf [^]
2019-03-01 11:43marvintmReview Assigned To => marvintm
2019-03-01 11:43marvintmStatusresolved => closed
2019-03-01 11:43marvintmFixed in Version => RR19Q2

Notes
(0110147)
hgbot   
2019-03-01 10:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ad4ab00077955a502f52a79e64a304bbb01308cf
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 01 14:36:31 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ad4ab00077955a502f52a79e64a304bbb01308cf [^]

Fixed issue 40288 : Updated ProductBOM Query to support incrementalUpdateCriteria on refresh

---
M src/org/openbravo/retail/posterminal/master/ProductBOM.java
M src/org/openbravo/retail/posterminal/master/ProductBOMProperties.java
---