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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054408
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Loyalty Management for Retailminorhave not tried2024-01-22 09:352024-02-12 17:33
Reporterinaki_luqueView Statuspublic 
Assigned Toinaki_luque 
PrioritynormalResolutionfixedFixed 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

0054408: Being able to automatically downgrade a given membership category (VIP>Prenatal) after a defined period of time

Description- if after a given period of time the customer do not express a desire to renew a category, It must be downgraded from its category.
Steps To Reproduce- Have a ReactPOS environment with Loyalty modules installed (org.openbravo.loyalty.programs and org.openbravo.retail.loyalty.programs) and a configured loyalty program.

- Go to BO, tab "Loyalty Program", subtab “Category”, sub-subtab “Category Rules”.



Proposed Solution- Create a new rule in “Type of Category Rule” named “Category Downgrade Rule On Validity Period”.

- Check up DB for Customer with loyalty program validity date expired yesterday for this category using a background process

- Downgrade said customer loyalty program
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0159824)
hgbot (developer)
2024-01-26 13:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/merge_requests/15 [^]
(0160643)
hgbot (developer)
2024-02-12 17:33

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs [^]
Changeset: 3b3b74174296b375846d3ce691101813596d45d4
Author: Iñaki <inaki.luque@openbravo.com>
Date: 12-02-2024 15:14:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/commit/3b3b74174296b375846d3ce691101813596d45d4 [^]

Fixed FR-54408: Being able to automatically downgrade a given membership category after a defined period of time

---
A src/org/openbravo/loyalty/programs/eventhandler/CategoryRuleEventHandler.java
A src/org/openbravo/loyalty/programs/process/CategoryDowngradeRuleOnValidityPeriodBackground.java
M src-db/database/model/tables/OBLP_CATEGORY_RULE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/OBLP_RULE.xml
---
(0160644)
hgbot (developer)
2024-02-12 17:33

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs [^]
Changeset: 08e9532f1bf919275130530037873b90b9b01ec8
Author: Jorge Wederago <jorge.wederago@openbravo.com>
Date: 12-02-2024 15:14:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/commit/08e9532f1bf919275130530037873b90b9b01ec8 [^]

Fixed FR-54408: Being able to automatically downgrade a given membership category after a defined period of time
*Code review applied
*Improvements in the feedback for the user
*Improvements in performance

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/loyalty/programs/process/CategoryDowngradeRuleOnValidityPeriodBackground.java
---
(0160645)
hgbot (developer)
2024-02-12 17:33

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs [^]
Changeset: c78881b493851a16097c7645f57af680fba44cca
Author: Aaron Calero <aaron.calero@openbravo.com>
Date: 12-02-2024 17:33:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/commit/c78881b493851a16097c7645f57af680fba44cca [^]

Fixed FR-54408: Being able to automatically downgrade a given membership category after a defined period of time. Merge branch 'fr/54408'

---
A src/org/openbravo/loyalty/programs/eventhandler/CategoryRuleEventHandler.java
A src/org/openbravo/loyalty/programs/process/CategoryDowngradeRuleOnValidityPeriodBackground.java
M src-db/database/model/tables/OBLP_CATEGORY_RULE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/OBLP_RULE.xml
---
(0160646)
hgbot (developer)
2024-02-12 17:33

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/merge_requests/15 [^]

- Issue History
Date Modified Username Field Change
2024-01-22 09:35 inaki_luque New Issue
2024-01-22 09:35 inaki_luque Assigned To => inaki_luque
2024-01-22 09:35 inaki_luque Triggers an Emergency Pack => No
2024-01-24 11:20 inaki_luque Status new => scheduled
2024-01-26 13:15 hgbot Note Added: 0159824
2024-02-12 17:33 hgbot Resolution open => fixed
2024-02-12 17:33 hgbot Status scheduled => closed
2024-02-12 17:33 hgbot Note Added: 0160643
2024-02-12 17:33 hgbot Note Added: 0160644
2024-02-12 17:33 hgbot Note Added: 0160645
2024-02-12 17:33 hgbot Note Added: 0160646


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker