Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016278Openbravo ERP05. Production managementpublic2011-03-14 18:282011-05-24 10:55
adrianromero 
adrianromero 
highminoralways
closedfixed 
5
pi 
 
Core
No
0016278: Bad behaviour with P+ in Production Run
We have a product with a secondary UOM. When we create standards, if this product is a P+ the application does not calculate properly the order quantity.

If the product is P- the application works properly.
- AS Openbravo Admin go to Master Data Management || Product
- Create a new record:
    - check the field 'Production'
    - UOM: unit
- Go to Master Data Management || Product Setup || Unit of Measure and select Litre.
- Go to Unit of Measure >> Conversion
     - To UOM: Unit
     - Multiple rate by: 5
- Go to Production Management || Transactions || Process Plan
- Create a new record, a new version, a new operation.
- Create two I/O porducts:
    1.- Product: product created
        P+
        Order UOM: Litre
        Order Quantity: 10 ---> quantity: 50
    2.- Product: product created
        P-
        Order UOM: Litre
        Order Quantity: 5 ---> quantity: 25
- Go to work Requirement, and create a new record with the process plan created.
- Go to Production Management || Transactions || Work Effort
- Create a new record and a new production run:
        - Completed Quantity: 3
- Click 'Create Standards'
- Go to Work Effort >> Production Run >> Product:
- Realize that the P+ has been calculated wrong:
    - Quantity: 150 --> ok
    - Order Quantity: 10 ---> wrong. It should be 30
          
closingMay2011
blocks backport 00155822.50MP27 closed adrianromero Bad behaviour with P+ in Production Run 
Issue History
2011-03-14 18:28adrianromeroNew Issue
2011-03-14 18:28adrianromeroAssigned To => adrianromero
2011-03-14 18:28adrianromeroModules => Core
2011-03-14 18:28adrianromeroIssue generated from0015582
2011-03-14 18:28adrianromeroRelationship addedblocks 0015582
2011-03-14 18:32hgbotCheckin
2011-03-14 18:32hgbotNote Added: 0034828
2011-03-14 18:32hgbotStatusnew => resolved
2011-03-14 18:32hgbotResolutionopen => fixed
2011-03-14 18:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1a363220dac7b7ec85a1e3f8d33cd23ed9039f3d [^]
2011-03-14 18:35adrianromeroNote Added: 0034829
2011-05-24 10:12dalsasuaTag Attached: closingMay2011
2011-05-24 10:55dalsasuaStatusresolved => closed

Notes
(0034828)
hgbot   
2011-03-14 18:32   
Repository: erp/devel/pi
Changeset: 1a363220dac7b7ec85a1e3f8d33cd23ed9039f3d
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Mar 14 18:31:31 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1a363220dac7b7ec85a1e3f8d33cd23ed9039f3d [^]

Fixes issue 0016278: Bad behaviour with P+ in Production Run
It has bee modified the expression that calculates the quantity ordered for P+ products

---
M src-db/database/model/functions/MA_PRODUCTIONRUN_STANDARD.xml
---
(0034829)
adrianromero   
2011-03-14 18:35   
* Testing the issue

Kindly follow the steps to test the and verify now that the value of the calculated Order quantity is 30. Verify also that for P- products it still works as expected.

* Other areas affected.

No other areas affected. It has only been modified the pl/sql process MA_PRODUCTIONRUN_STANDARD