Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033388Openbravo ERP07. Sales managementpublic2016-06-29 22:062016-07-01 09:35
rbianchini 
Sanjota 
highmajorsometimes
closedfixed 
5
3.0PR16Q1.3 
3.0PR16Q1.43.0PR16Q1.4 
aferraz
Core
Production - Confirmed Stable
2015-10-28
3.0PR16Q1.3
https://code.openbravo.com/erp/devel/pi/rev/e1c26dc9a819 [^]
No
0033388: Wrong Storage Bin in Goods Receipt Lines
In some cases, when you create a goods receipt line the storage bin's defaul value don't belongs to the warehouse defined in the header.
It works fine in 15Q4.6 but don't in 16Q1.3 or 16Q2
1 - Log in ERP as Openbravo with the following configuration:
Role: The White Valley Group Admin
Client: The White Valley Group
Organization: Vall Blanca Store
Warehouse: Vall Blanca Store Warehouse

2 - Open the Goods Receipt window and create a new header (in form view) as follows:
Organization: Vall Blanca Store
Document Type: Spain MM Receipt
Warehouse: White Valley Spain Distribution Center
BP: Mountains and Snow S.L

3 - Save the header and create a new line in form view
4A - In 15Q4.6 The storage bin loaded as default is WVS/001 0-0-0 --> OK
4B - In 16Q1.3 and 16Q2 The storage bin loaded as default is CMS/001 0-0-0. The storage bin is wrong since it don't belongs to the White Valley Spain Distribution Center warehouse defined in the header
Review why the default value OnHandLocatorDefault is not executing, since if you execute the OnHandLocatorDefault's query, it returns the correct value
No tags attached.
blocks defect 0033382 closed Sanjota Wrong Storage Bin in Goods Receipt Lines 
Issue History
2016-06-30 12:52aferrazTypedefect => backport
2016-06-30 12:52aferrazTarget Version => 3.0PR16Q1.4
2016-06-30 12:52aferrazAssigned ToTriage Finance => Sanjota
2016-06-30 19:10SanjotaNote Added: 0088118
2016-07-01 09:09hgbotCheckin
2016-07-01 09:09hgbotNote Added: 0088124
2016-07-01 09:09hgbotStatusscheduled => resolved
2016-07-01 09:09hgbotResolutionopen => fixed
2016-07-01 09:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1.4/rev/803dc1306beec133f6dde9bb314e8a8e726562ba [^]
2016-07-01 09:35aferrazReview Assigned To => aferraz
2016-07-01 09:35aferrazNote Added: 0088130
2016-07-01 09:35aferrazStatusresolved => closed
2016-07-01 09:35aferrazFixed in Version => 3.0PR16Q1.4

Notes
(0088118)
Sanjota   
2016-06-30 19:10   
1 - Log in ERP as Openbravo with the following configuration:
Role: F & B International group Admin
Client: F & B International group

2. - Open Warehouse and Storage bin:
--Create New Warehouse :
Organization : "F&B España, S.A"
Name : "Test"
Search Key : "Test"
Save
--Create Storage bin Under newly created warehouse "Test"
Search Key : "NewTestBin"

3 - Open the Goods Receipt window and create a new header (in form view) as follows:
Organization: "F&B España - Región Norte"
Warehouse: "Test"

4 - Save the header and create a new line in form view
Check that in Storage Bin field default value will be "NewTestBin".


Also includes test plan of 31176.
(0088124)
hgbot   
2016-07-01 09:09   
Repository: erp/backports/3.0PR16Q1.4
Changeset: 803dc1306beec133f6dde9bb314e8a8e726562ba
Author: Sanjota <sanjota.nelagi <at> promantia.com>
Date: Thu Jun 30 18:04:33 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.4/rev/803dc1306beec133f6dde9bb314e8a8e726562ba [^]

Fixes issue 33388: Wrong Storage Bin in Goods Receipt Lines

In some cases, when you create a goods receipt line the storage bin's defaul value don't belongs to the warehouse defined in the header.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
---
(0088130)
aferraz   
2016-07-01 09:35   
Code review + Testing OK