Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017380Openbravo ERP03. Procurement managementpublic2011-05-26 14:372011-06-13 18:28
adrianromero 
dalsasua 
urgentmajoralways
closedfixed 
5
3.0RC7 
3.0MP0 
Core
No
0017380: Error in Create Lines From when working wit UOM defined as "Breakdown"
Error in Create Lines From with more than one line when working wit UOM defined as "Breakdown".

[Breakdown options works as follow:
* you define UOM defined as breakdown for one product
* you create purchase order for 8 unit of that product
* when creating goods receipt using "Create Lines from", instead of create one line with 8 units process create 8 lines with 1 unit each]
1. Go to Product Hat. Go to UOM tab and create new record for Bag unit.
2. Go to Master Data Management || Product Setup || Unit of Measure || Unit of Measure for Bag: set it as "Breakdown" and define Conversion To Unit with any rate
3. Go to Product Boots and define also UOM for Bag
4. Go to Purchase Order. Create record for mcgiver
5. Add one line of 8 Hats and another line of 5 Boots. Complete order
6. Create Goods receipt header for mcgiver and press "Create Lines From" button
7. Select all lines using check-box "select all". Set warehouse and try to complete. You will obtain ProcessRunError

As additional information:
- if you choose only one line process finish successfully.
- if you uncheck "Breakdown" flag of Bag and select all lines in create lines from process finish successfully.
No tags attached.
blocks backport 00173682.50MP31 closed adrianromero Error in Create Lines From when working wit UOM defined as "Breakdown" 
Issue History
2011-05-26 14:37adrianromeroNew Issue
2011-05-26 14:37adrianromeroAssigned To => adrianromero
2011-05-26 14:37adrianromeroModules => Core
2011-05-26 14:37adrianromeroIssue generated from0017368
2011-05-26 14:37adrianromeroRelationship addedblocks 0017368
2011-05-26 14:38adrianromeroStatusnew => scheduled
2011-05-26 14:38adrianromerofix_in_branch => pi
2011-05-26 17:51hgbotCheckin
2011-05-26 17:51hgbotNote Added: 0037621
2011-05-26 17:51hgbotStatusscheduled => resolved
2011-05-26 17:51hgbotResolutionopen => fixed
2011-05-26 17:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/df2151172e5c42775e9893debf1df73741c60462 [^]
2011-05-26 18:20adrianromeroNote Added: 0037624
2011-05-31 09:44hudsonbotCheckin
2011-05-31 09:44hudsonbotNote Added: 0037776
2011-06-03 10:57dalsasuaAssigned Toadrianromero => dalsasua
2011-06-13 18:28jonalegriaesarteNote Added: 0038323
2011-06-13 18:28jonalegriaesarteStatusresolved => closed
2011-06-13 18:28jonalegriaesarteFixed in Version => 3.0MP0

Notes
(0037621)
hgbot   
2011-05-26 17:51   
Repository: erp/devel/pi
Changeset: df2151172e5c42775e9893debf1df73741c60462
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu May 26 17:49:57 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df2151172e5c42775e9893debf1df73741c60462 [^]

Fixes issue 0017380: Error in Create Lines From when working wit UOM defined as Breakdown
It has been fixed the wrong index used in dataUomIdConversion array

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
---
(0037624)
adrianromero   
2011-05-26 18:20   
*Steps to test

Kindly follow the steps to test and verify that no error is raised when creating lines from order.

Take into account that in 3.0 it is necesary to active:
* The UOM tab for Products
* The Breakdown field for UOMs
Also in 3.0 there not exist the same sample data but it can be used other sample data to reproduce it.

* Other areas affected

No other areas affected only the process that creates lines from orders in incoming shipments has been modified.
(0037776)
hudsonbot   
2011-05-31 09:44   
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/ea275e03a164 [^]

Maturity status: Test
(0038323)
jonalegriaesarte   
2011-06-13 18:28   
Verified