Openbravo Issue Tracking System - POS2
View Issue Details
0053581POS2POSpublic2023-10-03 15:502023-10-23 11:57
justin_patterson 
justin_patterson 
normalmajorhave not tried
closedfixed 
5
 
 
merged
No
No
0053581: RM-8639: Adapt Loyalty to allow CRM Customers
This first feature will enable loyalty features to any CRM Customer, meaning that even if customers are being managed in an external system, the loyalty module will be capable of subscribing those customers to the loyalty programs.
.
No tags attached.
Issue History
2023-10-03 15:50justin_pattersonNew Issue
2023-10-03 15:50justin_pattersonAssigned To => Retail
2023-10-03 15:50justin_pattersonOBNetwork customer => No
2023-10-03 15:50justin_pattersonTriggers an Emergency Pack => No
2023-10-03 15:54hgbotMerge Request Status => open
2023-10-03 15:54hgbotNote Added: 0155427
2023-10-03 15:55hgbotNote Added: 0155428
2023-10-03 16:45aaroncaleroAssigned ToRetail => justin_patterson
2023-10-23 11:51aaroncaleroStatusnew => scheduled
2023-10-23 11:55hgbotMerge Request Statusopen => merged
2023-10-23 11:55hgbotResolutionopen => fixed
2023-10-23 11:55hgbotStatusscheduled => resolved
2023-10-23 11:55hgbotNote Added: 0156158
2023-10-23 11:55hgbotNote Added: 0156159
2023-10-23 11:55hgbotNote Added: 0156160
2023-10-23 11:55hgbotNote Added: 0156161
2023-10-23 11:55hgbotNote Added: 0156162
2023-10-23 11:56hgbotNote Added: 0156163
2023-10-23 11:56hgbotNote Added: 0156164
2023-10-23 11:57aaroncaleroStatusresolved => closed

Notes
(0155427)
hgbot   
2023-10-03 15:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/merge_requests/9 [^]
(0155428)
hgbot   
2023-10-03 15:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/29 [^]
(0156158)
hgbot   
2023-10-23 11:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/29 [^]
(0156159)
hgbot   
2023-10-23 11:55   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 083e95d9d1f458616dd2e0ef0e7a64f21151ecbc
Author: Justin Patterson <justin.patterson@openbravo.com>
Date: 10-10-2023 14:41:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/083e95d9d1f458616dd2e0ef0e7a64f21151ecbc [^]

Fixes FR-53581: Adapt Loyalty to allow CRM Customers
-Exposed new property crmReference to
LoyaltySubscriptionsProperties.java
-Added new crmReference property to record saving process in
LoyaltySubscriptionsLoader.java
-Added crmReference property to comparison/unique value query in
SaveSubscriptionManager.java
-Added new getter/setter for creation of json in
SaveSubscriptionParameters.java
-Added utility class to look for and return CRM customer identifier if
using External Business Partner in obrlputils.js
-Changed logic to set customerName property using new utility class in
OBRLP.Util.getNewSubscriptionModel(), businesspartner-selectors.js, and subscription-create-form.js

---
M src/org/openbravo/retail/loyalty/programs/master/LoyaltySubscriptionsProperties.java
M src/org/openbravo/retail/loyalty/programs/process/LoyaltySubscriptionsLoader.java
M src/org/openbravo/retail/loyalty/programs/process/SaveSubscriptionManager.java
M src/org/openbravo/retail/loyalty/programs/process/SaveSubscriptionParameters.java
M web/org.openbravo.retail.loyalty.programs/js/utils/obrlputils.js
M web/org.openbravo.retail.loyalty.programs/js/view/businesspartner-selectors.js
M web/org.openbravo.retail.loyalty.programs/js/view/subscription-create-form.js
---
(0156160)
hgbot   
2023-10-23 11:55   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: a67e527ac02aebb32592576f031bc74a16ee1567
Author: Aaron Calero <aaron.calero@openbravo.com>
Date: 18-10-2023 16:57:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/a67e527ac02aebb32592576f031bc74a16ee1567 [^]

Related to FR-53581: Make loyalty-related properties available in POS2

---
A referencedata/standard/Loyalty_Properties_for_the_Openbravo_Customers_CRM_Connector.xml
A src-db/database/sourcedata/AD_DATASET.xml
A src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/retail/loyalty/programs/OBRLPComponentProvider.java
M src/org/openbravo/retail/loyalty/programs/master/BusinessPartnerProperties.java
---
(0156161)
hgbot   
2023-10-23 11:55   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: b69169dd3e857c44f7e7a075bded33e8df16ca69
Author: Aaron Calero <aaron.calero@openbravo.com>
Date: 23-10-2023 11:54:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/b69169dd3e857c44f7e7a075bded33e8df16ca69 [^]

Fixed FR-53581: Merge branch 'fr/53581'

---
A referencedata/standard/Loyalty_Properties_for_the_Openbravo_Customers_CRM_Connector.xml
A src-db/database/sourcedata/AD_DATASET.xml
A src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/retail/loyalty/programs/OBRLPComponentProvider.java
M src/org/openbravo/retail/loyalty/programs/master/BusinessPartnerProperties.java
M src/org/openbravo/retail/loyalty/programs/master/LoyaltySubscriptionsProperties.java
M src/org/openbravo/retail/loyalty/programs/process/LoyaltySubscriptionsLoader.java
M src/org/openbravo/retail/loyalty/programs/process/SaveSubscriptionManager.java
M src/org/openbravo/retail/loyalty/programs/process/SaveSubscriptionParameters.java
M web/org.openbravo.retail.loyalty.programs/js/utils/obrlputils.js
M web/org.openbravo.retail.loyalty.programs/js/view/businesspartner-selectors.js
M web/org.openbravo.retail.loyalty.programs/js/view/subscription-create-form.js
---
(0156162)
hgbot   
2023-10-23 11:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/merge_requests/9 [^]
(0156163)
hgbot   
2023-10-23 11:56   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs [^]
Changeset: 01b91b018c4432b5494987c223d13a8b35e5b70b
Author: Justin Patterson <justin.patterson@openbravo.com>
Date: 10-10-2023 15:07:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/commit/01b91b018c4432b5494987c223d13a8b35e5b70b [^]

Fixes FR-53581: Adapt Loyalty to allow CRM Customers
-Added new column bpartner_extref to table oblp_subscription
-Added new column to check constraint OBLP_BP_PROGRAM_ACT_UNQ
-Added new CRM Reference field to Subscriptions and Loyalty Programs
windows

---
M src-db/database/model/tables/OBLP_SUBSCRIPTION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0156164)
hgbot   
2023-10-23 11:56   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs [^]
Changeset: ed9c37f81f58f197ca2e961233d02ebb3e6da20b
Author: Aaron Calero <aaron.calero@openbravo.com>
Date: 23-10-2023 11:52:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.programs/-/commit/ed9c37f81f58f197ca2e961233d02ebb3e6da20b [^]

Fixed FR-53581: Merge branch 'fr/53581'

---
M src-db/database/model/tables/OBLP_SUBSCRIPTION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---