Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056697Openbravo ERPZ. Otherspublic2024-10-08 21:242024-11-04 09:07
fofarril 
fofarril 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0056697: BUSINESS API DATA LOAD doesn't trigger any event subscriptions => it should
 - Create a new event, “Create Gift Card from backoffice”

 - Use the mechanism implemented in RM-15159: Programmatic notification after API import to extend the “Create Gift Card” event

 - In this mechanism, we will trigger this new event we have created, exporting the same entity (in this case the gift card instance), to other systems

Related to RM-13182
1 - Log in BO and go to BUSINESS API DATA LOAD window

2 - Select Entity = GiftCertificate, import the following file

3 - Click on Done

4 - Go to Gift Card Instance window: the gift certificates are created and visible

5 - Go to EDL request window: the RETAPGC_CreateGiftCard are created for each gift certificate created

6 - Check the webhook: the gift card data are correct
No tags attached.
Issue History
2024-10-08 21:24fofarrilNew Issue
2024-10-08 21:24fofarrilAssigned To => fofarril
2024-10-08 21:24fofarrilModules => Core
2024-10-08 21:24fofarrilTriggers an Emergency Pack => No
2024-10-08 21:25fofarrilStatusnew => scheduled
2024-10-08 21:41hgbotNote Added: 0170150
2024-10-08 21:45hgbotNote Added: 0170151
2024-10-08 22:06hgbotNote Added: 0170152
2024-10-08 22:08hgbotNote Added: 0170153
2024-10-31 14:45hgbotResolutionopen => fixed
2024-10-31 14:45hgbotStatusscheduled => closed
2024-10-31 14:45hgbotNote Added: 0171231
2024-10-31 14:45hgbotNote Added: 0171232
2024-10-31 14:47hgbotNote Added: 0171233
2024-10-31 14:47hgbotNote Added: 0171234
2024-11-04 09:07hgbotNote Added: 0171261
2024-11-04 09:07hgbotNote Added: 0171262

Notes
(0170150)
hgbot   
2024-10-08 21:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/41 [^]
(0170151)
hgbot   
2024-10-08 21:45   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/41 [^]
(0170152)
hgbot   
2024-10-08 22:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/42 [^]
(0170153)
hgbot   
2024-10-08 22:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/125 [^]
(0171231)
hgbot   
2024-10-31 14:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: 2843992e2baaa24e58ad37b444d74c0c7911d62e
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 31-10-2024 13:45:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/2843992e2baaa24e58ad37b444d74c0c7911d62e [^]

Fixes ISSUE-56697: Added 'Notify Push API' flag to Organization

This flag can be used by ImportEventObservers to trigger Push API events when data is imported via 'Business API Data Load' window

---
A src-db/database/model/modifiedTables/AD_ORG.xml
A src-db/database/sourcedata/AD_COLUMN.xml
A src-db/database/sourcedata/AD_ELEMENT.xml
A src-db/database/sourcedata/AD_FIELD.xml
A src-db/database/sourcedata/AD_FIELDGROUP.xml
---
(0171232)
hgbot   
2024-10-31 14:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/125 [^]
(0171233)
hgbot   
2024-10-31 14:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards [^]
Changeset: b3bba9b1f5e2d9c8185ea6d110456645363f4538
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 31-10-2024 13:47:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/commit/b3bba9b1f5e2d9c8185ea6d110456645363f4538 [^]

Fixes ISSUE-56697: Trigger Create Giftcard event when importing data with the Business API Data Load window

---
A src/org/openbravo/retail/api/giftcards/events/CreateGiftCardInstBackofficeImportEvent.java
M src/org/openbravo/retail/api/giftcards/mappings/giftcertificate/ImportGiftCertificateJavaPropertyMappingHandler.java
---
(0171234)
hgbot   
2024-10-31 14:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/42 [^]
(0171261)
hgbot   
2024-11-04 09:07   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^]
Changeset: f21a7ee04f400348654ba2551b3f1c9aafaee8a5
Author: Aaron Calero <a.calero@orisha.com>
Date: 04-11-2024 09:06:44
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/f21a7ee04f400348654ba2551b3f1c9aafaee8a5 [^]

Related to ISSUE-56697: Added missing sampledata

---
M referencedata/sampledata/Retail_Test/AD_ORG.xml
---
(0171262)
hgbot   
2024-11-04 09:07   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: ba8b6f47a2e63d7e0e8d14ff816c75b700c478ec
Author: Aaron Calero <a.calero@orisha.com>
Date: 04-11-2024 09:06:29
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/ba8b6f47a2e63d7e0e8d14ff816c75b700c478ec [^]

Related to ISSUE-56697: Added missing sampledata

---
M referencedata/sampledata/The_White_Valley_Group/AD_ORG.xml
---