[Kmymoney-devel] Review Request: show another icon on homepage accounts tables if there are transactions after the last online transaction (not yet functioning as expected)

Thomas Baumgart thb at net-bembel.de
Wed Dec 12 06:38:31 UTC 2012

Hi all,

On Monday 10 December 2012 18:14:58 Marko Käning wrote:

> > On Dec. 7, 2012, 6:50 p.m., Cristian Oneț wrote:
> > > kmymoney/views/khomeview.cpp, line 865
> > > <http://git.reviewboard.kde.org/r/107619/diff/1/?file=97424#file97424lin
> > > e865>> > 
> > >     You are comparing the last reconciliation date with the last
> > >     imported transaction date, it that what you really want?> 
> > Marko Käning wrote:
> >     I thought that "lastStatementDate" is the last transaction in the
> >     ledger. Now you tell me that it is the last reconciled one... OK,
> >     that explains it.
> >     
> >     How do I find the date of the last transaction in the ledger?
> > 
> > Cristian Oneț wrote:
> >     I'm not sure that you can obtain that date without fetching the
> >     transactions list and looking at the last transaction. Thomas, could
> >     you give some hints about this?

> Oh, I was afraid of that... It's probably not a very quick thing to do, I
> mean to determine in such a way the latest transaction for every single
> account displayed.

I am afraid, using a version of MyMoneyFile::transactionList() is the only way 
to get that information.

> It would be good to know where these date values like "lastStatementDate",
> "lastImportedTransactionDate" and alike are documented in the code. Could
> you give me a hint for future reference?

grep is your friend. I doubt that you will find a 'documentation' other than 
the source code.



Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
Life would be so much easier if we could just
look at the source code. -- Dave Olson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20121212/9c97f115/attachment.sig>

More information about the KMyMoney-devel mailing list