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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012152
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2010-02-05 10:152010-03-10 18:29
ReporternetworkbView Statuspublic 
Assigned Todalsasua 
PriorityhighResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP11SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012152: Uncorrect asset amortization when "Monthly" is used

DescriptionAn asset amortization is calculated, for an asset. "Time" and "Monthly", calculation type is used.

IE, if 12 Uselife months are set, 13 lines are created.
Steps To ReproduceGo to Financial Management || Assets || Assets. Create a new register.
Enter a name, search key.
Check Depreciate.
Select "Linear" as Depreciation type.
Select "Time" as Calculate type.
Select "Monthly" as Amortize.
Enter, "12" as Usable Life - Months.
Enter "20-01-2004", as Purchase Date and Depreciation Start Date.
Enter, "1000" as Asset Value and Depreciation Amt.
Enter, "550" as Previously Depreciated Amt.
Press "Calculate amortization".
Go to Asset amortization tab.
TagsNo tags attached.
Attached Filespng file icon AmortHeader.png [^] (78,958 bytes) 2010-02-08 09:48


png file icon Amort.png [^] (69,835 bytes) 2010-02-08 09:48


png file icon NewAmort.png [^] (72,865 bytes) 2010-02-08 10:55

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0012184 closedadrianromero Line No not auto-incremented when Create Amortization. 

-  Notes
(0023998)
rafaroda (viewer)
2010-02-08 09:46

Please provide more information since the issue has not been able to be reproduced (see 2 screenshots attached).
(0024001)
networkb (viewer)
2010-02-08 10:45

Uncorrect Date
(0024003)
rafaroda (viewer)
2010-02-08 10:54

Can be reproduced with the new steps provided (see image NewAmort.png)
(0024012)
dalsasua (viewer)
2010-02-08 12:54

Have you used as purchase and depr.start dates 20-01-2004 (as in steps to reproduce), or 01-01-2004 (as in the screenshots)?

If I set date=01-01-2004 I obtain 12 rows of 37.5 = 450 € (what is correct: 1000-550)
If I set date=20-01-2004 I obtaain 13 rows: 11*37.50+1*24.19+1*13.31 = 450 € (what is correct)

Please notice that, although the number of rows is 13, the number of months where this asset is being depreciated is 12:

row01_20-01-2004_31-01-2004_12 days
row02_01-02-2004_29-02-2004_1 month
row03_01-03-2004_31-03-2004_1 month
...
row12_01-12-2004_31-12-2004_1 month
row13_01-01-2005_19-01-2005_19 days

TOTAL: 12 days + 11 months + 19 days = 12 months.

Please notice that depreciations do always take place at the end of the period. In this case, last day of the month.

Regards.
(0024045)
rafaroda (viewer)
2010-02-09 11:03

The behaviour described, creating 13 records (but 12 months) if the initial date is 20-01-2004 is correct so no change is required.

- Issue History
Date Modified Username Field Change
2010-02-05 10:15 networkb New Issue
2010-02-05 10:15 networkb Assigned To => rafaroda
2010-02-05 10:15 networkb OBNetwork customer => Yes
2010-02-08 09:46 rafaroda Note Added: 0023998
2010-02-08 09:46 rafaroda Status new => feedback
2010-02-08 09:48 rafaroda File Added: AmortHeader.png
2010-02-08 09:48 rafaroda File Added: Amort.png
2010-02-08 10:45 networkb Target Version 2.50MP13 =>
2010-02-08 10:45 networkb Steps to Reproduce Updated View Revisions
2010-02-08 10:45 networkb Status feedback => new
2010-02-08 10:45 networkb Note Added: 0024001
2010-02-08 10:54 rafaroda Note Added: 0024003
2010-02-08 10:54 rafaroda Status new => acknowledged
2010-02-08 10:55 rafaroda File Added: NewAmort.png
2010-02-08 12:54 dalsasua Note Added: 0024012
2010-02-09 11:02 rafaroda Assigned To rafaroda => dalsasua
2010-02-09 11:02 rafaroda Status acknowledged => scheduled
2010-02-09 11:03 rafaroda Note Added: 0024045
2010-02-09 11:03 rafaroda Status scheduled => closed
2010-02-09 11:03 rafaroda Resolution open => no change required
2010-02-09 11:05 rafaroda Relationship added related to 0012184
2010-02-10 12:43 anonymous sf_bug_id 0 =>
2010-03-10 18:29 anonymous sf_bug_id => 2968017


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker