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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050738
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-11-05 06:542024-01-22 08:18
Reporterranjith_qualiantech_comView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050738: Loyalty points not updated correctly during Earn & Burn Process

DescriptionLoyalty points not updated correctly for the following cases
1) When burning the points, Loyalty points under customer become negative
2) When earning the points, Loyalty points under customer not updated until Refresh Data
Steps To ReproducePOS
Case 1:
1) Change Customer to "Redeem points Multi Subscription"
2) Add Product "Hiking Boots" with Qty 2
3) Click Total button (Do not redeem points from popup "Loyalty Point Available")
4) In payment tab, Click More button
5) Select "Automatic Loyalty Program membership"
6) Popup will be opened
7) Click "OK" multiple time as fast as possible
Problems:
Payment added more than once
Loyalty points under Customer have negative points for "Automatic Loyalty Program membership"

Case 2:
Backoffice
Loyalty Program Window "Automatic Loyalty Program membership" -> "Silver" Category
Add "Buy X amount and EARN Y points." with Rule Type "Single Range", Amount "100", Points "10", Currency "EUR"
POS
1) Change Customer to "Redeem points Automatic Subscription"
2) Add Product
3) Click Total button (Do not redeem points from popup "Loyalty Point Available")
4) Complete ticket with Cash payment
5) Change Customer to "Redeem points Automatic Subscription"
Problem:
Loyalty Points not updated for the customer for the previous sale <-- KO
Do Refresh Data
Points will be updated.
But it should be updated after completing the sale.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0054110 closedRajesh_18 Loyalty synchronization problems 

-  Notes
(0146401)
hgbot (developer)
2023-02-13 06:34

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/264 [^]
(0146402)
hgbot (developer)
2023-02-13 06:35

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/merge_requests/16 [^]
(0146403)
hgbot (developer)
2023-02-13 06:35

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.earn.buyxearny/-/merge_requests/9 [^]
(0158141)
hgbot (developer)
2023-12-13 12:21

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/41 [^]
(0159099)
hgbot (developer)
2024-01-11 09:20

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate [^]
Changeset: 9b0aa897fc7e08b5235e5210c9323964b1ad7336
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 13-12-2023 16:08:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/commit/9b0aa897fc7e08b5235e5210c9323964b1ad7336 [^]

Fixed ISSUE-50738: Double tap event is prevented in Burn Dialog Ok button
* Subscription TotalPoints should be updted based on customer.
  Added bpId param to updateSubscriptionTotalPoints function
  to filter and update the Subscription TotalPoints

---
M web/org.openbravo.retail.loyalty.burn.giftcertificate/js/component/burnGiftCertificateDialog.js
M web/org.openbravo.retail.loyalty.burn.giftcertificate/js/util/giftCertificateUtils.js
---
(0159100)
hgbot (developer)
2024-01-11 09:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.giftcertificate/-/merge_requests/16 [^]
(0159101)
hgbot (developer)
2024-01-11 09:20

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.earn.buyxearny [^]
Changeset: 66a2bff97f1ffa13394e08b22fd56c18dee716aa
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 13-12-2023 06:01:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.earn.buyxearny/-/commit/66a2bff97f1ffa13394e08b22fd56c18dee716aa [^]

Related to ISSUE-50738: Subscription points should be updated when points earned
* When points earned after sales, customer subscription total points should be updated

---
M src/org/openbravo/loyalty/earn/buyxearny/sync/PrintEarnedPointsPollingHandler.java
M web/org.openbravo.loyalty.earn.buyxearny/js/hooks/printEarnedPointsPrePrintHook.js
---
(0159102)
hgbot (developer)
2024-01-11 09:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.earn.buyxearny/-/merge_requests/9 [^]
(0159103)
hgbot (developer)
2024-01-11 09:20

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 50f2dfed6c4355407514358bd7828648ca2c4785
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 10-01-2024 12:37:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/50f2dfed6c4355407514358bd7828648ca2c4785 [^]

Related to ISSUE-50738: Subscription points should be updated when points earned

---
M web/org.openbravo.retail.loyalty.programs/js/component/bp-programs-and-points.js
M web/org.openbravo.retail.loyalty.programs/js/component/subscription-icon.js
---
(0159104)
hgbot (developer)
2024-01-11 09:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/41 [^]
(0159105)
hgbot (developer)
2024-01-11 09:20

Merge request closed: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/264 [^]
(0159560)
hgbot (developer)
2024-01-22 08:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/49 [^]
(0159561)
hgbot (developer)
2024-01-22 08:18

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/49 [^]

- Issue History
Date Modified Username Field Change
2022-11-05 06:54 ranjith_qualiantech_com New Issue
2022-11-05 06:54 ranjith_qualiantech_com Assigned To => Retail
2022-11-05 06:54 ranjith_qualiantech_com Triggers an Emergency Pack => No
2023-02-08 11:26 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-02-08 11:58 ranjith_qualiantech_com Status new => scheduled
2023-02-09 14:14 ranjith_qualiantech_com Steps to Reproduce Updated View Revisions
2023-02-13 06:34 hgbot Note Added: 0146401
2023-02-13 06:35 hgbot Note Added: 0146402
2023-02-13 06:35 hgbot Note Added: 0146403
2023-12-13 12:21 hgbot Note Added: 0158141
2023-12-13 12:34 Rajesh_18 Relationship added has duplicate 0054110
2024-01-11 09:20 hgbot Resolution open => fixed
2024-01-11 09:20 hgbot Status scheduled => closed
2024-01-11 09:20 hgbot Note Added: 0159099
2024-01-11 09:20 hgbot Note Added: 0159100
2024-01-11 09:20 hgbot Note Added: 0159101
2024-01-11 09:20 hgbot Note Added: 0159102
2024-01-11 09:20 hgbot Note Added: 0159103
2024-01-11 09:20 hgbot Note Added: 0159104
2024-01-11 09:20 hgbot Note Added: 0159105
2024-01-22 08:13 hgbot Note Added: 0159560
2024-01-22 08:18 hgbot Note Added: 0159561


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker