Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057784Openbravo ERP07. Sales managementpublic2025-01-28 17:272025-02-17 15:04
philippe_mui 
Bimla_vm 
lowtrivialalways
scheduledopen 
5
 
 
Core
No
0057784: RM-20167 [Coupon] Import / value of 'Organization' in csv file not verified when using Business API Data load to create a coupon
When importing a coupon by csv file, the value of ‘Organization’ in the csv is not verified when the ‘Business API Data Load’ is ran.

I attached the CSV doc in the files

See video:
https://drive.google.com/file/d/1cHFam9zka7UDXhjmUpF_iygtBRA4VkaZ/view?usp=sharing [^]

https://openbravo.atlassian.net/browse/RM-20167 [^]
Steps :
In back-office :
Create a Promotion with Searchkey = ‘TEST9196’
Organization for the promotion = 'Vall Blanca Store' with 'uses coupon codes'=yes

In csv file to import :
Promotion = ‘TEST9196’
Organization = ‘Central Mountains Store’ ---> this organization is from a different legal entity
CouponCode = ‘Test_21_FR’

Result after import file :
The coupon ‘Test_21_FR’ is created in the promotion ‘TEST9196’ even the organization doesn't match the organization where the promotion is created in BO
FASH
csv Fichier_FR_Import_21.csv (180) 2025-01-28 17:27
https://issues.openbravo.com/file_download.php?file_id=20806&type=bug
Issue History
2025-01-28 17:27philippe_muiNew Issue
2025-01-28 17:27philippe_muiAssigned To => Triage Omni OMS
2025-01-28 17:27philippe_muiFile Added: Fichier_FR_Import_21.csv
2025-01-28 17:27philippe_muiModules => Core
2025-01-28 17:27philippe_muiTriggers an Emergency Pack => No
2025-01-28 17:28philippe_muiTag Attached: FASH
2025-01-29 08:18jonaeAssigned ToTriage Omni OMS => radhakrishnan
2025-01-31 19:46aferrazNote Added: 0174977
2025-02-04 13:37jonaeAssigned Toradhakrishnan => Retail
2025-02-04 13:57guillermogilAssigned ToRetail => guilleaer
2025-02-11 23:45guilleaerStatusnew => acknowledged
2025-02-12 06:28Bimla_vmAssigned Toguilleaer => Bimla_vm
2025-02-12 06:28Bimla_vmStatusacknowledged => scheduled
2025-02-17 15:04hgbotNote Added: 0175779

Notes
(0174977)
aferraz   
2025-01-31 19:46   
Jira: https://openbravo.atlassian.net/browse/RM-20167 [^]
(0175779)
hgbot   
2025-02-17 15:04   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/merge_requests/26 [^]