Reply to topic

"Report"ing "Units". Bug or I'm just wrong ?

blep0
Registered Member
Posts
1
Karma
0
Hi,

When I draw a "Report" for "Units" as following :
Image

The total amount each month is
number of units each month x last value
Shouldn't it be
number of units each month x mean unit value for each month
or
number of units each month x last unit value of the month
?
User avatar smankowski
Moderator
Posts
292
Karma
3
OS
blep0 wrote:Hi,

When I draw a "Report" for "Units" as following :
Image

The total amount each month is
number of units each month x last value
Shouldn't it be
number of units each month x mean unit value for each month
or
number of units each month x last unit value of the month
?


In Skrooge, each operation has a "current amount"=quantity * last value.
All reports are based on this "current amount".
This is why, you are right, the amount of each month is "number of units each month x last value".
This is easier for computation.

Normally, if you have a transaction like this:
2012/09/01 - 100 IBM (means 100 shares IBM)
and if the amount of IBM is like this
Code: Select all
2012/09/01 - 1 €
2012/09/10 - 2 €
2012/09/20 - 3 €


The history report should present this:
Code: Select all
2012/09/01 - 100 €
2012/09/10 - 200 €
2012/09/20 - 300 €


This is very complex and very bad for performances.
This is why we choose to always evaluate the amount of each operation with the last value of its unit.


Skrooge, a personal finances manager powered by KDE4
http://skrooge.org

 
Reply to topic

Bookmarks



Who is online

Registered users: apater, Azzart, Baidu [Spider], Bing [Bot], Exabot [Bot], GentooSimon, Google [Bot], HmpfCBR, irisuser, koriun, La Ninje, lazyit, Majestic-12 [Bot], mmistretta, navalgupte, onesandzeros, Sentynel, Yahoo [Bot]