> 
> Where is the code that checks for duplicate transactions during import?
> I suspect my problem may be that Quicken does not force identity across
> transfers for some details (such as cheque number) that gnucash compares.
> If I were to patch gnucash (even temporarily, for just one run) to ignore
> cheque numbers and memos and such for transfers between bank, credit, and cas
> accounts (but not for income or expense accounts) my data would likely import
> flawlessly.  The obvious place to make the changes in  xaccSplitMatch or
> xaccTransMatch, but I can't seem to find how they are called from QIFIO
> or gc-import-qifs.  Am I still missing something here?
 
QIFIO.c is not used in 1.3.3 anymore. I'm not familiar with the new
scheme code (Bill Gribble would know the details of what happens
where). The new importer does try to be smarter about matching
splits.

The QIFIO.c importer, used in 1.3.2, requires that two splits
be identical in all fields except the reconcile field in order
for a match to occur. Typically, in Quicken, splits that are
supposed to match will differ in the Num field, for example.

xaccTransMatch is called by xaccConsolidateTransactions which
is called after the qif is imported by QIFIO.c to try to eliminate
duplicate transactions. Again, this is only for 1.3.2.


> > >   (a) uninstall?
> > 
> > No, not with the current build system.
> 
> But if I make an gnucash RPM for SuSE I might be able to uninstall that.
 
Yes, definitely.


> > 
> > >   (b) build an RPM?
> > 
> > Have you built one before? The gnucash.spec file in the rpm
> > directory is what I have used.
> 
> Thanks.  No, I haven't.  It looks as if I have some reading to do.

Here is how I build one:

cvs export -r gnucash-1-3-3 -d gnucash-1.3.3 gnucash

 (that makes a directory gnucash-1.3.3 with the 1.3.3 release in it)

tar cvzf gnucash-1.3.3.tar.gz gnucash-1.3.3

 (that makes the tar file. now move the tar file to the SOURCES
  directory in your distribution. copy the gnucash.spec file to
  the SPECS directory. Since you got 1.3.2 to compile you should
  have all the needed libraries.)

(in the SPECS directory)

unset LINGUAS ; rpm -ba gnucash.spec

(that will build binary and src rpms. use -bb if you just
 want the binary rpm.)

dave

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to