Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027361 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2014-08-18 16:31 | 2014-12-30 23:25 | |||
Reporter | VictorVillar | View Status | public | |||||
Assigned To | reinaldoguerra | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 331b598e6c62 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | pramakrishnan | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 30316 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027361: Bill of Material production should change the way that populate the storage bin | |||||||
Description | Bill of Material production should change the way that populate the storage bin | |||||||
Steps To Reproduce | As 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 Solution | This is wrong, the storage bin should be the one define as Default for the organization in the header of any document. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0071412) reinaldoguerra (viewer) 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 (viewer) 2014-11-19 07:33 |
Code Review + Testing - OK. |
(0073082) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => No |
2014-08-18 16:31 | VictorVillar | Modules | => Core |
2014-08-18 16:31 | VictorVillar | Support ticket | => 30316 |
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 | OBNetwork customer | No => Yes |
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 |