Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014513Openbravo ERP03. Procurement managementpublic2010-09-10 12:192011-01-17 12:31
networkb 
harikrishnan 
urgentmajoralways
closedno change required 
5
2.50MP21 
2.50MP22 
Core
No
0014513: Create Lines From Goods Receipt loads quantity of primary unit in both primary and secondary unit
If you have a complete PO with secondary uom and the you use "Create Lines From" in goods receipt window, you will see that quantity of primary uom and quantity of secondary uom are the same.
1. Master Data Management || Product Setup || Unit of Measure || Unit of Measure >> Conversion : define conversion from Unit to Bag. Multiple Rate by: 2
2. Procurement Management || Transactions || Purchase Order || Header : create order for Mcgiver and Beer. set 30 bags --> 15 unit. Complete.
3. Procurement Management || Transactions || Goods Receipt || Header : create record for Mcgiver and press "Create Lines From" button. Select previous Order.

Realize that grid shows:
15 Ud
15 Bag

(where it should be 15 Ud -- 30 Bag)
No tags attached.
related to backport 00156762.50MP27 closed dalsasua Create Lines From Goods Receipt should load quantities (main and secondary) directly from the order 
Issue History
2010-09-10 12:19networkbNew Issue
2010-09-10 12:19networkbAssigned To => adrianromero
2010-09-10 12:22networkbPriorityhigh => urgent
2010-09-10 12:22networkbSeverityminor => major
2010-09-10 12:24networkbTarget Version2.50MP23 => 2.50MP22
2010-09-13 11:17adrianromeroStatusnew => scheduled
2010-09-13 11:17adrianromerofix_in_branch => pi
2010-09-20 09:41harikrishnanAssigned Toadrianromero => harikrishnan
2010-09-20 09:42hgbotCheckin
2010-09-20 09:42hgbotNote Added: 0031212
2010-09-20 09:42hgbotStatusscheduled => resolved
2010-09-20 09:42hgbotResolutionopen => fixed
2010-09-20 09:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a4c4d0f0a33c4e0597d2ea9097baef04e98edbc6 [^]
2010-09-20 10:04harikrishnanNote Added: 0031214
2010-09-20 15:28hudsonbotCheckin
2010-09-20 15:28hudsonbotNote Added: 0031238
2010-09-23 13:47sureshbabuNote Added: 0031328
2010-09-24 11:07sureshbabuNote Added: 0031342
2010-09-24 11:07sureshbabuStatusresolved => closed
2010-09-25 00:00anonymoussf_bug_id0 => 3075152
2011-01-17 11:24maiteRelationship addedrelated to 0015676
2011-01-17 12:20hgbotCheckin
2011-01-17 12:20hgbotNote Added: 0033676
2011-01-17 12:24hgbotCheckin
2011-01-17 12:24hgbotNote Added: 0033677
2011-01-17 12:31adrianromeroNote Added: 0033679
2011-01-17 12:31adrianromeroResolutionfixed => no change required
2011-01-17 12:31adrianromerofix_in_branchpi =>

Notes
(0031212)
hgbot   
2010-09-20 09:42   
Repository: erp/devel/pi
Changeset: a4c4d0f0a33c4e0597d2ea9097baef04e98edbc6
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Sep 20 13:12:07 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a4c4d0f0a33c4e0597d2ea9097baef04e98edbc6 [^]

Fixes Issue 14513: Create Lines From Goods Receipt loads quantity of primary unit in both primary and secondary unit

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0031214)
harikrishnan   
2010-09-20 10:04   
Steps to test:

*Follow the steps given in the issue.

Root Cause:
*They are calculated the Secondary unit by dividing the multiple rate.Now this is calculated by divide rate.

Impact:
*This is used only in Goods Receipt.
(0031238)
hudsonbot   
2010-09-20 15:28   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a4c4d0f0a33c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2d835e4acd70 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18424.obx [^]
(0031328)
sureshbabu   
2010-09-23 13:47   
@hari still i am finding the same issue in livebuilds (Postgres pi) context
(0031342)
sureshbabu   
2010-09-24 11:07   
verified
(0033676)
hgbot   
2011-01-17 12:20   
Repository: erp/stable/2.50
Changeset: 2626c56070e12179e10f76b223831e4114abc7af
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jan 17 12:19:49 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/2626c56070e12179e10f76b223831e4114abc7af [^]

Issue 14513: Create Lines From Goods Receipt loads quantity of primary unit in both primary and secondary unit
Reverts changeset 8424 a4c4d0f0a33c

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0033677)
hgbot   
2011-01-17 12:24   
Repository: erp/devel/pi
Changeset: 8c73191b4b4044211bfe78a9baf345162c9ff701
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jan 17 12:23:39 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8c73191b4b4044211bfe78a9baf345162c9ff701 [^]

Issue 14513: Create Lines From Goods Receipt loads quantity of primary unit in both primary and secondary unit
Reverts changeset 8424 a4c4d0f0a33c

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0033679)
adrianromero   
2011-01-17 12:31   
The initial changed that fixed this issue has been removed because it obliges to create a new conversion from the secondary uom to the primary uom and this is not needed.

This issue as been reverted to work as it was working before: It is only needed the divide rate of the conversion of the primariy uom to the secondary uom.