Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017368Openbravo ERP03. Procurement managementpublic2011-05-26 11:162011-05-31 13:21
maite 
adrianromero 
urgentmajoralways
closedfixed 
5
2.50MP29 
2.50MP312.50MP31 
Core
No
0017368: 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.
depends on defect 0017380 closed dalsasua Error in Create Lines From when working wit UOM defined as "Breakdown" 
Issue History
2011-05-26 11:16maiteNew Issue
2011-05-26 11:16maiteAssigned To => adrianromero
2011-05-26 11:16maiteModules => Core
2011-05-26 11:17maiteIssue Monitored: networkb
2011-05-26 14:37adrianromeroStatusnew => scheduled
2011-05-26 14:37adrianromeroTypedefect => backport
2011-05-26 14:37adrianromeroIssue cloned0017380
2011-05-26 14:37adrianromeroRelationship addeddepends on 0017380
2011-05-30 13:21hgbotCheckin
2011-05-30 13:21hgbotNote Added: 0037724
2011-05-30 13:21hgbotStatusscheduled => resolved
2011-05-30 13:21hgbotResolutionopen => fixed
2011-05-30 13:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/ae161ef24390d20e82660b32ae88263d08767a7f [^]
2011-05-30 13:32adrianromeroNote Added: 0037730
2011-05-31 13:21maiteNote Added: 0037826
2011-05-31 13:21maiteStatusresolved => closed
2011-05-31 13:21maiteFixed in Version => 2.50MP31

Notes
(0037724)
hgbot   
2011-05-30 13:21   
Repository: erp/stable/2.50
Changeset: ae161ef24390d20e82660b32ae88263d08767a7f
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu May 26 17:38:06 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/ae161ef24390d20e82660b32ae88263d08767a7f [^]

Fixes issue 0017368: 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
---
(0037730)
adrianromero   
2011-05-30 13:32   
*Steps to test

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


* Other areas affected

No other areas affected only the process that creates lines from orders in incoming shipments has been modified.
(0037826)
maite   
2011-05-31 13:21   
verified