Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002893Openbravo ERP09. Financial managementpublic2008-04-17 11:552008-06-19 19:41
user71 
cromero 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
No
Core
No
0002893: Recalculate amortization process does not work properly
Description:
If the calcule type is defined as Percentage, but the assetschedule was defined as Year, the process does not work.


Environment:
Openbravo 2.35 MP1
Oracle
FF2

Steps:
1.Create an asset and define its calcule type as Time and its Amortize as Year. Save it.
2.Change its calcule type as Percentage and run "Recalculate amortization" process. No lines are created.

Note:

Lines 228 and 330 in A_ASSET_POST should be replaced by this one:
SELECT COALESCE(SUM(AMORTIZATIONAMT), 0), COALESCE(SUM(AMORTIZATION_PORCENTAGE), 0)


No tags attached.
depends on backport 0003684 closed cromero Recalculate amortization process does not work p 
Issue History
2008-06-19 19:41psarobeStatusresolved => closed

Notes
(0006482)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1944767 [^]
(0003572)
cromero   
2008-04-17 19:13   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1500614
Originator: NO

Fixed in the trunk in revision 3551