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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027397
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementminoralways2014-08-21 06:592014-12-30 23:24
ReporterVictorVillarView Statuspublic 
Assigned Tofsoto82 
PriorityhighResolutionfixedFixed in Version3.0PR15Q1
StatusclosedFix in branchpiFixed in SCM revision9e11efa4229f
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027397: The ending date of the work requirement is not calculated properly

DescriptionThe ending date of the work requirement is not calculated properly
Steps To ReproduceAs group admin role,
Go to Process Plan
  create a new header for * Org.
  create a new Version: Estimated time 2
  create a new operation: estimated time 2
  define the consumed products and the produced products
Go to Work Requirement window
  select the process plan created before.
  Quantity: 5000
  Start date: today
  Ending date: realise that is populated autmatically as today
Process it
As you can read [1] The calculation of the Estimated time is: estimated time taken from the process plan x process quantity on the work requirement.
So the result is 10000 hours.
And that information is populated in the operation too.

But the Ending date of the header and the ending date of each Operation does not change, and this is a wrong information, taking into account the Estimated time.


[1] http://wiki.openbravo.com/wiki/Work_Requirement [^]

Please check the ma_workrequirement_process function.
    
Proposed SolutionThe Header/operation Ending date should be calculated depending on the Estimated time calculated when the user process the work requirement
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071259)
fsoto82 (developer)
2014-10-29 23:50

As group admin role,
Go to Process Plan
  create a new header for * Org.
  create a new Version: Estimated time 2
  create a new operation: estimated time 2
  define the consumed products and the produced products
Go to Work Requirement window
  select the process plan created before.
  Quantity: 5000
  Start date: today
  Ending date: realise that is populated autmatically as today
Process it
Check the work requirement ending date is calculated correctly.

The work requirement ending date also is calculated if manually adds, update or delete the Work requirement Operations
(0071437)
hgbot (developer)
2014-11-05 17:34

Repository: erp/devel/pi
Changeset: 9e11efa4229f852c575624616b8d38048ac9a3c1
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Wed Oct 29 16:55:56 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/9e11efa4229f852c575624616b8d38048ac9a3c1 [^]

Fixed bug 27397: Ending date of the work requirement is not calculated properly

Modified stored procedure MA_WORKREQUIREMENT_PROCESS to calculate the ending date of each Operation (MA_WRPHASE).
Modified the trigger MA_WRPHASE_TRG that was calculating the estimated time but not the endind date.

---
M src-db/database/model/functions/MA_WORKREQUIREMENT_PROCESS.xml
M src-db/database/model/triggers/MA_WRPHASE_TRG.xml
---
(0071438)
Sandrahuguet (developer)
2014-11-05 17:35

Code review + testing OK
(0073020)
hudsonbot (developer)
2014-12-30 23:24

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/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-08-21 06:59 VictorVillar New Issue
2014-08-21 06:59 VictorVillar Assigned To => jonalegriaesarte
2014-08-21 06:59 VictorVillar Modules => Core
2014-08-21 06:59 VictorVillar Resolution time => 1412200800
2014-08-21 06:59 VictorVillar Triggers an Emergency Pack => No
2014-08-21 06:59 VictorVillar Issue Monitored: networkb
2014-09-01 16:34 jonalegriaesarte Assigned To jonalegriaesarte => AtulOpenbravo
2014-09-22 16:36 jonalegriaesarte Target Version 3.0PR14Q4 => 3.0PR15Q1
2014-10-29 03:51 fsoto82 Status new => scheduled
2014-10-29 03:51 fsoto82 Assigned To AtulOpenbravo => fsoto82
2014-10-29 03:51 fsoto82 fix_in_branch => pi
2014-10-29 23:50 fsoto82 Note Added: 0071259
2014-11-05 17:34 hgbot Checkin
2014-11-05 17:34 hgbot Note Added: 0071437
2014-11-05 17:34 hgbot Status scheduled => resolved
2014-11-05 17:34 hgbot Resolution open => fixed
2014-11-05 17:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9e11efa4229f852c575624616b8d38048ac9a3c1 [^]
2014-11-05 17:35 Sandrahuguet Review Assigned To => Sandrahuguet
2014-11-05 17:35 Sandrahuguet Note Added: 0071438
2014-11-05 17:35 Sandrahuguet Status resolved => closed
2014-11-05 17:35 Sandrahuguet Fixed in Version => 3.0PR15Q1
2014-12-30 23:24 hudsonbot Checkin
2014-12-30 23:24 hudsonbot Note Added: 0073020


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker