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
422
Karma
5
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 KDE
http://skrooge.org

 
Reply to topic

Bookmarks



Who is online

Registered users: andreas_k, arunce, Baidu [Spider], Bing [Bot], boudewijn, canon, davidemme, Exabot [Bot], ggael, Google [Bot], google01103, Hans, johnmaximussmith, Kabel, korsakoff, La Ninje, markg85, mck182, noidea, rsd, rumangerst, smankowski, StuieT, subdiff, TheraHedwig, Traveller, valoriez, Yahoo [Bot]