Re: [Kmymoney-devel] find transaction using T number

2015-11-14 Thread Thomas Baumgart
Hi,

On Monday 09 November 2015 12:10:07 Jack wrote:

> On 2015.11.09 01:54, Thomas Baumgart wrote:
> > Hi,
> > 
> > On Monday 09 November 2015 00:28:08 jeffjl@outlook.com wrote:
> > > I'm looking for a way to find the consistency check problem
> > 
> > transactions
> > 
> > > using the T000... 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.
> 
> I just recomipled from git master and it doesn't look like it's working
> for me.  Typing just "T0" in the ledger search box gets me no
> transactions, and typing a string of 0's only seems to match the dollar
> amount of the transaction.

Ooops, my personal memory is not working anymore ;)

Just use the Edit/Find transaction function and stick the full transaction ID 
(parts won't work) into the text field. That will show all splits. I just 
tried it and it works. This is in master.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-
Unix is simple and coherent, but it takes a genius – or at any rate a
programmer – to understand and appreciate the simplicity. (Dennis Ritchie)
-


signature.asc
Description: This is a digitally signed message part.
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] find transaction using T number

2015-11-14 Thread Jack

On 2015.11.14 08:26, Thomas Baumgart wrote:
Just use the Edit/Find transaction function and stick the full  
transaction ID (parts won't work) into the text field. That will show  
all splits. I just tried it and it works. This is in master.

OK, I can confirm that does work.

Any quick thoughts on how hard it would be to have it also match  
partial numbers instead of the full 19 characters?  Would it be best  
done from the main text field, or from an added field on the details  
tab?


Jack
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] find transaction using T number

2015-11-09 Thread Jack

On 2015.11.09 01:54, Thomas Baumgart wrote:

Hi,

On Monday 09 November 2015 00:28:08 jeffjl@outlook.com wrote:

> I'm looking for a way to find the consistency check problem  
transactions

> using the T000... 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.
I just recomipled from git master and it doesn't look like it's working  
for me.  Typing just "T0" in the ledger search box gets me no  
transactions, and typing a string of 0's only seems to match the dollar  
amount of the transaction.



> Am I missing something or is this capability not provided?

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.

Please be aware to have a good backup before you play with the  
contents. See

https://docs.kde.org/stable4/en/extragear-office/kmymoney/details.formats.html
for more details.

Hope that helps.

--

Regards

Thomas Baumgart

___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] find transaction using T number

2015-11-09 Thread aga



On 09/11/15 15:49, jeffjl@outlook.com wrote:

 > On 09/11/15 06:54, Thomas Baumgart wrote:
 > > Hi,
 > >
 > > On Monday 09 November 2015 00:28:08 jeffjl@outlook.com wrote:
 > >
 > >> I'm looking for a way to find the consistency check problem
transactions
 > >> using the T000... 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


___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] find transaction using T number

2015-11-09 Thread jeffjl.kde
> On 09/11/15 06:54, Thomas Baumgart wrote:
> > Hi,
> >
> > On Monday 09 November 2015 00:28:08 jeffjl@outlook.com wrote:
> >
> >> I'm looking for a way to find the consistency check problem transactions
> >> using the T000... 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?
 
> 
> >
> > 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
  ___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


Re: [Kmymoney-devel] find transaction using T number

2015-11-08 Thread Thomas Baumgart
Hi,

On Monday 09 November 2015 00:28:08 jeffjl@outlook.com wrote:

> I'm looking for a way to find the consistency check problem transactions
> using the T000... 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.

> Am I missing something or is this capability not provided?

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.

Please be aware to have a good backup before you play with the contents. See 
https://docs.kde.org/stable4/en/extragear-office/kmymoney/details.formats.html 
for more details.

Hope that helps.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-
MicroSoft Windows - from the people who brought you edlin
-


signature.asc
Description: This is a digitally signed message part.
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel