Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0058147Openbravo ERP07. Sales managementpublic2025-03-05 16:022025-03-06 08:52
philippe_mui 
Sathishkumar 
normalminoralways
closedduplicate 
5
 
 
Gold
Core
No
0058147: [COUPON] - Coupon imported in Back-office is not correct : wrong integration when a column name is wrong, the coupon should not
When a coupon is imported with wrong integration of a column name, the coupon should not be created and the corresponding error message in EDL request should appear


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

Attached is the wrong file used to import the coupon
1. In BO, create a promotion with usecouponcode = Y
2. Create a csv file to import ‘coupons’ in a promotion and use business API data load window to import the coupon
3. create the wrong column ‘numberofUses’ and write ‘NU’ ou ‘NC’. The correct name of the column should be 'numberOfUses' but we make the mistake on purpose
4. Open ‘Business API Data Load’ window to import the file in coupon and import the file

Current result :

EDL request is in Success when we add a wrong column name (NumberofUses instead of NumberOfUses)
After import in the promotion, the value of the field ‘Number of Uses’ of the coupon in tab ‘Coupon’ is ‘Infinite’.

That means that :

the value indicated on the file csv is not respected at the creation of the coupon.

the coupon created is always usable, without limit.

Expected result :

An infinite coupon should not be integrated with this column name error.

=> We should have an error message in EDL Request, and no integration with infinite if it was integrated with NC or NU. And it should be the case of all columns name wrongly added.
FASH
duplicate of defect 0057886 closed ranjith_qualiantech_com RM-20166 [Coupons] - Import / In csv file another value that the standard column name is possible 
csv Fichier_FR_Import_05 (1).csv (197) 2025-03-05 16:02
https://issues.openbravo.com/file_download.php?file_id=21005&type=bug
Issue History
2025-03-05 16:02philippe_muiNew Issue
2025-03-05 16:02philippe_muiAssigned To => Triage Omni OMS
2025-03-05 16:02philippe_muiFile Added: Fichier_FR_Import_05 (1).csv
2025-03-05 16:02philippe_muiOBNetwork customer => Gold
2025-03-05 16:02philippe_muiModules => Core
2025-03-05 16:02philippe_muiTriggers an Emergency Pack => No
2025-03-05 16:02philippe_muiTag Attached: FASH
2025-03-06 08:27jonaeAssigned ToTriage Omni OMS => Sathishkumar
2025-03-06 08:52jonaeRelationship addedduplicate of 0057886
2025-03-06 08:52jonaeStatusnew => closed
2025-03-06 08:52jonaeResolutionopen => duplicate

There are no notes attached to this issue.