Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050249 | Modules | Distribution Order for Advanced Warehouse Operations | public | 2022-09-14 17:10 | 2022-10-06 10:35 |
|
Reporter | vmromanos | |
Assigned To | AtulOpenbravo | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | vmromanos |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0050249: Close DO can be launched from two different places, creating problems in Push API |
Description | The process of closing a Distribution Order can be launched from two different places:
1. ProcessDistributionOrderUtil.processDistributionOrder()
2. ProcessDistributionOrderUtil.closeDistributionOrders()
The second method was originally private, but it was transformed to public recently.
There are two places that call it now:
2.a. org.openbravo.distributionorder.hooks.implementation.CloseAfterReceiveDistributionOrderHook
2.b. org.openbravo.warehouse.advancedwarehouseoperations.distributionorders.hook.CloseDOIfSkipDeltaTaskGroup
#1 calls #2, and also launches some push api events afterwards, which works fine.
However, the events associated to #2.a. and #2.b. are never launched if the distribution order is closed by calling #2.
It is better to have just one point to process distribution orders, so any related hook works as expected.
|
Steps To Reproduce | Not needed |
Proposed Solution | Make #2 private. This is an API change, but nobody else apart from us should be using it, so it is safe.
Modify #2.a. and #2.b. to call #1 instead. This way we centralize this process in just one place. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0050421 | | new | Triage Platform Base | Openbravo ERP | Push API payload generation when event is triggered | caused by | feature request | 0049412 | | closed | Triage Omni WMS | Openbravo ERP | AWO, Close DO automatically when Skip Delta | related to | defect | 0052741 | | closed | Triage Omni WMS | Modules | DO API - Update Distribution Order status event is not triggered when a document change the status from confirm to close |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-09-14 17:10 | vmromanos | New Issue | |
2022-09-14 17:10 | vmromanos | Assigned To | => Triage Omni OMS |
2022-09-14 17:10 | vmromanos | Note Added: 0141113 | |
2022-09-14 17:12 | vmromanos | Note Edited: 0141113 | bug_revision_view_page.php?bugnote_id=0141113#r24766 |
2022-09-14 17:23 | aferraz | Assigned To | Triage Omni OMS => Triage Omni WMS |
2022-09-14 17:39 | AtulOpenbravo | Status | new => scheduled |
2022-09-14 17:39 | AtulOpenbravo | Assigned To | Triage Omni WMS => AtulOpenbravo |
2022-09-14 17:50 | vmromanos | Relationship added | caused by 0049412 |
2022-09-14 18:40 | hgbot | Note Added: 0141123 | |
2022-09-14 18:40 | hgbot | Note Added: 0141124 | |
2022-10-05 14:27 | vmromanos | Relationship added | related to 0050421 |
2022-10-05 15:17 | hgbot | Resolution | open => fixed |
2022-10-05 15:17 | hgbot | Status | scheduled => resolved |
2022-10-05 15:17 | hgbot | Note Added: 0141685 | |
2022-10-05 15:17 | hgbot | Note Added: 0141686 | |
2022-10-05 15:18 | hgbot | Note Added: 0141687 | |
2022-10-05 15:18 | hgbot | Note Added: 0141688 | |
2022-10-05 15:18 | vmromanos | Review Assigned To | => vmromanos |
2022-10-05 15:18 | vmromanos | Status | resolved => closed |
2022-10-06 10:35 | hgbot | Note Added: 0141720 | |
2023-06-16 16:24 | AtulOpenbravo | Relationship added | related to 0052741 |
Notes |
|
(0141113)
|
vmromanos
|
2022-09-14 17:10
(edited on: 2022-09-14 17:12) |
|
|
|
(0141123)
|
hgbot
|
2022-09-14 18:40
|
|
|
|
(0141124)
|
hgbot
|
2022-09-14 18:40
|
|
|
|
(0141685)
|
hgbot
|
2022-10-05 15:17
|
|
|
|
(0141686)
|
hgbot
|
2022-10-05 15:17
|
|
|
|
(0141687)
|
hgbot
|
2022-10-05 15:18
|
|
|
|
(0141688)
|
hgbot
|
2022-10-05 15:18
|
|
|
|
(0141720)
|
hgbot
|
2022-10-06 10:35
|
|
|