Until the new QIF importer supports all the functionality of the old
(all-in-one QIF import, in particular), should we have an easy method to
access the routines in QIFIO.c, perhaps an entry on the Extensions menu?
Or is there some other way to get to the old parser?
Also, QIFIO.c's special case for the Opening Balance transactions breaks
getting the transfer account for a first transaction that just happens to
be called Opening Balance, if you're doing an all-in-one QIF file import.
Managing Your Money by default creates just such an Opening Balance
transaction (a transfer from the Equity account). This patch should
fix the problem.
kdy
--- src/engine/QIFIO.c.orig Tue Mar 28 02:52:46 2000
+++ src/engine/QIFIO.c Fri Apr 7 01:53:44 2000
@@ -854,8 +854,7 @@
* for the very, very first transaction. This also seems to be the case
* for Quicken 5.0 (and others?).
*/
- if (opening_balance) {
- if (guess_name) {
+ if (opening_balance && guess_name) {
/* remove square brackets from name, remove carriage return ... */
qifline = &qifline[1];
if ('[' == qifline[0]) {
@@ -868,7 +867,6 @@
tmp = strchr (qifline, '\n');
if (tmp) *tmp = 0x0;
xaccAccountSetName (acc, qifline);
- }
} else {
/* locate the transfer account */
xfer_acc = xaccGetXferQIFAccount (acc, qifline);
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]