Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028914Openbravo ERP05. Production managementpublic2015-02-11 12:392015-02-23 05:11
VictorVillar 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
pi 
3.0PR15Q2 
Sandrahuguet
Core
Production - QA Approved
3.0PR14Q3
https://code.openbravo.com/erp/devel/pi/rev/6ec5a7961a6015619024062222846fc67fcbf45f [^]
Yes
0028914: Should be an option to use the UOM Standard precision for production or not
Should be an option to use the UOM Standard precision for production or not
After this fix: https://issues.openbravo.com/view.php?id=26480 [^]

for example for produce 1 Stick Choco requires 0.00024 doz Butter Anchor Salted(based on the process plan/work requirement), but in a production run, to produce 2,560 Stick Chocos require 1 doz, it should be
2,560*0.00024=0.6144
Reason: the Standard qty is 0.

Should be an option to the customers to use the new option or not.

Also should be a script to fix the data: stock and cost values.
No tags attached.
related to defect 00264803.0PR14Q3 closed AtulOpenbravo Quantity should be rounded when creating a work effort from a work requirement operation set as create standards 
related to design defect 0022988 new Triage Omni OMS Qty proposed is not taking into account the Standard Precision of its Unit of Measure 
Issue History
2015-02-11 12:39VictorVillarNew Issue
2015-02-11 12:39VictorVillarAssigned To => Sandrahuguet
2015-02-11 12:39VictorVillarModules => Core
2015-02-11 12:39VictorVillarResolution time => 1423868400
2015-02-11 12:39VictorVillarRegression level => Production - QA Approved
2015-02-11 12:39VictorVillarRegression introduced in release => 3.0PR14Q3
2015-02-11 12:39VictorVillarRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/6ec5a7961a6015619024062222846fc67fcbf45f [^]
2015-02-11 12:39VictorVillarTriggers an Emergency Pack => No
2015-02-11 12:39VictorVillarTriggers an Emergency PackNo => Yes
2015-02-11 12:40VictorVillarRelationship addedrelated to 0026480
2015-02-11 12:40VictorVillarRelationship addedrelated to 0022988
2015-02-11 12:42VictorVillarProposed Solution updated
2015-02-11 12:43VictorVillarIssue Monitored: networkb
2015-02-11 15:29SandrahuguetAssigned ToSandrahuguet => AtulOpenbravo
2015-02-12 03:16AtulOpenbravoStatusnew => scheduled
2015-02-12 03:16AtulOpenbravofix_in_branch => pi
2015-02-17 12:54AtulOpenbravoNote Added: 0074550
2015-02-17 18:14hgbotCheckin
2015-02-17 18:14hgbotNote Added: 0074568
2015-02-17 18:14hgbotStatusscheduled => resolved
2015-02-17 18:14hgbotResolutionopen => fixed
2015-02-17 18:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6894fce5cf7e16b8fafea18b2b9ea177c060371f [^]
2015-02-17 18:15SandrahuguetReview Assigned To => Sandrahuguet
2015-02-17 18:15SandrahuguetNote Added: 0074569
2015-02-17 18:15SandrahuguetStatusresolved => closed
2015-02-17 18:15SandrahuguetFixed in Version => 3.0PR15Q2
2015-02-23 05:11hudsonbotCheckin
2015-02-23 05:11hudsonbotNote Added: 0074776

Notes
(0074550)
AtulOpenbravo   
2015-02-17 12:54   
Test Plan
- In an instance with production module activated login as F&B International Group Admin Role.
- Create Products Product A and Product B with production flag = Yes.
- Define Storage Bin in the Manufacturing plan for those products.
- Define a Manufacturing Cost Center and create a valid date version for it.
- Define Activity and assign Cost Center to it.
- Using above products and Activity, define a process plan with Product A as Production Use (P-) with Qty = 0.00024. (If required update qty in the database) and Product B as Production Produced (P+) with Qty 1, Mark create standards flag as Yes in the operation.
- Register a Work Requirement for Qty = 2560 and above Process Plan. Process the work requirement.
- Register Sufficient stock for Product A in the system as it is being used in production.
- Create Work effort based on above Work Requirement and Validate Work Effort.
- Check out that product A is reduced with Qty 0.61440 from the stock.
(0074568)
hgbot   
2015-02-17 18:14   
Repository: erp/devel/pi
Changeset: 6894fce5cf7e16b8fafea18b2b9ea177c060371f
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Feb 16 14:35:52 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6894fce5cf7e16b8fafea18b2b9ea177c060371f [^]

Fixes Issue 28914:Should be an option to use the UOM Standard precision for
production or not.

Flag is provided in Unit of Measurement window to decided whether ROUNDING is
to be done using StdPrecision or not, Default value is N. Based on the flag
Rounding is done in MA_PRODUCTIONRUN_STANDARD process.

---
M src-db/database/model/functions/MA_PRODUCTIONRUN_STANDARD.xml
M src-db/database/model/tables/C_UOM.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0074569)
Sandrahuguet   
2015-02-17 18:15   
Code review + testing OK
(0074776)
hudsonbot   
2015-02-23 05:11   
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/6856352d7235 [^]
Maturity status: Test