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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012267
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2010-02-15 10:352010-05-18 12:12
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityhighResolutionfixedFixed in Version2.50MP15
StatusclosedFix in branchpiFixed in SCM revisionf806ff1950f4
ProjectionnoneETAnoneTarget Version2.50MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012267: "Line" number shown makes no sense in Asset amortization tab

DescriptionWhen an amortization plan is calculated for an asset, it shows a field called "Line" which shows, line number in Amortization window.
This information does not make sense, it should show line number regarding to asset amortization line, ordered by date. This solution will help to sort by date.
Steps To ReproduceGo to Financial management > Asset > Transactions > Asset.
Create a new register.
Fill its name, "Linear" as Depreciation Type, "Time" as Calculate Type,
"Monthly" as Amortize, 12 as Usable Life - Months, 01-01-2004 as Depreciation
Start Date and Purchase Date, 1000 as Depreciation Amt and Asset Value.
Press "Create Amortization".
Go to Asset Amortization tab.
Go to Amortization link.
TagsNo tags attached.
Attached Filespng file icon assets amortization.PNG [^] (37,318 bytes) 2010-02-15 11:26

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0012184 closedadrianromero Line No not auto-incremented when Create Amortization. 
blocks defect 00128992.50MP17 closedadrianromero Amortization lines are not displayed in sequence of year 

-  Notes
(0024246)
rafaroda (developer)
2010-02-15 10:41

Is this issue duplicated of 0012184?
(0024247)
rafaroda (developer)
2010-02-15 10:41

Can you copy-paste the steps to reproduce? Thanks.
(0024250)
psarobe (manager)
2010-02-15 10:53

Hi,

As you mention the line number is based in the amortization header and not in the asset header.
Clearly this might misunderstand the end user. So the solution must be:
1. Hide this field in that tab (edit/grid mode)
2. Create a feature request for having a new column for this purpose in the corresponding table
(0024253)
networkb (developer)
2010-02-15 11:03

If line is not correct, it must be treated as a bug, not a FR.

It is not needed to hide this column. Only, recalculate properly its value
(0024256)
psarobe (manager)
2010-02-15 11:25

Hi,

Maybe I didn't explain well:

1. That column is well calculated so there is not a bug on that. As you mention in the description that column is calculated based in the amortization not in the asset and this is correct. This is a very typical issue rejected several times
2. So to hide the field is the correct solution to avoid mislead the user because we are showing a field that corresponds with another info. Take into account that this table shares different info for different windows
Said this:
3. Why is not enough with the dates? why would you also like to have the line no?
4. So my question was, Is it really needed to have this column? Does it add any value?
Since it is not a bug, that's why it is a feature request in any case

See attach
(0024725)
psarobe (manager)
2010-02-23 10:19

Final solution:

1. Hide that field in that tab. That field is just for the window Amortization tab lines
2. Create a new column that is similar to the above one and calculate the number line based on the asset.

Note: You have to be carefully with the stored procedure A_ASSET_POST
(0024732)
adrianromero (manager)
2010-02-23 11:29

To explain the solution to myself:

* A_AMORTIZATION_LINE currently has SEQ_NO field properly defined as lines for the header A_AMORTIZATION.
* There is needed to add to A_AMORTIZATION_LINE another SEQ_NO_2 for the header A_ASSET, and define a default value similar to the other sequence field.
* When done in the window A_ASSET there is needed to hide the old SEQ_NO field and show the new SEQ_NO_2 field
* That should be enough. But review the process A_ASSET_POST to verify that the calculation of sequences here is done properly.
(0025918)
hgbot (developer)
2010-04-07 04:55

Repository: erp/devel/pi
Changeset: 2a0f92919112fa4c73a9621fe243274059efcbce
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Apr 07 08:36:12 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2a0f92919112fa4c73a9621fe243274059efcbce [^]

Fixes Issue 12267: \"Line\" number shown makes no sense in Asset amortization tab.

---
M src-db/database/model/functions/A_ASSET_POST.xml
M src-db/database/model/tables/A_AMORTIZATIONLINE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0025919)
harikrishnan (reporter)
2010-04-07 04:57

*New Column is added in the DB for storing the line number for AmortizationLine under the Asset window.
*Follow the steps to reproduce for testing the issue.
(0025947)
adrianromero (manager)
2010-04-07 15:44

Reopened because it is not properly fixed. It raises also the issue 12899. It is required to fix this issue properly and after verify that issue 12899 does not appear anymore.
(0025982)
harikrishnan (reporter)
2010-04-08 16:15

Repository: erp/devel/pi
Changeset: e871ecee3de7f379628813019a537cd9fd0abfe2
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Apr 08 10:08:35 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e871ecee3de7f379628813019a537cd9fd0abfe2 [^] [^]

Fixes Issue 12899: Amortization lines are not displayed in sequence of year

---
M src-db/database/model/functions/A_ASSET_POST.xml
---
(0025983)
harikrishnan (reporter)
2010-04-08 16:15

Repository: erp/devel/pi
Changeset: f806ff1950f4e606e3d29b8d60744e4fba7cd952
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Apr 08 19:54:51 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f806ff1950f4e606e3d29b8d60744e4fba7cd952 [^] [^]

Fixes Issue 12899: Amortization lines are not displayed in sequence of year

---
M src-db/database/model/functions/A_ASSET_POST.xml
---
(0026257)
psarobe (manager)
2010-04-15 13:40

Tested, working fine
(0026423)
hudsonbot (developer)
2010-04-19 21:12

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/2a0f92919112 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]

- Issue History
Date Modified Username Field Change
2010-02-15 10:35 networkb New Issue
2010-02-15 10:35 networkb Assigned To => dalsasua
2010-02-15 10:40 rafaroda Relationship added related to 0012184
2010-02-15 10:41 rafaroda Note Added: 0024246
2010-02-15 10:41 rafaroda Note Added: 0024247
2010-02-15 10:53 psarobe Note Added: 0024250
2010-02-15 10:53 psarobe Assigned To dalsasua => adrianromero
2010-02-15 10:53 psarobe Status new => feedback
2010-02-15 11:03 networkb Note Added: 0024253
2010-02-15 11:03 networkb Status feedback => new
2010-02-15 11:03 networkb Steps to Reproduce Updated View Revisions
2010-02-15 11:25 psarobe Note Added: 0024256
2010-02-15 11:25 psarobe Status new => feedback
2010-02-15 11:26 psarobe File Added: assets amortization.PNG
2010-02-23 09:52 adrianromero Status feedback => scheduled
2010-02-23 09:52 adrianromero fix_in_branch => pi
2010-02-23 10:19 psarobe Note Added: 0024725
2010-02-23 11:29 adrianromero Note Added: 0024732
2010-03-08 16:05 jpabloae Target Version 2.50MP14 => 2.50MP15
2010-04-07 04:51 harikrishnan Assigned To adrianromero => harikrishnan
2010-04-07 04:55 hgbot Checkin
2010-04-07 04:55 hgbot Note Added: 0025918
2010-04-07 04:55 hgbot Status scheduled => resolved
2010-04-07 04:55 hgbot Resolution open => fixed
2010-04-07 04:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2a0f92919112fa4c73a9621fe243274059efcbce [^]
2010-04-07 04:57 harikrishnan Note Added: 0025919
2010-04-07 15:41 adrianromero Relationship added blocks 0012899
2010-04-07 15:42 adrianromero Status resolved => new
2010-04-07 15:42 adrianromero Resolution fixed => open
2010-04-07 15:44 adrianromero Status new => scheduled
2010-04-07 15:44 adrianromero Note Added: 0025947
2010-04-08 16:15 harikrishnan Note Added: 0025982
2010-04-08 16:15 harikrishnan Note Added: 0025983
2010-04-08 17:49 adrianromero Status scheduled => resolved
2010-04-08 17:49 adrianromero Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/2a0f92919112fa4c73a9621fe243274059efcbce [^] => https://code.openbravo.com/erp/devel/pi/rev/f806ff1950f4e606e3d29b8d60744e4fba7cd952 [^]
2010-04-08 17:49 adrianromero Resolution open => fixed
2010-04-15 13:40 psarobe Note Added: 0026257
2010-04-15 13:40 psarobe Status resolved => closed
2010-04-15 13:40 psarobe Fixed in Version => 2.50MP15
2010-04-16 00:00 anonymous sf_bug_id 0 => 2987951
2010-04-19 21:12 hudsonbot Checkin
2010-04-19 21:12 hudsonbot Note Added: 0026423
2010-05-18 12:12 gorka_gil Target Version 2.50MP15 => 2.50MP17


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker