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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027361
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2014-08-18 16:312014-12-30 23:25
ReporterVictorVillarView Statuspublic 
Assigned Toreinaldoguerra 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision331b598e6c62
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027361: Bill of Material production should change the way that populate the storage bin

DescriptionBill of Material production should change the way that populate the storage bin
Steps To ReproduceAs group admin role,
Go to Warehouse and Storage bin window,
 select Región Norte storage bin as default (RN 1-0-0)
log out and log in.

Go to Bill Of Material Production window.
  Create a new register for Organization España Región Sur
 Navigate to Production PLan tab
   realise that the storage bin is populated automatically


Please check how the query takes the storage bin in

function fillSessionArguments() in LoginUtils.java:

      if (ds != null && ds.length > 0) {
        for (int i = 0; i < ds.length; i++) {
          String value = DefaultValuesData.select(conn, ds[i].columnname, ds[i].tablename,
              Utility.getContext(conn, vars, "#User_Client", "LoginHandler"),
              Utility.getContext(conn, vars, "#User_Org", "LoginHandler"));
          if (ds[i].tablename.equals("C_DocType"))
            vars.setSessionValue("#C_DocTypeTarget_ID", value);
          vars.setSessionValue("#" + ds[i].columnname, value);
        }
      }
Proposed SolutionThis is wrong, the storage bin should be the one define as Default for the organization in the header of any document.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071412)
reinaldoguerra (developer)
2014-11-05 02:33

Test plan used:
1- Login into Openbravo ERP
2- Go to Warehouse and Storage bin window
3- Select a Region Norte warehouse and then go to storage bin lines
4- Check RN 1-0-0 default flag.
5- Log out and log in
6- Go to Bill Of Material Production window
7- Create a new register for Organization España Región Sur
8- Navigate to Production PLan tab
9- Create a new one and realise that the storage bin is populated depending on selected organization in the header.
10- Now go to Warehouse and Storage bin window again
11- Select a España Región Sur warehouse and then go again to storage bin lines
12- Check RS 2-0-0 default flag.
13- Go to Bill Of Material Production window and select previous created record
14- Navigate to Production PLan tab
15- Create a new one and realise that the storage bin selected is RS 2-0-0 which is defined as default for organization's warehouse.
(0071797)
hgbot (developer)
2014-11-19 07:29

Repository: erp/devel/pi
Changeset: 331b598e6c620bc47f2e15380b06dea7e75e7018
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Tue Nov 04 15:15:12 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/331b598e6c620bc47f2e15380b06dea7e75e7018 [^]

Fixed bug 27361: BOM production should change how to populates the storage bin.

Default value logic for storage bin column in Production PLan tab of Bill Of Material Production window, was changed to set the storage bin value depending on header organization's warehouse.
Storage bins defined as default have priority so when new Production Plan is created, the default storage bin for organization's warehouse is shown.

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0071799)
pramakrishnan (developer)
2014-11-19 07:33

Code Review + Testing - OK.
(0073082)
hudsonbot (developer)
2014-12-30 23:25

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/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-08-18 16:31 VictorVillar New Issue
2014-08-18 16:31 VictorVillar Assigned To => jonalegriaesarte
2014-08-18 16:31 VictorVillar Modules => Core
2014-08-18 16:31 VictorVillar Triggers an Emergency Pack => No
2014-08-18 16:32 VictorVillar Issue Monitored: networkb
2014-09-08 11:45 VictorVillar Note Added: 0070008
2014-09-08 11:46 VictorVillar Proposed Solution updated
2014-09-08 11:58 VictorVillar Note Deleted: 0070008
2014-10-02 11:03 jonalegriaesarte Assigned To jonalegriaesarte => AtulOpenbravo
2014-10-02 11:03 jonalegriaesarte Resolution time => 1413324000
2014-10-02 11:03 jonalegriaesarte Target Version 3.0PR14Q4 => 3.0PR15Q1
2014-11-03 22:56 reinaldoguerra Assigned To AtulOpenbravo => reinaldoguerra
2014-11-03 22:56 reinaldoguerra Status new => scheduled
2014-11-05 02:33 reinaldoguerra Note Added: 0071412
2014-11-19 07:29 hgbot Checkin
2014-11-19 07:29 hgbot Note Added: 0071797
2014-11-19 07:29 hgbot Status scheduled => resolved
2014-11-19 07:29 hgbot Resolution open => fixed
2014-11-19 07:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/331b598e6c620bc47f2e15380b06dea7e75e7018 [^]
2014-11-19 07:33 pramakrishnan Review Assigned To => pramakrishnan
2014-11-19 07:33 pramakrishnan Note Added: 0071799
2014-11-19 07:33 pramakrishnan Status resolved => closed
2014-12-30 23:25 hudsonbot Checkin
2014-12-30 23:25 hudsonbot Note Added: 0073082


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker