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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024970
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementminorhave not tried2013-10-18 00:052013-12-31 04:57
ReporterVictorVillarView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc1096caec8a6
ProjectionnoneETAnoneTarget Version3.0MP31
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToVictorVillar
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024970: Standard Cost calculation fails under some circumstancies

Description'Calculate Standard Cost' process fails when the in the process plan exists the same product as P- and P+. The message error

Error:
stack depth limit exceeded
Steps To ReproduceAs group admin role,

Go to product window and define Cerveza Ale and Agua as Production products and select the process plan define below


go to Process Plan window,
 create a new one available from 01-01-2013 to now.
Products: - Cerveza Ale P-
          - Agua = P+
          - Cerveza Ale = P+
Launch the 'Calculate Standard Cost' process, realise that an error is raised:

Error:
stack depth limit exceeded
Proposed SolutionIn the ma_standard_cost function it is necessary the same validation as in the Validation Work Effort process to avoid this situation (the same product as P- and P+) but there could be others
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035129 closedcollazoandy4 Calculate Standard Costs process is checking records from other clients 

-  Notes
(0063097)
AtulOpenbravo (developer)
2013-12-27 13:08

Test Plan
- Login as F&B Internation Group Admin role.
- Go to product window.
- Define Cerveza Ale and Agua as two products whose production flag is checked as Yes.
- Go to Acivity window and create a new record in it.
- Go to Process Plan window.
- Create a new Process Plan, go to Version Tab and create a new record.
- Go to Operation tab under created version and do the following in Products Tab.
- For Products: - Cerveza Ale, Keep Production Type as P-
                - Agua = P+
                - Cerveza Ale = P+
- Run the 'Calculate Standard Cost' process, check that an message is displayed "Same Product defined as P+ & P- in same Operation" along with Process Plan name and its Version document no is shown in the message.
(0063120)
hgbot (developer)
2013-12-30 13:11

Repository: erp/devel/pi
Changeset: c1096caec8a6410d092025616a2ee1a28348634f
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Dec 30 17:40:28 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c1096caec8a6410d092025616a2ee1a28348634f [^]

Fixes issue 0024970:Standard Cost calculation fails under some circumstancies

---
M src-db/database/model/functions/MA_STANDARD_COST.xml
---
(0063124)
VictorVillar (developer)
2013-12-30 13:27

Verified
(0063135)
hudsonbot (developer)
2013-12-31 04:57

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/987357c24f95 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-10-18 00:05 VictorVillar New Issue
2013-10-18 00:05 VictorVillar Assigned To => dmiguelez
2013-10-18 00:05 VictorVillar Modules => Core
2013-10-18 00:05 VictorVillar Resolution time => 1388530800
2013-10-18 00:05 VictorVillar Triggers an Emergency Pack => No
2013-10-18 00:06 VictorVillar Issue Monitored: networkb
2013-10-18 00:07 VictorVillar Proposed Solution updated
2013-10-25 09:07 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2013-11-04 09:54 jonalegriaesarte Target Version 3.0MP30 => 3.0MP31
2013-12-27 11:50 AtulOpenbravo Assigned To jonalegriaesarte => AtulOpenbravo
2013-12-27 11:50 AtulOpenbravo Status new => scheduled
2013-12-27 11:50 AtulOpenbravo fix_in_branch => pi
2013-12-27 13:08 AtulOpenbravo Note Added: 0063097
2013-12-30 13:01 AtulOpenbravo Review Assigned To => VictorVillar
2013-12-30 13:01 AtulOpenbravo fix_in_branch pi =>
2013-12-30 13:11 hgbot Checkin
2013-12-30 13:11 hgbot Note Added: 0063120
2013-12-30 13:11 hgbot Status scheduled => resolved
2013-12-30 13:11 hgbot Resolution open => fixed
2013-12-30 13:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c1096caec8a6410d092025616a2ee1a28348634f [^]
2013-12-30 13:27 VictorVillar Note Added: 0063124
2013-12-30 13:27 VictorVillar Status resolved => closed
2013-12-31 04:57 hudsonbot Checkin
2013-12-31 04:57 hudsonbot Note Added: 0063135
2017-02-01 13:12 ngarcia Relationship added related to 0035129


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker