Openbravo Issue Tracking System - POS2
View Issue Details
0057019POS2POSpublic2024-11-06 14:562025-03-13 18:14
fermin_ostivar 
ludmila_ursu 
normalmajoralways
closedfixed 
5
pi 
 
OBPS
No
0057019: (RM-20552) "Update DO qty through goods movement not triggered by API", event is not send when an DOR is updated on the AWO FE
If a Organziation has configured the "Update DO qty through goods movement not triggered by API", when a DOR is added through the API, when a the DOR is confirmed as received on the AWO Front the event is not triggered.

Is expected not to trigger when the DOR is received from the API, but must be triggered the update from the AWO Front.
Set the "DOAPI: In-Transit Bin for Automatic Issue " preference as TRK-02@TRK
Set EDL Configuration
Set the Event Subscription "Update DO qty through goods movement not triggered by API""

1)Send the DOR through the API
2)Go to "Distribution Order Receipt" tab, select the order, click "Receive", select and user.
3)Go to AWO Front with the user assigned in previous step.
4)Confirm the DOR

The UpdateDOQuantities message is not sent as EDL.
The OBDOAPI_UpdateDOQuantitiesOutsideAPI message must be sent when a DOR is confirmed on the AWO Front
No tags attached.
depends on feature request 0057515 closed caristu Openbravo ERP Support defining if a Push API event should be triggered based on the context 
caused by backport 0056460PR24Q2.4 closed Sandrahuguet Openbravo ERP Change in the event 'Update Distribution Order quantities through goods movement' causes regression 
png 2024-11-06_14-09.png (72,167) 2024-11-06 14:57
https://issues.openbravo.com/file_download.php?file_id=20437&type=bug
png

png 2024-11-06_14-09_1.png (69,263) 2024-11-06 14:57
https://issues.openbravo.com/file_download.php?file_id=20438&type=bug
png

png 2024-11-06_14-28.png (46,277) 2024-11-06 14:57
https://issues.openbravo.com/file_download.php?file_id=20439&type=bug
png

? call.curl (856) 2024-11-06 14:57
https://issues.openbravo.com/file_download.php?file_id=20440&type=bug
Issue History
2024-11-06 14:56fermin_ostivarNew Issue
2024-11-06 14:56fermin_ostivarAssigned To => Retail
2024-11-06 14:56fermin_ostivarOBNetwork customer => No
2024-11-06 14:56fermin_ostivarTriggers an Emergency Pack => No
2024-11-06 14:57fermin_ostivarFile Added: 2024-11-06_14-09.png
2024-11-06 14:57fermin_ostivarFile Added: 2024-11-06_14-09_1.png
2024-11-06 14:57fermin_ostivarFile Added: 2024-11-06_14-28.png
2024-11-06 14:57fermin_ostivarFile Added: call.curl
2024-11-06 14:59fermin_ostivarRelationship addedcaused by 0056460
2024-11-06 15:01guillermogilAssigned ToRetail => Triage Omni WMS
2024-11-10 20:22fermin_ostivarOBNetwork customerNo => OBPS
2024-11-11 09:46mtaalAssigned ToTriage Omni WMS => Sandrahuguet
2024-11-11 09:47mtaalAssigned ToSandrahuguet => ludmila_ursu
2024-11-11 10:58fermin_ostivarNote Added: 0171749
2024-11-14 12:35fermin_ostivarProposed Solution updated
2024-11-15 11:53ludmila_ursuNote Added: 0172023
2024-11-15 12:09ludmila_ursuFile Added: proof of testing AWO - local - video.webm
2024-11-25 12:46ludmila_ursuNote Added: 0172540
2024-12-13 14:00caristuTypedefect => design defect
2024-12-23 09:45vmromanosNote Added: 0173607
2024-12-23 09:54vmromanosNote Edited: 0173607bug_revision_view_page.php?bugnote_id=0173607#r28960
2025-01-13 10:17caristuRelationship addeddepends on 0057515
2025-01-21 09:03mtaalSummary"Update DO qty through goods movement not triggered by API", event is not send when an DOR is updated on the AWO Front => (RM-2055) "Update DO qty through goods movement not triggered by API", event is not send when an DOR is updated on the AWO Front
2025-01-27 10:39mtaalSummary(RM-2055) "Update DO qty through goods movement not triggered by API", event is not send when an DOR is updated on the AWO Front => (RM-20552) "Update DO qty through goods movement not triggered by API", event is not send when an DOR is updated on the AWO FE
2025-03-11 14:57ludmila_ursuNote Added: 0176671
2025-03-11 14:59ludmila_ursuFile Deleted: proof of testing AWO - local - video.webm
2025-03-13 12:58hgbotResolutionopen => fixed
2025-03-13 12:58hgbotStatusnew => resolved
2025-03-13 12:58hgbotNote Added: 0176788
2025-03-13 18:13ludmila_ursuNote Added: 0176807
2025-03-13 18:14ludmila_ursuStatusresolved => closed

Notes
(0171749)
fermin_ostivar   
2024-11-11 10:58   
It is needed to backport to 24Q2
(0172023)
ludmila_ursu   
2024-11-15 11:53   
https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/331 [^]

https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/41 [^]

Proof of testing:
https://docs.google.com/spreadsheets/d/1k55KQbR00F2g7zVJgLYRbhAJh_AyEGlU5Mtvxao78Tw/edit?gid=0#gid=0 [^]
(0172540)
ludmila_ursu   
2024-11-25 12:46   
Previous merge requests closed.
New JIRA that will handle the case:
https://openbravo.atlassian.net/browse/RM-19360 [^]
(0173607)
vmromanos   
2024-12-23 09:45   
(edited on: 2024-12-23 09:54)
Move to design defect and removed due date.

This issue will be fixed in a generic way by Platform for all the push events.

The idea would be to add in the event subscription (not in the event definition) whether you want to receive or not the event when it has been triggered by the API.

More details: https://openbravo.atlassian.net/browse/RM-19360 [^]

(0176671)
ludmila_ursu   
2025-03-11 14:57   
Proof of testing:
https://docs.google.com/spreadsheets/d/1k55KQbR00F2g7zVJgLYRbhAJh_AyEGlU5Mtvxao78Tw/edit?gid=0#gid=0 [^]

Merge Request: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/44 [^]
(0176788)
hgbot   
2025-03-13 12:58   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.distributionorder.api [^]
Changeset: 4df61b1e7f27d1da5d996ca22c6ee485fe825512
Author: Ludmila Ursu <l.ursu@orisha.com>
Date: 13-03-2025 11:58:36
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/4df61b1e7f27d1da5d996ca22c6ee485fe825512 [^]

Fixes ISSUE-57019: Removed OBDOAPI_UpdateDOQuantitiesOutsideAPI event, since no longer needed

---
M src-db/database/sourcedata/CNC_PUBLIC_EVENTS.xml
M src/org/openbravo/distributionorder/api/push/UpdateDOQuantitiesEvent.java
---
(0176807)
ludmila_ursu   
2025-03-13 18:13   
Confirmed with the reporter, no backport is needed for this issue, since the current change is based on https://openbravo.atlassian.net/browse/RM-19360, [^] and this will be available for them in the next upgrade.