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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017490
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 05. Production managementmajoralways2011-05-19 17:372011-06-08 17:19
ReportermaiteView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version2.50MP31
StatusclosedFix in branch2.50Fixed in SCM revisiona5db67d4c797
ProjectionnoneETAnoneTarget Version2.50MP31
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP29SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017490: Column CALCCOST does not allow decimals

DescriptionColumn CALCCOST does not allow decimals. It is defined as numeric(10,0) in database.

Steps To Reproduce1. Define Machine. Add Cost 1.33 per Hour
2. Define Indirect Cost: type Poduction; Add Value from 01-05-2011 to 01-05-2011 ; cost 0.85 and per Hour
3. Define Cost Center. Add Version with Cost empty; uom perHour; valid from 01-05-2011 . Add Machine created with UsageCoeficient=1. Add Indirect Cost created
4. Define Activity and associate Cost Center created
5. Go to Product window and mark 2 products as "Production"
6. Define Process Plan. Add Version from 01-05-2011 to 12-12-9999. Add Operation setting your Activity ; Cost center use time=1; Multiplier=1.
Add IOProducts: one as P- and another one as P+
7. Run process Calculate Standard Cost

Navigate to tab Machine and Indirect cost of your process plan and realize that cost is set to 1 (instead of 1.33 and 0.85) as it is not allowing decimals
Proposed Solutioncolumn CALCCOST in tables MA_SEQUENCE_* should be defined to allow decimales.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00172833.0MP1 closedjecharri Column CALCCOST does not allow decimals 

-  Notes
(0038112)
hgbot (developer)
2011-06-07 12:33

Repository: erp/stable/2.50
Changeset: a5db67d4c7974e469d34f84db9a759a8b0560b0b
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Jun 03 13:22:09 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/a5db67d4c7974e469d34f84db9a759a8b0560b0b [^]

Fixes issue 17490: Column CALCCOST does not allow decimals

---
M src-db/database/model/tables/MA_SEQUENCE_EMPLOYEE.xml
M src-db/database/model/tables/MA_SEQUENCE_IC.xml
M src-db/database/model/tables/MA_SEQUENCE_MACHINE.xml
---
(0038176)
maite (developer)
2011-06-08 17:19

verified

- Issue History
Date Modified Username Field Change
2011-06-03 12:16 jecharri Type defect => backport
2011-06-03 12:16 jecharri fix_in_branch => 2.50
2011-06-07 12:33 hgbot Checkin
2011-06-07 12:33 hgbot Note Added: 0038112
2011-06-07 12:33 hgbot Status scheduled => resolved
2011-06-07 12:33 hgbot Resolution open => fixed
2011-06-07 12:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/a5db67d4c7974e469d34f84db9a759a8b0560b0b [^]
2011-06-08 17:19 maite Note Added: 0038176
2011-06-08 17:19 maite Status resolved => closed
2011-06-08 17:19 maite Fixed in Version => 2.50MP31


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker