Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048733Retail ModulesWeb POSpublic2022-03-08 02:282022-03-09 09:36
ranjith_qualiantech_com 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR22Q2 
No
0048733: Discount Cache Size was not properyly handled
If the discount list size and Discount Cache Size are same, then Error "Discount data execeeds Cache Size" should not be shown.
Backoffice
1) Active Discount List = 100
2) Add Preferece - OBPOS_DiscountsCacheSize - with Value 100
POS
1) Error occurs when loading POS
No tags attached.
caused by defect 0047502 closed ranjith_qualiantech_com Updating to 21Q2, it is required to configure the preference 'Discounts cache size' 
related to defect 0048708 closed elara 10.000 hardcoded limitation on records evaluated by the Tax Engine 
Issue History
2022-03-08 02:28ranjith_qualiantech_comNew Issue
2022-03-08 02:28ranjith_qualiantech_comAssigned To => ranjith_qualiantech_com
2022-03-08 02:28ranjith_qualiantech_comTriggers an Emergency Pack => No
2022-03-08 02:28ranjith_qualiantech_comRelationship addedcaused by 0047502
2022-03-08 02:29ranjith_qualiantech_comIssue Monitored: aferraz
2022-03-08 02:38ranjith_qualiantech_comStatusnew => scheduled
2022-03-08 07:12hgbotNote Added: 0135527
2022-03-08 08:51aferrazRelationship addedrelated to 0048708
2022-03-09 09:36hgbotResolutionopen => fixed
2022-03-09 09:36hgbotStatusscheduled => closed
2022-03-09 09:36hgbotNote Added: 0135571
2022-03-09 09:36hgbotFixed in Version => RR22Q2
2022-03-09 09:36hgbotNote Added: 0135572

Notes
(0135527)
hgbot   
2022-03-08 07:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/52 [^]
(0135571)
hgbot   
2022-03-09 09:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/52 [^]
(0135572)
hgbot   
2022-03-09 09:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: c4de83eb0336e7d228b65784f0150295f3d72a7b
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 08-03-2022 11:42:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/c4de83eb0336e7d228b65784f0150295f3d72a7b [^]

Fixed ISSUE-48733: Updated validation of Discount Cache Size
* If discount size and Discount Cache Size are same,
  then Discount Cache Size execeed error should not be shown

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/interface/discount-posinterface.js
---