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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022913
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2013-01-28 16:202013-03-02 05:48
ReporterngarciaView Statuspublic 
Assigned Tojecharri 
PriorityurgentResolutionfixedFixed in Version3.0MP21
StatusclosedFix in branchFixed in SCM revision38be060bff04
ProjectionnoneETAnoneTarget Version3.0MP21
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tongarcia
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022913: Second UOM not shown when creating a receipt from an order that has been partially received

DescriptionSecond UOM not shown when creating a receipt from an order that has been partially received
Steps To ReproduceAs system admin role:
   Activate the following tabs:
      Product - UOM
      Unit of Measure - Conversion
   and display at least the following fields:
      Purchase Order - Lines - Order Quantity
      Purchase Order - Lines - Order UOM
      Goods shipment - Lines - Order Quantity
      Goods shipment - Lines - Order UOM
As group admin role:
   Create a new product
   Define a purchase price list to it
   Configure a second unit of measure in the UOM tab
   Configure the conversion between the 1st and 2nd UOM in the Unit of Measure window
   Create a Sales Order and include a line with the product (fill the Order UOM and Order Quantity fields)
   Book it
   Create a Goods Receipt from it (Create Lines From)
   In the pop-up decrease the Order Quantity (2nd UOM)
   Complete it
   Create a new receipt from the same order
   Notice that the 2nd UOM field is empty
Proposed SolutionIn CreateFrom_Shipment_data.xsql selectFromPO function, the secQty value is obtained using the c_uom_convert function

C_UOM_CONVERT(SUM(COALESCE(m.Qty,0)), l.C_UOM_ID, l.M_PRODUCT_UOM_ID, 'Y')

It takes as third attribute the m_product_uom_id column of the c_orderline table instead of the c_uom_id column of the m_product_uom table with the m_product_uom_id value.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0032937 closedmarkmm82 Wrong parameter is passed to the c_uom_convert function 

-  Notes
(0056689)
hgbot (developer)
2013-02-21 17:03

Repository: erp/devel/pi
Changeset: 38be060bff04759de483f42df3efd769c0e2bb0e
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Mar 01 17:01:40 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/38be060bff04759de483f42df3efd769c0e2bb0e [^]

Fixes issue 22913: Second UOM not shown when
creating a receipt from an order that has been partially received

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0056718)
hudsonbot (developer)
2013-02-22 07:57

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/b99c43bfb674 [^]

Maturity status: Test
(0056756)
ngarcia (developer)
2013-02-26 09:36

The steps o reproduce have an error:

You should create a purchase order, not a sales order
(0056761)
hgbot (developer)
2013-02-26 10:01

Repository: erp/devel/pi
Changeset: 059d60b862a4a8eb94e3fdeed120bcb23dd7f39a
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 26 09:36:29 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/059d60b862a4a8eb94e3fdeed120bcb23dd7f39a [^]

issue 22913: Second UOM not shown when
creating a receipt from an order that has been partially received

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment_data.xsql
---
(0056765)
ngarcia (developer)
2013-02-26 12:16

verified
(0056913)
hudsonbot (developer)
2013-03-02 05:48

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/f5db629e7058 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-01-28 16:20 ngarcia New Issue
2013-01-28 16:20 ngarcia Assigned To => dmiguelez
2013-01-28 16:20 ngarcia Modules => Core
2013-01-28 16:20 ngarcia Triggers an Emergency Pack => No
2013-01-30 10:16 jonalegriaesarte Target Version => 3.0MP21
2013-01-31 09:02 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2013-02-21 02:21 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2013-02-21 17:03 hgbot Checkin
2013-02-21 17:03 hgbot Note Added: 0056689
2013-02-21 17:03 hgbot Status new => resolved
2013-02-21 17:03 hgbot Resolution open => fixed
2013-02-21 17:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/38be060bff04759de483f42df3efd769c0e2bb0e [^]
2013-02-22 07:57 hudsonbot Checkin
2013-02-22 07:57 hudsonbot Note Added: 0056718
2013-02-26 09:36 ngarcia Note Added: 0056756
2013-02-26 10:01 hgbot Checkin
2013-02-26 10:01 hgbot Note Added: 0056761
2013-02-26 12:16 ngarcia Review Assigned To => ngarcia
2013-02-26 12:16 ngarcia Note Added: 0056765
2013-02-26 12:16 ngarcia Status resolved => closed
2013-02-26 12:16 ngarcia Fixed in Version => 3.0MP21
2013-03-02 05:48 hudsonbot Checkin
2013-03-02 05:48 hudsonbot Note Added: 0056913
2016-05-11 19:06 ngarcia Relationship added related to 0032937


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker