Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0057830 | Modules | Distribution Orders | public | 2025-01-31 22:10 | 2025-02-28 06:38 |
|
Reporter | axelmercado | |
Assigned To | Sandrahuguet | |
Priority | high | Severity | minor | 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 | |
Support ticket | |
OBNetwork customer | |
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 [^] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 57830-livebuilds-reproduction.pdf (213,976) 2025-02-17 20:15 https://issues.openbravo.com/file_download.php?file_id=20922&type=bug |
|
Issue History |
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 | bug_revision_view_page.php?bugnote_id=0175780#r29256 |
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 | |
Notes |
|
|
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
|
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
|
2025-02-20 13:07
|
|
|
|
|
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
|
2025-02-28 06:38
|
|
|
|
(0176254)
|
hgbot
|
2025-02-28 06:38
|
|
|