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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024952
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2013-10-15 16:532013-10-29 18:32
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PriorityurgentResolutionfixedFixed in Version3.0MP29
StatusclosedFix in branchpiFixed in SCM revision3f0bc7b813d4
ProjectionnoneETAnoneTarget Version3.0MP29
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product VersionSCM revision 
Review Assigned Topsarobe
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024952: Error releasing reserve when shipping a different stock than reserved

DescriptionWhen it is shipped a reserved order, using a different stock than it has reserved. If the reservation release process has to reassign more than one order's reservations to reallocate the reserved stock. The delivered order reservation result in a wrong reserved quantity
Steps To Reproduce0 On a Reservations enabled environment (check and add the enable reservations preference if it does not exist)
1 Create a new Product Test.
2 Create a physical inventory to initialize the stock, 6 units in storage bin A and 6 units on storage bin B.
3. Create a sales order with 2 lines, each with 2 units on product test.
4. Book and reserve the order. Check that both lines reserve the stock from the same storage bin (f.e. storage bin A)
5. Create a new sales order add one line of 5 units of product test. Reserve the sales order with stock of the other storage bin (storage bin B)

At this moment the rservations are:
SO 1. line 1: 2 units in storage bin A
SO 1. line 2: 2 units in storage bin A
SO 2. line 1: 5 units in storage bin B

6. Create a shipment manually using the ''Create Lines from'' button for the second sales order. Choose the storage bin A.
7. Complete the shipment.

check the reservations status:

Current:
SO 1. line 1: 2 units in storage bin B
SO 1. line 2: 2 units in storage bin B
SO 2. line 1: '''6''' units in storage bin A (quantity and released qty are 5 but reserved quantity is 6)

Expected
SO 1. line 1: 2 units in storage bin B
SO 1. line 2: 1 units in storage bin A and 1 units in storage bin B
SO 2. line 1: 5 units in storage bin A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00249533.0MP29 closedgorkaion Error releasing reserve when shipping a order that is not completely reserved 

-  Notes
(0061683)
hgbot (developer)
2013-10-15 17:00

Repository: erp/devel/pi
Changeset: 3f0bc7b813d49f8820bc3c2e20d61e99a7d9ded8
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Oct 15 16:58:40 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3f0bc7b813d49f8820bc3c2e20d61e99a7d9ded8 [^]

Fixed issue 24952.Fixed issue 24953. Fixed issues reallocating reserved stock.

---
M src-db/database/model/functions/M_RESERVATION_CONSUMPTION.xml
M src-db/database/model/functions/M_RESERVATION_REALLOCATE.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0061756)
hudsonbot (developer)
2013-10-16 19:47

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/51315988909a [^]

Maturity status: Test
(0061952)
psarobe (manager)
2013-10-29 18:32

Works fine now

- Issue History
Date Modified Username Field Change
2013-10-15 16:53 gorkaion New Issue
2013-10-15 16:53 gorkaion Assigned To => gorkaion
2013-10-15 16:53 gorkaion Modules => Core
2013-10-15 16:53 gorkaion Triggers an Emergency Pack => No
2013-10-15 16:56 gorkaion Issue cloned 0024953
2013-10-15 16:56 gorkaion Relationship added related to 0024953
2013-10-15 17:00 hgbot Checkin
2013-10-15 17:00 hgbot Note Added: 0061683
2013-10-15 17:00 hgbot Status new => resolved
2013-10-15 17:00 hgbot Resolution open => fixed
2013-10-15 17:00 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3f0bc7b813d49f8820bc3c2e20d61e99a7d9ded8 [^]
2013-10-15 17:01 gorkaion Status resolved => new
2013-10-15 17:01 gorkaion Resolution fixed => open
2013-10-15 17:01 gorkaion Review Assigned To => psarobe
2013-10-15 17:01 gorkaion Status new => scheduled
2013-10-15 17:01 gorkaion fix_in_branch => pi
2013-10-15 17:01 gorkaion Status scheduled => resolved
2013-10-15 17:01 gorkaion Fixed in Version => 3.0MP29
2013-10-15 17:01 gorkaion Resolution open => fixed
2013-10-16 19:47 hudsonbot Checkin
2013-10-16 19:47 hudsonbot Note Added: 0061756
2013-10-29 18:32 psarobe Note Added: 0061952
2013-10-29 18:32 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker