Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051408
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajoralways2023-01-18 21:142023-03-15 23:52
ReporteraxelmercadoView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0051408: Distribution order module - Process Receipts backoffice error

DescriptionWhen trying to generate movements between warehouses of products in stock, and before completing the Receipt Dist. Order related to the movement, if a new inventory is generated at 0 of the products to be moved, it generates an internal error without displaying the message on the screen and allows the movement with negative stock in the new inventory as many times as the user presses the complete button.

Problem summarized by the partner Practics and leaving some points to consider:
This I comment happens when you make the reception of a distribution, where one of its lines has run out of stock.
Therefore the example would be:
- to have configured in the warehouse, that negative sales are not allowed
- set stock to 1 for a couple of products
- make the IDO of these products
- when you are going to make the reception of those, then before processing the reception, make an inventory for example to 0 of one of those products. In this way you will force not to have stock of that one and you will see the problem when processing the document.
Steps To Reproduce1- Create a Dist Order Issue, with a couple of products that you have in stock (You can try with the product in stock 1).
2- Complete the Issue and the stock will be moved to the warehouse configured as transit itself.
3- In the Dist order receipt related to the Issue, generate the Receipt Dist Order with those two products, but without completing it yet.
4- If someone in this step makes an inventory to 0 of any of these products, when you give to complete that Receipt Dist order it will give a Success message, but internally it is giving an error of Insufficient stock when processing those movements.
The error is not displayed on the screen, and moreover, it updates the quantities received from your Dist order Receipt, causing that if the user gives 5 times to Process, the amount received will be 5.
Proposed SolutionAttached patch.
TagsNo tags attached.
Attached Filesdiff file icon doProcessReceipt.diff [^] (2,174 bytes) 2023-01-18 21:14 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0147229)
AtulOpenbravo (developer)
2023-03-02 11:57

Not able to reproduce with the steps in backoffice as well as Front End. Need more information.
(0147246)
axelmercado (developer)
2023-03-02 20:40

I will update the issue with it, but I also leave it here.

https://watch.screencastify.com/v/rmHP4ZzjXnXeECLqfo4Y [^]
(0147490)
axelmercado (developer)
2023-03-13 14:37

Hi team, any news for this issue?
(0147513)
hgbot (developer)
2023-03-14 10:17

Merge Request created: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/43 [^]
(0147576)
hgbot (developer)
2023-03-15 23:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder [^]
Changeset: b0f1610f29919c184393eacb8d1ad178a8cf5d3a
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 14-03-2023 10:12:19
URL: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/commit/b0f1610f29919c184393eacb8d1ad178a8cf5d3a [^]

Fixes BUG-0051408: Distribution order module - Process Receipts
backoffice error

**Showing error properly when processing DO Receipt.

---
M src/org/openbravo/distributionorder/actionHandler/ProcessReceipt.java
---
(0147577)
hgbot (developer)
2023-03-15 23:52

Merge request merged: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/43 [^]

- Issue History
Date Modified Username Field Change
2023-01-18 21:14 axelmercado New Issue
2023-01-18 21:14 axelmercado Assigned To => Triage Omni WMS
2023-01-18 21:14 axelmercado File Added: doProcessReceipt.diff
2023-01-18 21:20 axelmercado Category Distribution Order for Advanced Warehouse Operations => Distribution Orders
2023-01-31 14:43 vmromanos Assigned To Triage Omni WMS => AtulOpenbravo
2023-03-01 07:17 AtulOpenbravo Note Added: 0147145
2023-03-01 07:17 AtulOpenbravo Status new => feedback
2023-03-01 07:17 AtulOpenbravo File Added: InsufficientStock51408.png
2023-03-01 07:18 AtulOpenbravo Note Edited: 0147145 View Revisions
2023-03-01 07:45 AtulOpenbravo File Deleted: InsufficientStock51408.png
2023-03-01 07:45 AtulOpenbravo Status feedback => scheduled
2023-03-01 07:45 AtulOpenbravo Note Deleted: 0147145
2023-03-02 11:57 AtulOpenbravo Note Added: 0147229
2023-03-02 11:57 AtulOpenbravo Status scheduled => feedback
2023-03-02 20:40 axelmercado Note Added: 0147246
2023-03-02 20:40 axelmercado Status feedback => scheduled
2023-03-13 14:37 axelmercado Note Added: 0147490
2023-03-14 10:17 hgbot Note Added: 0147513
2023-03-15 23:52 hgbot Resolution open => fixed
2023-03-15 23:52 hgbot Status scheduled => closed
2023-03-15 23:52 hgbot Note Added: 0147576
2023-03-15 23:52 hgbot Note Added: 0147577


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker