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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022004
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2012-10-19 09:092012-11-21 06:06
ReporterVictorVillarView Statuspublic 
Assigned Topramakrishnan 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona08511286b67
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tonaiaramartinez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022004: If the Previously Depreciated Amt. is filled, the amortization percentage is wrong for the completes periods

DescriptionIf the Previously Depreciated Amt. is filled, the amortization percentage is wrong for the completes periods
Steps To ReproduceGo to the Asset Group screen
Create a new record

Organization = F&B US, Inc.,
Name = Computer Hardware,
Save the record

Go to the Assets screen
Create a new record

Organization = F&B US West Coast,
Search Key = Laptop,
Name = Laptop,
Asset Category = Computer Hardware,
Currency = USD,
Product =Cola,
Depreciate checkbox = selected,
Depreciation Type = Linear,
Calculate Type = Time,
Amortize = Yearly,
Usable Life - Years = 3,
Purchase Date = today's date,
Cancellation Date = blank,
Depreciation Start Date = today's date,
Depreciation End Date = blank,
Asset Value = 1500,
Residual Asset Value = 0,
Depreciation Amount = 1500,
Previously Depreciated Amt = 500,
Save the record

To create the amortization periods:

Click the Create amortization button

Click the OK button

Realise that the amortization percentage of one of the periods (01-31-2015 - 12-01-2015 - 12-31-2015) is 51.13 and this is not correct.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054065)
pramakrishnan (developer)
2012-11-07 11:22

Test Plan 1:

Login as Openbravo/openbravo
Create a new asset group

Organization = F&B US, Inc.,
Name = Computer Hardware,
Save the record

Create a new asset

Organization = F&B US West Coast,
Search Key = Laptop,
Name = Laptop,
Asset Category = Computer Hardware,
Currency = USD,
Product =Cola,
Depreciate checkbox = selected,
Depreciation Type = Linear,
Calculate Type = Time,
Amortize = Yearly,
Usable Life - Years = 5,
Purchase Date = today's date,
Cancellation Date = blank,
Depreciation Start Date = today's date,
Depreciation End Date = blank,
Asset Value = 2000,
Residual Asset Value = 0,
Depreciation Amount = 2000,
Previously Depreciated Amt = 100,
Save the record

Click the Create amortization button
Click the OK button

Notice that the Asset Amortization is created as follows
31-12-2012 - 01-12-2012 - 31-12-2012 3.66 69.56 EUR
31-12-2013 - 01-12-2013 - 31-12-2013 20.00 380.00 EUR
31-12-2014 - 01-12-2014 - 31-12-2014 20.00 380.00 EUR
31-12-2015 - 01-12-2015 - 31-12-2015 20.00 380.00 EUR
31-12-2016 - 01-12-2016 - 31-12-2016 20.00 380.00 EUR
31-12-2017 - 01-12-2017 - 31-12-2017 16.34 310.44 EUR

Test Plan 2:

Login as Openbravo/openbravo
Create a new asset group

Organization = F&B US, Inc.,
Name = Computer Hardware,
Save the record

Create a new asset

Organization = F&B US West Coast,
Search Key = Laptop,
Name = Laptop,
Asset Category = Computer Hardware,
Currency = USD,
Product =Cola,
Depreciate checkbox = selected,
Depreciation Type = Linear,
Calculate Type = Time,
Amortize = Yearly,
Usable Life - Years = 5,
Purchase Date = today's date,
Cancellation Date = blank,
Depreciation Start Date = today's date,
Depreciation End Date = blank,
Asset Value = 1900,
Residual Asset Value = 0,
Depreciation Amount = 1900,
Previously Depreciated Amt = 0,
Save the record

Click the Create amortization button
Click the OK button

Notice that the Asset Amortization is created as follows
31-12-2012 - 01-12-2012 - 31-12-2012 3.66 69.56 EUR
31-12-2013 - 01-12-2013 - 31-12-2013 20.00 380.00 EUR
31-12-2014 - 01-12-2014 - 31-12-2014 20.00 380.00 EUR
31-12-2015 - 01-12-2015 - 31-12-2015 20.00 380.00 EUR
31-12-2016 - 01-12-2016 - 31-12-2016 20.00 380.00 EUR
31-12-2017 - 01-12-2017 - 31-12-2017 16.34 310.44 EUR
(0054180)
hgbot (developer)
2012-11-13 09:01

Repository: erp/devel/pi
Changeset: a08511286b678b36af7be3f01ef15541990b04ca
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Thu Nov 08 12:29:22 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a08511286b678b36af7be3f01ef15541990b04ca [^]

Fixes Issue 22004: Wrong Amortization Percent

---
M src-db/database/model/functions/A_ASSET_POST.xml
---
(0054188)
naiaramartinez (developer)
2012-11-13 09:18

Code Review + Testing OK
(0054368)
hudsonbot (developer)
2012-11-21 06:06

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c3c5e61b0164 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-10-19 09:09 VictorVillar New Issue
2012-10-19 09:09 VictorVillar Assigned To => dmiguelez
2012-10-19 09:09 VictorVillar Modules => Core
2012-10-19 09:09 VictorVillar Issue Monitored: networkb
2012-10-25 11:18 pramakrishnan Assigned To dmiguelez => pramakrishnan
2012-10-25 11:18 pramakrishnan Status new => scheduled
2012-10-25 11:18 pramakrishnan fix_in_branch => pi
2012-11-07 11:22 pramakrishnan Note Added: 0054065
2012-11-13 09:01 hgbot Checkin
2012-11-13 09:01 hgbot Note Added: 0054180
2012-11-13 09:01 hgbot Status scheduled => resolved
2012-11-13 09:01 hgbot Resolution open => fixed
2012-11-13 09:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a08511286b678b36af7be3f01ef15541990b04ca [^]
2012-11-13 09:18 naiaramartinez Review Assigned To => naiaramartinez
2012-11-13 09:18 naiaramartinez Note Added: 0054188
2012-11-13 09:18 naiaramartinez Status resolved => closed
2012-11-21 06:06 hudsonbot Checkin
2012-11-21 06:06 hudsonbot Note Added: 0054368


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker