Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007560Openbravo ERP09. Financial managementpublic2009-02-11 17:182009-03-04 06:21
networkb 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
2.40 
2.40MP3 
OBPS
Core
No
0007560: Calculate amortization process generates the last line out of balance
If 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:
Create 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
No tags attached.
blocks defect 0007509 closed eduardo_Argal Calculate amortization process generates the last line out of balance 
Issue History
2009-02-13 17:29rafarodaTypedefect => backport
2009-02-13 17:29rafarodafix_in_branch => 2.40
2009-02-16 11:19svnbotCheckin
2009-02-16 11:19svnbotNote Added: 0013514
2009-02-16 11:19svnbotStatusscheduled => resolved
2009-02-16 11:19svnbotResolutionopen => fixed
2009-02-16 11:19svnbotsvn_revision => 13209
2009-03-03 17:31psarobeFixed in Version => 2.40MP3
2009-03-04 06:21sureshbabuStatusresolved => closed
2009-03-04 06:21sureshbabuNote Added: 0014344

Notes
(0013514)
svnbot   
2009-02-16 11:19   
Repository: openbravo
Revision: 13209
Author: eduardoargal
Date: 2009-02-16 11:19:40 +0100 (Mon, 16 Feb 2009)

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

---
U branches/r2.40/src-db/database/model/functions/A_ASSET_POST.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13209&sc=1 [^]
(0014344)
sureshbabu   
2009-03-04 06:21   
Retested in context http://79.125.57.19/openbravo240mp3psg [^]