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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015610
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 06. Material requirement planning (MRP)minoralways2011-01-11 13:072011-05-24 10:57
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6ecc5c12a66b
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version3.0RC3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015610: Work Requirement: Rounding issue for Quantity field for WR created by MRP

DescriptionSee other issue 0010612 that was closed for administration reasons.

Work requirements created through manufacturing plan are rounded op 1/1000. 62 pieces will be shown as 62.001. The rounding accuracy in the product master for the UoM is set to 0.
Steps To Reproduce1. Create two product masters for a finished product and a bought-in component. The finished product has a planning type that consists of all MRP elements and the Unit of Measure is of a type with a standard precision of 0.

2. Set up process plan for a finished product that contains at least 1 component.

3. Create a sales order or forecast for the finished product.

4. Run the manufacturing plan.

5. Create the work requirements from the manufacturing plan window.

6. Go to the window Production requirement in the Production menu and check the qty in the header of the newly created work requirement. The qty is round up 1/1000.

See atthached screenprint.

Proposed SolutionGet rid of the 1/1000 rounding. Make sure precision is in line with precision of UoM in product master.
TagsclosingMay2011
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks backport 00112482.50MP25 closedadrianromero Work Requirement: Rounding issue for Quantity field for WR created by MRP 

-  Notes
(0033700)
hgbot (developer)
2011-01-17 18:30

Repository: erp/devel/pi
Changeset: a26534e5699c2568f983f71cb6c4a1a1cadf3322
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jan 17 18:29:44 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a26534e5699c2568f983f71cb6c4a1a1cadf3322 [^]

Fixes issue 0015610: Work Requirement: Rounding issue for Quantity field for WR created by MRP
It has been removed the fixed rouding to 3 decimals and added as rounding parameter the standard precision of the product UOM

---
M src-db/database/model/functions/MRP_WORKREQUIREMENT.xml
---
(0033702)
adrianromero (manager)
2011-01-17 18:36

* Testing the issue

Following the example http://wiki.openbravo.com/wiki/How-to_MRP#MRP:_A_second_example [^] Verify that the quantity of the Work Requirement generated is 150 and not 150.001 (ie rounded to 0 decimals that is the standard precision for the Unit UOM)

* Other areas affected

No other areas affected. It has been modified only the process of generating work requirements in the Manufacturing plan window.
(0033807)
hgbot (developer)
2011-01-21 12:15

Repository: erp/devel/pi
Changeset: 6ecc5c12a66b9eb2a5bada7bdd3047875a101140
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jan 21 12:14:09 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6ecc5c12a66b9eb2a5bada7bdd3047875a101140 [^]

Fixes issue 15610: Work Requirement: Rounding issue for Quantity field for WR created by MRP
It has been fixed the way of calculating the planned quantity value to match the especifications of a work requirement. The planned quantity is an integer value that describes the minimum number of times required to build at least the number of products in the Manufacturing Plan

---
M src-db/database/model/functions/MRP_WORKREQUIREMENT.xml
---

- Issue History
Date Modified Username Field Change
2011-01-11 13:07 adrianromero New Issue
2011-01-11 13:07 adrianromero Assigned To => adrianromero
2011-01-11 13:07 adrianromero Modules => Core
2011-01-11 13:07 adrianromero Issue generated from 0011248
2011-01-11 13:07 adrianromero Relationship added blocks 0011248
2011-01-11 13:07 adrianromero Status new => scheduled
2011-01-11 13:07 adrianromero fix_in_branch => pi
2011-01-17 18:30 hgbot Checkin
2011-01-17 18:30 hgbot Note Added: 0033700
2011-01-17 18:30 hgbot Status scheduled => resolved
2011-01-17 18:30 hgbot Resolution open => fixed
2011-01-17 18:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a26534e5699c2568f983f71cb6c4a1a1cadf3322 [^]
2011-01-17 18:36 adrianromero Note Added: 0033702
2011-01-21 12:15 hgbot Checkin
2011-01-21 12:15 hgbot Note Added: 0033807
2011-01-21 12:15 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a26534e5699c2568f983f71cb6c4a1a1cadf3322 [^] => http://code.openbravo.com/erp/devel/pi/rev/6ecc5c12a66b9eb2a5bada7bdd3047875a101140 [^]
2011-05-24 10:03 dalsasua Tag Attached: closingMay2011
2011-05-24 10:57 dalsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker