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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012724
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementminoralways2010-03-18 09:542010-05-18 21:44
ReporternetworkbView Statuspublic 
Assigned Tosivaraman 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision9a65f2c2675b
ProjectionnoneETAnoneTarget Version2.50MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP13SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012724: On Production Run , the Completed Quantity is not calculated properly

DescriptionWe have a process plan with Conversion Rate: 2. This process plan has two operations, the first one with Multiplier: 8. When we create a production run of this operation, if we want to do 48 P+, the Completed Quantity is 24 (48/'conversion rate') when it must be 6 (48/'Multiplier').


Steps To Reproduce-As Openbravo Admin create a new product: Tablero. Set 'Production'
-Go to Production Management || Transactions || Process Plan
-Create a new record. Conversion Rate: 2
-Go to Version. Starting Date: 01-01-2000; Ending Date: 31-12-2099
-Go to Operation.
    - Create the first operation. Multiplier: 8. Go to I/O Products.
         - Create a new record: Block of wood (P-), quantity: 1.
         - Save and new: Wooden Back (P+), quantity: 1.

    - Create the second operation. Multiplier: 1. Go to I/O Products.
         - Create a new record: Wooden Back (P-), quantity: 8.
         - Save and new: Tablero (P-), quantity: 2.
         - Save and new: Wood Slice (P+), quantity: 2.

-Go to Production Management || Transactions || Work Requirement
-Select the process plan created. Process quantity: 48.
-Process work requirement.
-Go to Production Management || Transactions || Work Effort || Work Effort >> Production Run
-Select the first operation. process quantity: 48.
-Realize that the Complete Quantity is calculated with conversation rate (48/2) when it must be calculated with the multiplier.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0027015)
hgbot (developer)
2010-05-07 05:51

Repository: erp/devel/pi
Changeset: 9a65f2c2675b7cd7bd9bb3b7312f4194b02e6024
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Fri May 07 09:20:34 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9a65f2c2675b7cd7bd9bb3b7312f4194b02e6024 [^]

Fixes issue 12724: On Production Run , the Completed Quantity is not calculated properly

---
M src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_Conversion.java
M src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase_data.xsql
---
(0027016)
sivaraman (reporter)
2010-05-07 06:07

Steps to test:
Kindly follow all the steps as given in the 'Steps To Reproduce' section

Root cause and solution:
SL_ProductionPlan_Conversion callout has been modified in order to calculate Completed Quantity using Multiplier. Also, New method has been added in SL_ProductionPlan_WRPhase_data.xsql to get multiplier value for the corresponding operation

Impact:
It has been verified that the fix resolves the issue without any other impact.
(0027169)
arunkumar (reporter)
2010-05-12 13:10

Tested working fine
(0027491)
hudsonbot (developer)
2010-05-18 21:44

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/9a65f2c2675b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]

- Issue History
Date Modified Username Field Change
2010-03-18 09:54 networkb New Issue
2010-03-18 09:54 networkb Assigned To => adrianromero
2010-03-31 17:05 adrianromero Status new => scheduled
2010-03-31 17:05 adrianromero fix_in_branch => pi
2010-05-07 05:32 sivaraman Assigned To adrianromero => sivaraman
2010-05-07 05:51 hgbot Checkin
2010-05-07 05:51 hgbot Note Added: 0027015
2010-05-07 05:51 hgbot Status scheduled => resolved
2010-05-07 05:51 hgbot Resolution open => fixed
2010-05-07 05:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9a65f2c2675b7cd7bd9bb3b7312f4194b02e6024 [^]
2010-05-07 06:07 sivaraman Note Added: 0027016
2010-05-11 18:19 jpabloae Target Version 2.50MP16 => 2.50MP17
2010-05-12 13:10 arunkumar Note Added: 0027169
2010-05-12 13:10 arunkumar Status resolved => closed
2010-05-13 00:00 anonymous sf_bug_id 0 => 3000766
2010-05-18 21:44 hudsonbot Checkin
2010-05-18 21:44 hudsonbot Note Added: 0027491


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker