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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007509
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2009-02-11 17:182009-04-22 00:00
ReporternetworkbView Statuspublic 
Assigned Toeduardo_Argal 
PriorityimmediateResolutionfixedFixed in Version2.50beta
StatusclosedFix in branchpiFixed in SCM revision13183
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007509: Calculate amortization process generates the last line out of balance

DescriptionIf you launch amortization process, the last line created in A_Amortizationline table, is out of balance. It is diferent of the rest.

Please, see steps to reproduce:
Steps To ReproduceCreate a new asset. Use "Calculate type" - Time; "Amortize" - Monthly; "Usable Life - Months" 12; Depreciation Start Date and Purchase date - 01-01-2008; Asset Value & Depreciation Amt. - 1200; Residual Asset Value & Previously Depreciated Amt. - 0.

Launch "Calculate amortization".

If you look at a_Amortizationline for this amortization, you will see 12 lines. The first eleven lines contain : Amortization_percentage: 8.33 AmortizationAmt: 100

But if you look the last one, contains: Amortization_percentage: 8.37 AmortizationAmt: 100.44

This is not correct
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0007560 closededuardo_Argal Calculate amortization process generates the last line out of balance 

-  Notes
(0013441)
eduardo_Argal (developer)
2009-02-12 19:33

This procedure is working as it was designed. 100 % in 12 periods means 8.33% each period, then las period adjusts percentage missing then it results in 8.37.
Thats why
(0013486)
networkb (developer)
2009-02-13 17:20

The problem is that if you sum all amortization lines, total is 1200.41, not 1200
(0013493)
svnbot (reporter)
2009-02-13 19:19

Repository: openbravo
Revision: 13183
Author: eduardoargal
Date: 2009-02-13 19:19:56 +0100 (Fri, 13 Feb 2009)

Fixes bug 0007509: Calculate amortization process generates the last line out of balance

---
U trunk/src-db/database/model/functions/A_ASSET_POST.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13183&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-02-11 17:18 networkb New Issue
2009-02-11 17:18 networkb Assigned To => rafaroda
2009-02-11 17:18 networkb Regression testing => No
2009-02-12 10:42 rafaroda Assigned To rafaroda => eduardo_Argal
2009-02-12 19:33 eduardo_Argal Note Added: 0013441
2009-02-12 19:33 eduardo_Argal Status new => feedback
2009-02-13 17:20 networkb Note Added: 0013486
2009-02-13 17:21 networkb Status feedback => scheduled
2009-02-13 17:23 rafaroda Status scheduled => feedback
2009-02-13 17:23 rafaroda Status feedback => new
2009-02-13 17:29 rafaroda Status new => scheduled
2009-02-13 17:29 rafaroda fix_in_branch => trunk
2009-02-13 19:19 svnbot Checkin
2009-02-13 19:19 svnbot Note Added: 0013493
2009-02-13 19:19 svnbot Status scheduled => resolved
2009-02-13 19:19 svnbot Resolution open => fixed
2009-02-13 19:19 svnbot svn_revision => 13183
2009-04-21 10:33 psarobe Status resolved => closed
2009-04-22 00:00 anonymous sf_bug_id 0 => 2777928


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker