Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0050364Openbravo ERP00. Application dictionarypublic2022-09-28 11:232023-08-09 08:18
fermin_gascon 
fermin_gascon 
normalmajoralways
closedfixed 
5
 
PR23Q4 
Core
No
0050364: It will be nice to have and api to export goods receipts and shipments to external services
Some cients needs to send information to external services when products are send or are recived on wharehouses
Create a purchase order and book it
Create a good receipt for the purchase order and complete it
------------------------------
Create a return to vendor order and book it
Create a Create a return to vendor order for the order and complete it
Create the API and throw events on the java procedure
No tags attached.
depends on feature request 0049482 new Triage Omni OMS Openbravo ERP 0049482: Openbravo API to export shipments 
related to defect 0053226 closed adrianromero Openbravo ERP New dependency. CallProcess now depends of weld 
related to defect 0053260 closed fermin_gascon Openbravo ERP Wrong javadoc in StoredProcedureHook 
related to defect 0053240 closed fermin_gascon Retail Modules "netUnitPrice" property wrongly mapped in Goods receipt 
causes defect 0053215 closed fermin_gascon Openbravo ERP ReducedTranslationExportTests test failure 
Not all the children of this issue are yet resolved or closed.
Issue History
2022-09-28 11:23fermin_gasconNew Issue
2022-09-28 11:23fermin_gasconAssigned To => fermin_gascon
2022-09-28 11:23fermin_gasconModules => Core
2022-09-28 11:23fermin_gasconTriggers an Emergency Pack => No
2022-09-28 11:23fermin_gasconRelationship addeddepends on 0049482
2022-09-28 11:25fermin_gasconSummaryIt will be nice to have and api to export goods receipts and shipments to externarl services => It will be nice to have and api to export goods receipts and shipments to external services
2022-09-28 12:25hgbotNote Added: 0141439
2022-09-28 14:09hgbotNote Added: 0141444
2022-10-21 11:42hgbotNote Added: 0142392
2022-10-21 13:27hgbotNote Added: 0142416
2022-12-23 13:15hgbotNote Added: 0144974
2023-01-09 09:11hgbotNote Added: 0145199
2023-01-12 09:50hgbotNote Added: 0145315
2023-01-12 11:51hgbotNote Added: 0145326
2023-01-12 11:59hgbotNote Added: 0145327
2023-06-22 09:39hgbotResolutionopen => fixed
2023-06-22 09:39hgbotStatusnew => closed
2023-06-22 09:39hgbotNote Added: 0151478
2023-06-22 09:39hgbotFixed in Version => PR23Q3
2023-06-22 09:39hgbotNote Added: 0151479
2023-06-26 09:38hgbotNote Added: 0151622
2023-06-26 09:39mtaalStatusclosed => new
2023-06-26 09:39mtaalResolutionfixed => open
2023-06-26 09:39mtaalFixed in VersionPR23Q3 =>
2023-06-28 08:44hgbotNote Added: 0151715
2023-08-08 14:57hgbotResolutionopen => fixed
2023-08-08 14:57hgbotStatusnew => closed
2023-08-08 14:57hgbotNote Added: 0153343
2023-08-08 14:57hgbotNote Added: 0153344
2023-08-08 14:57hgbotNote Added: 0153345
2023-08-08 14:57hgbotNote Added: 0153346
2023-08-08 14:58hgbotNote Added: 0153347
2023-08-08 14:58hgbotNote Added: 0153348
2023-08-09 08:18hgbotNote Added: 0153366
2023-08-09 08:18hgbotNote Added: 0153367
2023-08-09 08:18hgbotNote Added: 0153368
2023-08-09 08:18hgbotFixed in Version => PR23Q4
2023-08-09 08:18hgbotNote Added: 0153369
2023-08-09 08:18hgbotNote Added: 0153370
2023-08-09 08:18hgbotNote Added: 0153371
2023-08-09 08:18hgbotNote Added: 0153372
2023-08-09 08:18hgbotNote Added: 0153373
2023-08-14 15:25aferrazRelationship addedcauses 0053215
2023-08-17 11:38fermin_gasconRelationship addedrelated to 0053226
2023-08-22 11:06fermin_gasconRelationship addedrelated to 0053260
2023-08-22 14:50fermin_gasconRelationship addedrelated to 0053240

Notes
(0141439)
hgbot   
2022-09-28 12:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/88 [^]
(0141444)
hgbot   
2022-09-28 14:09   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/718 [^]
(0142392)
hgbot   
2022-10-21 11:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/96 [^]
(0142416)
hgbot   
2022-10-21 13:27   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/88 [^]
(0144974)
hgbot   
2022-12-23 13:15   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/718 [^]
(0145199)
hgbot   
2023-01-09 09:11   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/54 [^]
(0145315)
hgbot   
2023-01-12 09:50   
Merge request closed: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/54 [^]
(0145326)
hgbot   
2023-01-12 11:51   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/56 [^]
(0145327)
hgbot   
2023-01-12 11:59   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/30 [^]
(0151478)
hgbot   
2023-06-22 09:39   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/718 [^]
(0151479)
hgbot   
2023-06-22 09:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 82d62f59860efec5585a273f6b70a896c163e9a4
Author: Fermín Gascón <fermin.gascon@openbravo.com>
Date: 22-06-2023 07:39:02
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/82d62f59860efec5585a273f6b70a896c163e9a4 [^]

Fixed ISSUE-50364: Allow extending CallProcess with hooks which are called at the end, generate synchronize event on process goods

---
A src/org/openbravo/service/db/StoredProcedureHook.java
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
M src/org/openbravo/service/db/CallProcess.java
---
(0151622)
hgbot   
2023-06-26 09:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 11f5a8c2e7e11478f83f61d18d7f053df83b24b5
Author: Martin Taal <martin.taal@openbravo.com>
Date: 26-06-2023 07:38:22
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/11f5a8c2e7e11478f83f61d18d7f053df83b24b5 [^]

Revert "Fixed ISSUE-50364: Allow extending CallProcess with hooks which are called at..."

This reverts commit 82d62f59860efec5585a273f6b70a896c163e9a4
---
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
M src/org/openbravo/service/db/CallProcess.java
R src/org/openbravo/service/db/StoredProcedureHook.java
---
(0151715)
hgbot   
2023-06-28 08:44   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/923 [^]
(0153343)
hgbot   
2023-08-08 14:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: 23c305475542ad056261f6f899b7bbee12efa292
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 03-08-2023 14:06:53
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/23c305475542ad056261f6f899b7bbee12efa292 [^]

Fixes ISSUE-50364: added automatic test

---
A src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDate.json
A src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDateRange.json
A src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptById.json
A src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDate.json
A src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDateRange.json
A src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentById.json
A src-test/data/export/filter/shipmentInOut/returnMaterialReceipt/returnMaterialReceiptById.json
A src-test/data/export/filter/shipmentInOut/returnToVendorShipment/returnToVendorShipmentById.json
A src-test/org/openbravo/api/tests/export/ApiExportShipmentInOutFilters.java
M src-test/org/openbravo/api/tests/StandaloneTestSuite.java
---
(0153346)
hgbot   
2023-08-08 14:57   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/30 [^]
(0153345)
hgbot   
2023-08-08 14:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: 53ca544ab3cf8b3ffdf04075020fe069e21391bc
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 07-08-2023 18:57:57
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/53ca544ab3cf8b3ffdf04075020fe069e21391bc [^]

Fixed ISSUE-50364: corrections in test, Goods shipment json changes for id and docno filter

---
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentById.json
M src-test/org/openbravo/api/tests/export/ApiExportShipmentInOutFilters.java
---
(0153344)
hgbot   
2023-08-08 14:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: 86816734b007f23aab4da4c9d5de3c8a965305b3
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 03-08-2023 14:06:54
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/86816734b007f23aab4da4c9d5de3c8a965305b3 [^]

Fixed ISSUE-50364: corrections in test

---
A src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDocumentNo.json
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDate.json
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDateRange.json
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptById.json
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDate.json
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDateRange.json
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentById.json
M src-test/data/export/filter/shipmentInOut/returnMaterialReceipt/returnMaterialReceiptById.json
M src-test/data/export/filter/shipmentInOut/returnToVendorShipment/returnToVendorShipmentById.json
M src-test/org/openbravo/api/tests/export/ApiExportShipmentInOutFilters.java
---
(0153347)
hgbot   
2023-08-08 14:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: d87acad05a6ef119becd04c83e623b8d472da0ea
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 04-08-2023 11:25:24
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/d87acad05a6ef119becd04c83e623b8d472da0ea [^]

Fixed ISSUE-50364: Added sample data for shipmentInOut

---
M referencedata/sampledata/The_White_Valley_Group/AD_PINSTANCE.xml
M referencedata/sampledata/The_White_Valley_Group/AD_PINSTANCE_PARA.xml
M referencedata/sampledata/The_White_Valley_Group/AD_PROCESS_REQUEST.xml
M referencedata/sampledata/The_White_Valley_Group/AD_SEQUENCE.xml
M referencedata/sampledata/The_White_Valley_Group/C_ORDER.xml
M referencedata/sampledata/The_White_Valley_Group/C_ORDERLINE.xml
M referencedata/sampledata/The_White_Valley_Group/C_ORDERLINETAX.xml
M referencedata/sampledata/The_White_Valley_Group/C_ORDERTAX.xml
M referencedata/sampledata/The_White_Valley_Group/FIN_PAYMENT_SCHEDULE.xml
M referencedata/sampledata/The_White_Valley_Group/FIN_PAYMENT_SCHEDULEDETAIL.xml
M referencedata/sampledata/The_White_Valley_Group/M_INOUT.xml
M referencedata/sampledata/The_White_Valley_Group/M_INOUTLINE.xml
M referencedata/sampledata/The_White_Valley_Group/M_MATCHPO.xml
M referencedata/sampledata/The_White_Valley_Group/M_STORAGE_DETAIL.xml
M referencedata/sampledata/The_White_Valley_Group/M_STORAGE_PENDING.xml
M referencedata/sampledata/The_White_Valley_Group/M_TRANSACTION.xml
---
(0153348)
hgbot   
2023-08-08 14:58   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/56 [^]
(0153366)
hgbot   
2023-08-09 08:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: ea84445e03d82f91bda920d3b082a777ae34372b
Author: Fermín Gascón <fermin.gascon@openbravo.com>
Date: 09-08-2023 06:18:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/ea84445e03d82f91bda920d3b082a777ae34372b [^]

Fixed ISSUE-50364: API to export goods receipts and shipments to external services

---
A src/org/openbravo/api/event/shipmentInOut/ShipmentInOutStoredProcedureHook.java
A src/org/openbravo/api/mappings/shipmentinout/ShipmentInOutJavaPropertyMappingHandler.java
A src/org/openbravo/api/mappings/shipmentinoutline/ShipmentInOutLineJavaPropertyMappingHandler.java
M examples/Openbravo API.postman_collection.json
M src-db/database/sourcedata/API_EXPORT_FILTER.xml
M src-db/database/sourcedata/API_EXPORT_FILTER_PARAM.xml
M src-db/database/sourcedata/CNC_PUBLIC_EVENTS.xml
M src-db/database/sourcedata/OBEI_ENTITY_MAPPING.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0153367)
hgbot   
2023-08-09 08:18   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/96 [^]
(0153368)
hgbot   
2023-08-09 08:18   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/923 [^]
(0153369)
hgbot   
2023-08-09 08:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 78ea3ac4b4f2e220b42bfd2a82fd0be62ae363b9
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 09-08-2023 06:18:31
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/78ea3ac4b4f2e220b42bfd2a82fd0be62ae363b9 [^]

Fixed ISSUE-50364: Added push events for goods receipt, goods shpment, return material receipt, return to vendor shipment

---
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
(0153370)
hgbot   
2023-08-09 08:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: aa0c59f4e4093c7557729a48555789426d6ba8d8
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 09-08-2023 06:18:31
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/aa0c59f4e4093c7557729a48555789426d6ba8d8 [^]

 Fixed ISSUE-50364: Correction on push API event, fix empty db objet exception

---
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
(0153371)
hgbot   
2023-08-09 08:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 6744b2624aefd3d8d3fc5c922056264c8ba8b197
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 09-08-2023 06:18:31
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/6744b2624aefd3d8d3fc5c922056264c8ba8b197 [^]

Fixed ISSUE-50364: Correction on push API event, log prints more info

---
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
(0153372)
hgbot   
2023-08-09 08:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 78033926bea579c7cd112301ce11a2efec58b4ac
Author: Fermín Gascón <fermin.gascon@openbravo.com>
Date: 09-08-2023 06:18:31
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/78033926bea579c7cd112301ce11a2efec58b4ac [^]

Fixed ISSUE-50364: Allow extending CallProcess with hooks which are called at the end, generate synchronize event on process goods

---
A src/org/openbravo/service/db/StoredProcedureHook.java
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
M src/org/openbravo/service/db/CallProcess.java
---
(0153373)
hgbot   
2023-08-09 08:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 0f16101fb3894c5520e591d22c2e1cbc5970bcb1
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 09-08-2023 06:18:31
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/0f16101fb3894c5520e591d22c2e1cbc5970bcb1 [^]

Fixed ISSUE-50364: change test class, now extends WelBaseTest

---
M src-test/src/org/openbravo/test/reducedtranslation/ReducedTranslationExportTests.java
---