Openbravo Issue Tracking System - POS2
View Issue Details
0050285POS2Corepublic2022-09-19 17:152022-09-23 13:17
hbrasme 
jorge-garcia 
highmajoralways
closedinvalid 
5
22Q3 
 
jorge-garcia
No
0050285: [Promotions] - Priority not taken into account
The promotion with no priority is applied first and cumulated with the second / third one
Creation of 3 promotions (price Adjustement) in Test environment

- Promo 1 : “20% SAUF EXCLUSIONS” - Priority = Empty - Field “Apply next promotion” ticked
- Promo 2 : “H22 -20% pour 2 Jeans Test UAT BIS” - Priority = 1 - Field “Apply next promotion” unticked
- Promo 3 : “H22 -10% pour 1 Jeans Test UAT BIS” - Priority = 2 - Field “Apply next promotion” unticked

Expected result :
Application of the promotion that has priority 1 first (if 2 jeans bought => -20%), then priority 2 (if 1 jean bought => -10%) and if one them is applied, no further promotion applied since they are not cumulative.
The promotion must follow the priority
FASH
png Promotion 1.PNG (56,416) 2022-09-19 17:15
https://issues.openbravo.com/file_download.php?file_id=17529&type=bug
png

png Promotion 2.PNG (54,837) 2022-09-19 17:15
https://issues.openbravo.com/file_download.php?file_id=17530&type=bug
png

png Promotion 3.PNG (56,787) 2022-09-19 17:15
https://issues.openbravo.com/file_download.php?file_id=17531&type=bug
png

png Result POS2.PNG (30,561) 2022-09-19 17:15
https://issues.openbravo.com/file_download.php?file_id=17532&type=bug
png
Issue History
2022-09-19 17:15hbrasmeNew Issue
2022-09-19 17:15hbrasmeAssigned To => Triage Platform Base
2022-09-19 17:15hbrasmeFile Added: Promotion 1.PNG
2022-09-19 17:15hbrasmeTriggers an Emergency Pack => No
2022-09-19 17:15hbrasmeFile Added: Promotion 2.PNG
2022-09-19 17:15hbrasmeFile Added: Promotion 3.PNG
2022-09-19 17:15hbrasmeFile Added: Result POS2.PNG
2022-09-19 17:27rafarodaTag Attached: FASH
2022-09-19 17:41AugustoMauchAssigned ToTriage Platform Base => Triage Omni OMS
2022-09-23 12:54aferrazAssigned ToTriage Omni OMS => jorge-garcia
2022-09-23 13:17jorge-garciaReview Assigned To => jorge-garcia
2022-09-23 13:17jorge-garciaNote Added: 0141322
2022-09-23 13:17jorge-garciaStatusnew => closed
2022-09-23 13:17jorge-garciaResolutionopen => invalid

Notes
(0141322)
jorge-garcia   
2022-09-23 13:17   
Promotions with priority null are taking into account in discount engine as they have priority 0 (highest priority).

It is indicated in this wiki page: http://wiki.openbravo.com/wiki/Retail:Discounts_and_Promotions_Rules#New_discounts_engine [^]