Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2013-01-15 09:192013-05-23 01:32
Reporterneil_smithView Statuspublic 
Assigned ToSandrahuguet 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionf2c228f99597
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0022800: Pending material receipt error with alternate UOM's

DescriptionWhen creating a material receipt through the 'Pending material receipt' form, if the product has alternate UOM's (defined in the UOM tab), in the receipt line, the quantity for the alternate UOM (M_INOUTLINE.QUANTITYORDER) contains the total quantity defined in the order, even if it the receipt is not for the total quantity of the order.
Steps To ReproduceCreate a product with a main UOM of '1000 units' and another UOM (in the UOM tab) of 'units' (with the conversion bewteen the 2 units).
Create a purchase order for this product of 20'000 units (20 '1000 units') and book it.
Go to the pending material receipt form and create a receipt for this order of 2 '1000 units'.
Check the material receipt, it created a line for 2 '1000 units', witch is right, but in the M_INOUTLINE.QUANTITYORDER column, it saved 10'000 units in stead of 2'000 units.
Proposed Solutionin the class, when calling the insert of the inout line (l. 326), you should not pass the dataLine[0].quantityorder parameter (witch contains the total quantity saved on the orderline), but calculate the quantity in the corresponding UOM according to the UOM conversion table.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2013-05-03 11:18

Repository: erp/devel/pi
Changeset: f2c228f9959794fee56a0bf19703f2eaae6298cc
Author: Sandra Huguet <sandra.huguet <at>>
Date: Thu May 02 15:42:24 2013 +0200
URL: [^]

Fixed bug 22800 set quantityorder value in pending good receipt
Set quantityorder value in pending good receipt when is used
alternate UOMs.

M src/org/openbravo/erpCommon/ad_forms/
dmiguelez (developer)
2013-05-03 11:39

Related to this Issue: [^]
dmiguelez (developer)
2013-05-03 13:51


The Issue is fixed now. But keep in mind that the alternative UOM's are an advanced feature, and are hidden by default.
Also, in the Pending Goods Receipt Window right now the alternative UOM's are not shown, so it is advisable that the user knows the conversion between UOM's when operating in this window.

dmiguelez (developer)
2013-05-03 13:51

Code Review + Testing Ok
hudsonbot (developer)
2013-05-23 01:32

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-01-15 09:19 neil_smith New Issue
2013-01-15 09:19 neil_smith Assigned To => dmiguelez
2013-01-15 09:19 neil_smith Modules => Core
2013-01-15 09:19 neil_smith Triggers an Emergency Pack => No
2013-05-02 08:59 Sandrahuguet Assigned To dmiguelez => Sandrahuguet
2013-05-02 15:46 Sandrahuguet Status new => scheduled
2013-05-02 15:46 Sandrahuguet fix_in_branch => pi
2013-05-03 11:18 hgbot Checkin
2013-05-03 11:18 hgbot Note Added: 0058453
2013-05-03 11:18 hgbot Status scheduled => resolved
2013-05-03 11:18 hgbot Resolution open => fixed
2013-05-03 11:18 hgbot Fixed in SCM revision => [^]
2013-05-03 11:39 dmiguelez Note Added: 0058454
2013-05-03 13:51 dmiguelez Note Added: 0058455
2013-05-03 13:51 dmiguelez Note Added: 0058456
2013-05-03 13:51 dmiguelez Status resolved => closed
2013-05-23 01:32 hudsonbot Checkin
2013-05-23 01:32 hudsonbot Note Added: 0058764

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker