Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054075Retail ModulesRetail APIpublic2023-12-05 12:272023-12-14 07:45
azzeddine_meftoh 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
No
0054075: coupon API couponAmount mapped on wrong Field
when importing coupons or exporting coupons by API the couponAmount field is not mapped to the correct field couponamount
it is mapped to em_obcpotf_amount, this field is not used when redeeming the coupon on the POS.
- import a coupon with an amount by api
- try to use it on the pos -> not applying the discount amount
- update in the DB the correct field couponamount -> when used the coupon applies the correct discount amount
No tags attached.
caused by feature request 0053901 closed ranjith_qualiantech_com POS2 Variable Amount Coupons should be moved to Coupons module 
Issue History
2023-12-05 12:27azzeddine_meftohNew Issue
2023-12-05 12:27azzeddine_meftohAssigned To => Triage Platform Conn
2023-12-05 12:27azzeddine_meftohTriggers an Emergency Pack => No
2023-12-05 12:29marvintmAssigned ToTriage Platform Conn => Retail
2023-12-05 12:52ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-12-06 09:53ranjith_qualiantech_comRelationship addedcaused by 0053901
2023-12-06 10:51ranjith_qualiantech_comStatusnew => scheduled
2023-12-07 10:05hgbotNote Added: 0157995
2023-12-07 10:06hgbotNote Added: 0157996
2023-12-07 10:40hgbotNote Added: 0157997
2023-12-07 10:40hgbotNote Added: 0157998
2023-12-07 10:40hgbotNote Added: 0157999
2023-12-07 10:40hgbotResolutionopen => fixed
2023-12-07 10:40hgbotStatusscheduled => closed
2023-12-07 10:40hgbotNote Added: 0158000
2023-12-14 05:54ranjith_qualiantech_comNote Added: 0158170
2023-12-14 05:54ranjith_qualiantech_comStatusclosed => new
2023-12-14 05:54ranjith_qualiantech_comResolutionfixed => open
2023-12-14 05:54ranjith_qualiantech_comStatusnew => scheduled
2023-12-14 06:58hgbotNote Added: 0158171
2023-12-14 06:59hgbotNote Added: 0158172
2023-12-14 07:45hgbotNote Added: 0158175
2023-12-14 07:45hgbotNote Added: 0158176
2023-12-14 07:45hgbotNote Added: 0158177
2023-12-14 07:45hgbotResolutionopen => fixed
2023-12-14 07:45hgbotStatusscheduled => closed
2023-12-14 07:45hgbotNote Added: 0158178

Notes
(0157995)
hgbot   
2023-12-07 10:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/4 [^]
(0157996)
hgbot   
2023-12-07 10:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/merge_requests/6 [^]
(0157997)
hgbot   
2023-12-07 10:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api [^]
Changeset: 1c5346ba1093d200b972cd9760e391c27f8778ff
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 06-12-2023 15:11:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/1c5346ba1093d200b972cd9760e391c27f8778ff [^]

Related to ISSUE-54075: Removed OTF Coupon amount column in Coupon API

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0157998)
hgbot   
2023-12-07 10:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/4 [^]
(0157999)
hgbot   
2023-12-07 10:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/merge_requests/6 [^]
(0158000)
hgbot   
2023-12-07 10:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api [^]
Changeset: 22c7eb5fcf36538c45f3011cbf35348f15d57a97
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 07-12-2023 09:39:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/commit/22c7eb5fcf36538c45f3011cbf35348f15d57a97 [^]

Fixed ISSUE-54075: Added Coupon amount column in Coupon API

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0158170)
ranjith_qualiantech_com   
2023-12-14 05:54   
Coupon amount column should be added in Import Coupon API
(0158171)
hgbot   
2023-12-14 06:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/6 [^]
(0158172)
hgbot   
2023-12-14 06:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/merge_requests/8 [^]
(0158175)
hgbot   
2023-12-14 07:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/6 [^]
(0158176)
hgbot   
2023-12-14 07:45   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api [^]
Changeset: ce63ddbe2afeb4148506823eee09e7020c06cee5
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 14-12-2023 10:51:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/ce63ddbe2afeb4148506823eee09e7020c06cee5 [^]

Related to ISSUE-54075: Removed OTF Coupon amount column in Import Coupon API

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0158177)
hgbot   
2023-12-14 07:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/merge_requests/8 [^]
(0158178)
hgbot   
2023-12-14 07:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api [^]
Changeset: 2d209ab6dc3e69309059a5ab2a8182b933c3d08a
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 14-12-2023 10:51:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/commit/2d209ab6dc3e69309059a5ab2a8182b933c3d08a [^]

Fixed ISSUE-54075: Added Coupon amount column in Import Coupon API

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---