Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057830 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Distribution Orders | minor | always | 2025-01-31 22:10 | 2025-02-28 06:38 | |||
Reporter | axelmercado | View Status | public | |||||
Assigned To | Sandrahuguet | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0057830: Problem with duplicity of lines when generating issue from “Issue Distribution Order”. | |||||||
Description | When we generate a DOI issue from the “Issue Distribution Order” window manually, for some reason a line is duplicated generating additional erroneous movements. | |||||||
Steps To Reproduce | Video with the steps in Livebuilds: https://drive.google.com/file/d/15VHOpF1JIXM7oHyQLUCp0Zx0E2NiBZBB/view?usp=sharing [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0175063) vmromanos (manager) 2025-02-03 14:22 |
I think you are not using the functionality properly. See documentation: https://wiki.openbravo.com/wiki/Projects/Distribution_Orders/User_Document#Issue_Distribution_Order [^] Usually you just want to create the header, populate the DO and In Transit bin fields, and press the Generate Issue button, which will automatically create the lines with the available stock. I don't understand what you are trying to do in the video and what you pretend the Generate Issue button to perform if you create manual lines with a new bin different from the In-Transit bin at the header. |
(0175780) mtaal (manager) 2025-02-17 20:15 edited on: 2025-02-18 11:02 |
After further email discussion the issue showed to be reproducable in livebuilds (see attached document). FYI, in theory the process works like this: 1. It iterates over the DOi lines declared in the Issue DO header. 2. If there is a previous Issue DO line linked to the DOi line and the product is the same as in the DOi line, it doesn't try to calculate anything. 3. Otherwise, it creates as many Issue DO lines as necessary to deliver the correspondent DOi line. 4. If there is an overissue bin declared, it goes to negative if necessary using this bin only if the line hasn't been added manually by the user. It showed it didn't work, see attached file for reproduction steps in livebuilds |
(0175972) hgbot (developer) 2025-02-20 13:07 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/92 [^] |
(0176251) AtulOpenbravo (developer) 2025-02-28 05:19 |
Test Plan - Login with AWO-QAAdmin role, Organization: España, Warehouse: España Región Norte - Make sure for Organization: España in Information Tab, Advanced Warehouse Operation Flow is not set as Checked. - Make Sure In Warehouse Definition for España Región Norte, Enable Distribution Order Approval is not set as Checked. - Navigate to Distribution Order - Create record for Organization: España, Warehouse Issue: España Región Norte, Warehouse Receipt: España Región Sur, Order Date = Scheduled Delivery Date = Todays Date - Add Line 10 for product AWOPrefTest001 with Quantity 5. - Add Line 20 for product ISChangeFromBinTest0001 with Quantity 10. - Book the DO. - Navigate to Issue Distribution Order. - Create record for Organization: España, Select Distribution Order Issue as the one created in previous step, set In Transit Bin as RS-Dev - Navigate to Lines and create line 10 for product AWOPrefTest001 with Quantity 1, new Storage Bin as RS-1-0-0. - Link Distribution Order line no 10 to this record. - Create line 20 for product ISChangeFromBinTest0001 with Quantity 5, new Storage Bin as RS-1-0-0. - Link Distribution Order line no 20 to this record. - Click on Generate Issue button in the header. - Realize that there are only 2 lines as they were created previously. - Realize that in DIstributuon Order Lines relevant Issue Quantity information is updated i.e for Line 10, Issue Quantity : 1 and for Line 20, Issue Quantity is 5. - At header Distribution Order Issue Status is 40%. - Navigate to Issue Distribution Order. - Create record for Organization: España, Select Distribution Order Issue as the one created in previous step, set In Transit Bin as RS-Dev - Click on Generate Issue button in the header. - Realize that there are only 2 lines created with Movement Qty 4 for Product AWOPrefTest001 and Movement Quantity 5 for Product ISChangeFromBinTest0001 - Realize that in DIstributuon Order Lines relevant Issue Quantity information is updated i.e for Line 10, Issue Quantity : 5 and for Line 20, Issue Quantity is 10. - At header Distribution Order Issue Status is 100%. |
(0176253) hgbot (developer) 2025-02-28 06:38 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder [^] Changeset: 700a0849205570eafa721f56745772e4ed03fe39 Author: Sandra Huguet <s.huguet@orisha.com> Date: 27-02-2025 22:08:48 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/commit/700a0849205570eafa721f56745772e4ed03fe39 [^] Fixed ISSUE-57830: Fixed duplicity lines in generate issue process --- M src/org/openbravo/distributionorder/actionHandler/ProcessIssue.java --- |
(0176254) hgbot (developer) 2025-02-28 06:38 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/92 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-01-31 22:10 | axelmercado | New Issue | |
2025-01-31 22:10 | axelmercado | Assigned To | => Triage Omni WMS |
2025-02-03 14:22 | vmromanos | Note Added: 0175063 | |
2025-02-03 14:22 | vmromanos | Status | new => feedback |
2025-02-03 15:10 | axelmercado | Note Added: 0175064 | |
2025-02-03 15:10 | axelmercado | Status | feedback => new |
2025-02-17 20:15 | mtaal | File Added: 57830-livebuilds-reproduction.pdf | |
2025-02-17 20:15 | mtaal | Note Added: 0175780 | |
2025-02-17 21:20 | axelmercado | Note Deleted: 0175064 | |
2025-02-18 10:55 | mtaal | Assigned To | Triage Omni WMS => Sandrahuguet |
2025-02-18 11:02 | mtaal | Note Edited: 0175780 | View Revisions |
2025-02-20 13:07 | hgbot | Note Added: 0175972 | |
2025-02-20 14:09 | Sandrahuguet | Status | new => scheduled |
2025-02-28 05:19 | AtulOpenbravo | Note Added: 0176251 | |
2025-02-28 06:38 | hgbot | Resolution | open => fixed |
2025-02-28 06:38 | hgbot | Status | scheduled => closed |
2025-02-28 06:38 | hgbot | Note Added: 0176253 | |
2025-02-28 06:38 | hgbot | Note Added: 0176254 |
Copyright © 2000 - 2009 MantisBT Group |