Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056403Openbravo ERP04. Warehouse managementpublic2024-09-06 13:472024-09-16 14:59
avicente 
Sandrahuguet 
highmajoralways
closedfixed 
5
 
PR24Q4 
Core
https://issues.openbravo.com/view.php?id=54352 [^]
No
0056403: Change in the event 'Update Distribution Order quantities through goods movement' causes regression
The changes done in the event 'Update Distribution Order quantities through goods movement' in https://issues.openbravo.com/view.php?id=54352 [^] has caused a regression in a customer updated from 23Q4 to 24Q2.

--> In 23Q4, the DOI integrated through the API that generated a good movement didn't generated an EDL Request.
--> In 24Q2, the DOI integrated through the API that generated a good movement does generate an EDL Request.

The consequence for the customer is that the good movement is informed in SAP twice.

- Configure the event 'Update Distribution Order quantities through goods movement'.
- Integrate a DOI through the API with the property"IsAutomaticallyIssueStock": true
- Check that an EDL Request of type 'OBDOAPI_UpdateDOQuantities' is generated in 24Q2 but not in 23Q4.
To implement a new event 'Update Distribution Order quantities through goods movement not triggered by API'
No tags attached.
depends on backport 0056459PR24Q3.2 closed Sandrahuguet Openbravo ERP Change in the event 'Update Distribution Order quantities through goods movement' causes regression 
depends on backport 0056460PR24Q2.4 closed Sandrahuguet Openbravo ERP Change in the event 'Update Distribution Order quantities through goods movement' causes regression 
caused by defect 0054352 closed vmromanos Retail Modules Distribution Order API wrongly depends on AWO module - OBDOAPI_UpdateDOQuant is replaced by the OBDOAPI_UpdateDOQuantities event 
Issue History
2024-09-06 13:47avicenteNew Issue
2024-09-06 13:47avicenteAssigned To => Triage Omni WMS
2024-09-06 13:47avicenteModules => Core
2024-09-06 13:47avicenteRegression introduced by commit => https://issues.openbravo.com/view.php?id=54352 [^]
2024-09-06 13:47avicenteTriggers an Emergency Pack => No
2024-09-06 13:47avicenteRelationship addedcaused by 0054352
2024-09-09 09:24mtaalDescription Updatedbug_revision_view_page.php?rev_id=28417#r28417
2024-09-09 09:27mtaalAssigned ToTriage Omni WMS => Sandrahuguet
2024-09-13 11:07hgbotNote Added: 0169174
2024-09-13 12:57SandrahuguetNote Added: 0169201
2024-09-13 22:20hgbotResolutionopen => fixed
2024-09-13 22:20hgbotStatusnew => closed
2024-09-13 22:20hgbotNote Added: 0169207
2024-09-13 22:20hgbotNote Added: 0169208
2024-09-16 10:11SandrahuguetFixed in Version => PR24Q4
2024-09-16 14:17SandrahuguetStatusclosed => new
2024-09-16 14:17SandrahuguetResolutionfixed => open
2024-09-16 14:17SandrahuguetFixed in VersionPR24Q4 =>
2024-09-16 14:58SandrahuguetStatusnew => scheduled
2024-09-16 14:59SandrahuguetStatusscheduled => resolved
2024-09-16 14:59SandrahuguetFixed in Version => PR24Q4
2024-09-16 14:59SandrahuguetFixed in SCM revision => https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/2c20b35a00d5816980148c0013f36b8ccd0b1572 [^]
2024-09-16 14:59SandrahuguetResolutionopen => fixed
2024-09-16 14:59SandrahuguetStatusresolved => closed

Notes
(0169174)
hgbot   
2024-09-13 11:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/33 [^]
(0169201)
Sandrahuguet   
2024-09-13 12:57   
Test Plan:

Create a event subscription to "Update DO qty through goods movement not triggered by API" The external system can be https://webhook.site/ [^]

Integrate a DOI through the API with the property"IsAutomaticallyIssueStock": true

Check that an EDL Request of type 'OBDOAPI_UpdateDOQuantitiesOutsideAPI' is not generated
(0169207)
hgbot   
2024-09-13 22:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api [^]
Changeset: 2c20b35a00d5816980148c0013f36b8ccd0b1572
Author: Sandra Huguet <s.huguet@orisha.com>
Date: 13-09-2024 11:06:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/2c20b35a00d5816980148c0013f36b8ccd0b1572 [^]

Fixed ISSUE-56403 Create new event outside API

---
M src-db/database/sourcedata/CNC_PUBLIC_EVENTS.xml
M src/org/openbravo/distributionorder/api/push/UpdateDOQuantitiesEvent.java
---
(0169208)
hgbot   
2024-09-13 22:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/33 [^]