[Kmymoney-devel] find transaction using T number
aga
agander93 at gmail.com
Mon Nov 9 17:17:57 UTC 2015
On 09/11/15 15:49, jeffjl.kde at outlook.com wrote:
> > On 09/11/15 06:54, Thomas Baumgart wrote:
> > > Hi,
> > >
> > > On Monday 09 November 2015 00:28:08 jeffjl.kde at outlook.com wrote:
> > >
> > >> I'm looking for a way to find the consistency check problem
> transactions
> > >> using the T0000000... number reported.
> > >>
> > >> When I googled this, I found something that said use the Edit/Find
> > >> transaction dialog. I can't see how that does it. And in looking
> through
> > >> the MyMoneyTransactionFilter::match() function there is nothing
> that looks
> > >> at the transaction.id().
> > >>
> > >> I am using KMM 4.7.2.
> > >
> > > AFAIR, the search feature is only available in the git master
> version which
> > > might not be available as binary package for your environment. The Find
> > > transaction dialog is not the right place to drop the transaction
> ID: use the
> > > search bar above the ledger instead.
> > >
> >
> > Hi Thomas
> >
> > I tried this yesterday, without success.
> >
> > Allan
> >
>
> Using the ledger, wouldn't you have to know the correct account?
> Or try the search in each account ledger until you find it?
Even then, I think it wouldn't/didn't work, as I tried that. I suspect
that it works only on the displayed ledger fields,.
>
> >
> > >
> > > If that does not work, your version is a bit too old, but you could
> use a text
> > > editor and take a look at the .kmy file. After all, it's just a
> gzipped XML
> > > file. There you can search for the ID to get some more information
> about the
> > > transaction.
> > >
>
> Here's what I did, for a short term hack. I modified
> MyMoneyTransactionFilter::match() to look at the "number from" and
> "number to" fields and if they start with 'T' and are 19 characters
> long, compare them to the transaction.id() instead of the
> split.number(). I was then able to find my consistency check problems
> using Edit/Find transaction.
> I did this based on KMM 4.7.2 sources because I could not get the git
> master version to build on Windows last time I tried it (about a couple
> months ago).
> Jeff
In my inexpert opinion, I suspect that a global search like this is the
way to go. If Thomas confirms, I think this needs to be raised as a bug
or wishlist item.
Allan
More information about the KMyMoney-devel
mailing list