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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033382
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajorsometimes2016-06-29 22:062018-02-22 17:21
ReporterrbianchiniView Statuspublic 
Assigned ToSanjota 
PriorityhighResolutionfixedFixed in Version3.0PR16Q4
StatusclosedFix in branchFixed in SCM revision2abf88eb9008
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0PR16Q1.3SCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2015-10-28
Regression introduced in release3.0PR16Q1.3
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/e1c26dc9a819 [^]
Triggers an Emergency PackNo
Summary

0033382: Wrong Storage Bin in Goods Receipt Lines

DescriptionIn 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
Steps To Reproduce1 - 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


Steps to Reproduce with F & B Internation Group Admin Role:
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 there is no default value means it's blank.

Note: It should show newly created "NewTestBin" in Storage Bin field.
Proposed SolutionReview why the default value OnHandLocatorDefault is not executing, since if you execute the OnHandLocatorDefault's query, it returns the correct value
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00333873.0PR16Q2.1 closedSanjota Wrong Storage Bin in Goods Receipt Lines 
depends on backport 00333883.0PR16Q1.4 closedSanjota Wrong Storage Bin in Goods Receipt Lines 
depends on backport 00334023.0PR16Q3 closedSanjota Wrong Storage Bin in Goods Receipt Lines 
caused by defect 00311763.0PR16Q1 closeddmiguelez it is possible to select wrong storage bins in the goods shipment lines 
related to defect 0034483 closedvmromanos Mark Incoming/Outgoing shipment windows as not supported 

-  Notes
(0088116)
Sanjota (developer)
2016-06-30 19:09
edited on: 2016-07-01 10:54

Test Plan:
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 WVS/001 0-0-0 not CMS/001 0-0-0.




Another Test Plan:
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.

(0088127)
hgbot (developer)
2016-07-01 09:24

Repository: erp/devel/pi
Changeset: 2abf88eb9008e6368a7464074b1f15903dd6ff18
Author: Sanjota <sanjota.nelagi <at> promantia.com>
Date: Thu Jun 30 18:04:33 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2abf88eb9008e6368a7464074b1f15903dd6ff18 [^]

Fixes issue 33382: 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
---
(0088128)
aferraz (manager)
2016-07-01 09:26

Code review + Testing OK
(0088978)
hudsonbot (developer)
2016-08-11 18:40

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/edaa05b1fb18 [^]
Maturity status: Test
(0102605)
hgbot (developer)
2018-02-22 17:21

Repository: tools/automation/int
Changeset: cc1d31e2ef07a1dc6373baa9b0a2c864a41b08b1
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Oct 18 14:03:06 2016 -0400
URL: http://code.openbravo.com/tools/automation/int/rev/cc1d31e2ef07a1dc6373baa9b0a2c864a41b08b1 [^]

Related to issue 33382: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/data/warehouse/setup/warehouseandstoragebins/StorageBinData.java
M src-test/com/openbravo/test/integration/erp/data/warehouse/setup/warehouseandstoragebins/WarehouseData.java
M src-test/com/openbravo/test/integration/erp/gui/general/enterprise/organization/OrganizationTab.java
M src-test/com/openbravo/test/integration/erp/gui/popups/AddressSelectorPopUp.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/procurement/testsuites/PRO_Regressions/PRO_RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/procurement/testsuites/PRO_Regressions/build.xml
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/sales/testsuites/SAL_Regressions/SAL_RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/sales/testsuites/SAL_Regressions/build.xml
M src-test/com/openbravo/test/integration/erp/testscripts/generalsetup/enterprise/Organization.java
A src-test/com/openbravo/test/integration/erp/gui/general/enterprise/organization/WarehouseTab.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/procurement/testsuites/PRO_Regressions/PRORegression33382.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/sales/testsuites/SAL_Regressions/SALRegression33382.java
---

- Issue History
Date Modified Username Field Change
2016-06-29 22:06 rbianchini New Issue
2016-06-29 22:06 rbianchini Assigned To => Triage Finance
2016-06-29 22:06 rbianchini Modules => Core
2016-06-29 22:06 rbianchini Resolution time => 1467774000
2016-06-29 22:06 rbianchini Regression level => Production - Confirmed Stable
2016-06-29 22:06 rbianchini Regression introduced in release => 3.0PR16Q1.3
2016-06-29 22:06 rbianchini Triggers an Emergency Pack => No
2016-06-30 12:51 aferraz Resolution time 1467774000 => 1467756000
2016-06-30 12:51 aferraz Regression date => 2015-10-28
2016-06-30 12:51 aferraz Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/e1c26dc9a819 [^]
2016-06-30 12:51 aferraz Relationship added caused by 0031176
2016-06-30 12:52 aferraz Status new => scheduled
2016-06-30 12:52 aferraz Assigned To Triage Finance => Sanjota
2016-06-30 17:10 Sanjota Steps to Reproduce Updated View Revisions
2016-06-30 19:09 Sanjota Note Added: 0088116
2016-07-01 08:53 aferraz Status scheduled => feedback
2016-07-01 08:53 aferraz Status feedback => scheduled
2016-07-01 09:24 hgbot Checkin
2016-07-01 09:24 hgbot Note Added: 0088127
2016-07-01 09:24 hgbot Status scheduled => resolved
2016-07-01 09:24 hgbot Resolution open => fixed
2016-07-01 09:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2abf88eb9008e6368a7464074b1f15903dd6ff18 [^]
2016-07-01 09:26 aferraz Review Assigned To => aferraz
2016-07-01 09:26 aferraz Note Added: 0088128
2016-07-01 09:26 aferraz Status resolved => closed
2016-07-01 09:26 aferraz Fixed in Version => 3.0PR16Q4
2016-07-01 10:54 Sanjota Note Edited: 0088116 View Revisions
2016-08-11 18:40 hudsonbot Checkin
2016-08-11 18:40 hudsonbot Note Added: 0088978
2016-11-14 10:13 vmromanos Relationship added related to 0034483
2018-02-22 17:21 hgbot Checkin
2018-02-22 17:21 hgbot Note Added: 0102605


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker