Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033387Openbravo ERP07. Sales managementpublic2016-06-29 22:062016-07-01 09:34
rbianchini 
Sanjota 
highmajorsometimes
closedfixed 
5
3.0PR16Q1.3 
3.0PR16Q2.13.0PR16Q2.1 
aferraz
Core
Production - Confirmed Stable
2015-10-28
3.0PR16Q1.3
https://code.openbravo.com/erp/devel/pi/rev/e1c26dc9a819 [^]
No
0033387: 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.0PR16Q2.1
2016-06-30 12:52aferrazAssigned ToTriage Finance => Sanjota
2016-06-30 19:09SanjotaNote Added: 0088117
2016-07-01 09:21hgbotCheckin
2016-07-01 09:21hgbotNote Added: 0088125
2016-07-01 09:21hgbotStatusscheduled => resolved
2016-07-01 09:21hgbotResolutionopen => fixed
2016-07-01 09:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/ac1a6ff5c202adf596d0a18c33f69f0cd9d3b3c9 [^]
2016-07-01 09:34aferrazReview Assigned To => aferraz
2016-07-01 09:34aferrazNote Added: 0088129
2016-07-01 09:34aferrazStatusresolved => closed
2016-07-01 09:34aferrazFixed in Version => 3.0PR16Q2.1

Notes
(0088117)
Sanjota   
2016-06-30 19:09   
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.
(0088125)
hgbot   
2016-07-01 09:21   
Repository: erp/backports/3.0PR16Q2.1
Changeset: ac1a6ff5c202adf596d0a18c33f69f0cd9d3b3c9
Author: Sanjota <sanjota.nelagi <at> promantia.com>
Date: Thu Jun 30 18:04:33 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.1/rev/ac1a6ff5c202adf596d0a18c33f69f0cd9d3b3c9 [^]

Fixes issue 33387: 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
---
(0088129)
aferraz   
2016-07-01 09:34   
Code review + Testing OK