Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044662Retail ModulesWeb POSpublic2020-07-22 11:582020-09-18 12:53
santi_lozano 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR20Q4 
No
0044662: Discounts are not updated on webpos after incremental refresh
Creating or updating a discount on window Discounts and Promotions from backoffice is not being reflected on Web POS after an incremental refresh, one needs to do a full refresh in order to have the new changes here
1) go to livebuilds retail with modules, access to web pos on one browser
2) create a new discount from backoffice (WVG as role) on other browser as in the images attached
3) click on reload this page on your browser of the web pos. Add a product to the ticket, click on discount button after selecting the product added (right panel), search for discounts (click on the magnifying glass to show all available discounts twice), then the new discount doesn't appear here
4) clear the cache (maybe it’s necessary to unlink device from channel touchpoint window of the backoffice and link again), do the same steps (add a product and search for discounts), now discount appears here
5) modify the discount from backoffice as in the image
6) repeat step 3, modifications are not visible yet
7) repeat step 4
NOR
related to defect 0044828 closed Retail Incremental refresh is not working for the Price Adjustment By Product in webpos 
related to defect 0045155 closed Retail Discount and promotion- Removing filters are not sent to WebPOS 
related to defect 0045153 closed ranjith_qualiantech_com Discount and promotion - Disabling organizations are not sent to WebPOS 
related to defect 0045188 closed ranjith_qualiantech_com Incremental Refresh fail: continues the load when it should stop 
causes defect 0045154 closed ranjith_qualiantech_com Discount and promotion - Filter change are not sent to WebPOS 
png new discount 01.png (167,169) 2020-07-22 11:58
https://issues.openbravo.com/file_download.php?file_id=14808&type=bug
png

png new discount 02.png (139,080) 2020-07-22 12:01
https://issues.openbravo.com/file_download.php?file_id=14809&type=bug
png

png modify discount 01.png (166,405) 2020-07-22 12:01
https://issues.openbravo.com/file_download.php?file_id=14810&type=bug
png
Issue History
2020-07-22 11:58santi_lozanoNew Issue
2020-07-22 11:58santi_lozanoAssigned To => Retail
2020-07-22 11:58santi_lozanoFile Added: new discount 01.png
2020-07-22 11:58santi_lozanoResolution time => 1597183200
2020-07-22 11:58santi_lozanoTriggers an Emergency Pack => No
2020-07-22 12:01santi_lozanoFile Added: new discount 02.png
2020-07-22 12:01santi_lozanoFile Added: modify discount 01.png
2020-07-22 12:10santi_lozanoNote Added: 0121565
2020-07-27 05:38shankarbIssue Monitored: shankarb
2020-07-28 11:51ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-07-29 06:53ranjith_qualiantech_comStatusnew => scheduled
2020-07-30 09:39hgbotNote Added: 0121697
2020-07-30 09:43hgbotNote Added: 0121698
2020-07-30 09:57hgbotNote Added: 0121699
2020-07-30 09:57hgbotResolutionopen => fixed
2020-07-30 09:57hgbotStatusscheduled => closed
2020-07-30 09:57hgbotFixed in Version => RR20Q4
2020-07-30 09:57hgbotNote Added: 0121700
2020-09-17 14:38rafarodaRelationship addedrelated to 0044828
2020-09-18 12:53rafarodaTag Attached: NOR
2020-09-28 16:17rafarodaRelationship addedrelated to 0045155
2020-09-28 16:17rafarodaRelationship addedcauses 0045154
2020-09-28 16:17rafarodaRelationship addedrelated to 0045153
2020-10-05 11:41rafarodaRelationship addedrelated to 0045188

Notes
(0121565)
santi_lozano   
2020-07-22 12:10   
Customer is using 20Q1.2 version
(0121697)
hgbot   
2020-07-30 09:39   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/38 [^]
(0121698)
hgbot   
2020-07-30 09:43   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/38 [^]
(0121699)
hgbot   
2020-07-30 09:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/38 [^]
(0121700)
hgbot   
2020-07-30 09:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ee36cd533dea9c2dcd5682dc9b604530c5136b55
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-07-30T13:16:11+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ee36cd533dea9c2dcd5682dc9b604530c5136b55 [^]

Fixed ISSUE-44662: Updated Incremental Criteria in Discount query
* IncrementalUpdateCriteria should be applied for both full and incremental refresh

---
M src/org/openbravo/retail/posterminal/master/Discount.java
---