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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039820
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Warehouse Pickingmajoralways2018-12-17 13:512019-01-09 13:19
ReporterngarciaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionaf2a4819fede
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned ToSandrahuguet
Regression introduced in release
Summary

0039820: Picking list is created with stock from a warehouse different than the order's warehouse if reservation without warehouse exists

DescriptionPicking list is created with stock from a warehouse different than the order's warehouse if reservation without warehouse exists
Steps To ReproduceAs group admin role:
   Apply module's dataset
   Set the Enable Stock Reservations preference to Y
   Log out and log in

   Create a new product in F&B España, S.A.
   Add Region Norte and Region Sur warehouses as on hand warehouses to F&B España, S.A. organization
   Create a goods receipt in Region Norte warehouse, add 10 units of the previously created product and complete it
   Create a goods receipt in Region Sur warehouse, add 10 units of the previously created product and complete it
   Create a Sales Order for F&B España S.A. and Region Norte warehouse
   Add 15 units of the previously created product to it
   Complete it
   Manage Reservation and reserve 10 units from Region Norte warehouse
   Generate Picking List and check the pending 5 units have been taken from Region Sur warehouse. This is wrong

   Process the picking list
   Check a goods shipment for Region Norte warehouse has been created with a storage bin of Region Norte and another storage bin for Region Sur. This is also wrong
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035281 closedAtulOpenbravo Picking list is created with stock of a on hand warehouse if there exists some stock in the warehouse of the sales order header 

-  Notes
(0108788)
markmm82 (developer)
2019-01-02 17:22

As group admin role:
   Apply module's dataset
   Set the Enable Stock Reservations preference to Y
   Log out and log in

   Create a new product in F&B España, S.A.
   Add Region Norte and Region Sur warehouses as on hand warehouses to F&B España, S.A. organization
   Create a goods receipt in Region Norte warehouse, add 10 units of the previously created product and complete it
   Create a goods receipt in Region Sur warehouse, add 10 units of the previously created product and complete it
   Create a Sales Order for F&B España S.A. and Region Norte warehouse
   Add 15 units of the previously created product to it
   Complete it
   Manage Reservation and reserve 10 units from Region Norte warehouse
   Generate Picking List and check that just the 10 units have been taken from Region Nortewarehouse. Notice a message is also shown:
"Picking List created successfully
PL338
There is not enough stock in warehouses to create the whole Picking List. : [PL338]"

   Process the picking list
   Check a goods shipment for Region Norte warehouse has been created with a storage bin of Region Norte.
(0108857)
Sandrahuguet (developer)
2019-01-08 16:08

Expected behavior, picking process takes the on-hand warehouses of the order header.
The behavior is homogeneous in manage reservation and picking list.

Workaround:
Set in the reservation the warehouse desired.

As group admin role:
   Apply module's dataset
   Set the Enable Stock Reservations preference to Y
   Log out and log in

   Create a new product in F&B España, S.A.
   Add Region Norte and Region Sur warehouses as on hand warehouses to F&B España, S.A. organization
   Create a goods receipt in Region Norte warehouse, add 10 units of the previously created product and complete it
   Create a goods receipt in Region Sur warehouse, add 10 units of the previously created product and complete it
   Create a Sales Order for F&B España S.A. and Region Norte warehouse
   Add 15 units of the previously created product to it
   Complete it
   Manage Reservation and reserve 10 units from Region Norte warehouse
   Navigate to Stock Reservation and set Region Norte warehouse
   Generate Picking List check that just the 10 units have been taken from Region Norte warehouse.
   Notice a message is also shown:
   Picking List created successfully
   There is not enough stock in warehouses to create the whole Picking List
(0108858)
ngarcia (developer)
2019-01-08 16:27

Picking list was designed to get the stock for the order's warehouse. Creating a goods shipment with Region Norte warehouse and Region Sur storage bin is wrong
(0108868)
hgbot (developer)
2019-01-09 13:17

Repository: erp/pmods/org.openbravo.warehouse.pickinglist
Changeset: af2a4819feded0c77a6a73f5e11d78c4cfcfa023
Author: Sandra Huguet <sandra.huguet <at> openbravo.com >
Date: Wed Jan 09 15:38:06 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/af2a4819feded0c77a6a73f5e11d78c4cfcfa023 [^]

Fixes Issue 39820: Picking list is created with stock from a warehouse
different than the order's warehouse if reservation without warehouse
exists

Before getting unclosed reservation from orderline, set orderline
warehouse to it.

---
M src/org/openbravo/warehouse/pickinglist/Utilities.java
---
(0108869)
Sandrahuguet (developer)
2019-01-09 13:19

code review + testing OK

- Issue History
Date Modified Username Field Change
2018-12-17 13:51 ngarcia New Issue
2018-12-17 13:51 ngarcia Assigned To => Triage Finance
2018-12-17 13:51 ngarcia Issue Monitored: networkb
2018-12-17 13:51 ngarcia Relationship added related to 0035281
2018-12-17 13:52 ngarcia Resolution time => 1546815600
2018-12-17 16:57 Sandrahuguet Assigned To Triage Finance => AtulOpenbravo
2018-12-18 10:16 Practics Issue Monitored: Practics
2018-12-27 12:38 Sandrahuguet Assigned To AtulOpenbravo => markmm82
2018-12-27 17:31 markmm82 Status new => scheduled
2019-01-02 17:22 markmm82 Note Added: 0108788
2019-01-08 16:08 Sandrahuguet Review Assigned To => Sandrahuguet
2019-01-08 16:08 Sandrahuguet Note Added: 0108857
2019-01-08 16:08 Sandrahuguet Status scheduled => closed
2019-01-08 16:08 Sandrahuguet Resolution open => no change required
2019-01-08 16:27 ngarcia Note Added: 0108858
2019-01-08 16:27 ngarcia Status closed => new
2019-01-08 16:27 ngarcia Resolution no change required => open
2019-01-08 17:32 Sandrahuguet Assigned To markmm82 => Triage Finance
2019-01-08 18:05 Sandrahuguet Assigned To Triage Finance => markmm82
2019-01-09 08:20 Sandrahuguet Assigned To markmm82 => AtulOpenbravo
2019-01-09 08:46 AtulOpenbravo Status new => scheduled
2019-01-09 13:17 hgbot Checkin
2019-01-09 13:17 hgbot Note Added: 0108868
2019-01-09 13:17 hgbot Status scheduled => resolved
2019-01-09 13:17 hgbot Resolution open => fixed
2019-01-09 13:17 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/af2a4819feded0c77a6a73f5e11d78c4cfcfa023 [^]
2019-01-09 13:19 Sandrahuguet Note Added: 0108869
2019-01-09 13:19 Sandrahuguet Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker