Here's a small patch for the QIF importer that lets it recognize a
401(k)/403(b) account type. This can appear in the "T" line of the list of
accounts like so:
!Option:AutoSwitch
!Account
NMy 401K Account
T401(k)/403(b)
^
All the patch does is recognize the type and map it the same way as other
investment accounts. Without this change, the importer was printing a
warning and defaulting the type (to the correct value, by chance).
Cheers,
Charles
Index: src/import-export/qif-import/qif-parse.scm
===================================================================
--- src/import-export/qif-import/qif-parse.scm (revision 16850)
+++ src/import-export/qif-import/qif-parse.scm (working copy)
@@ -156,6 +156,8 @@
(list GNC-CCARD-TYPE))
((string=? mangled-string "invst") ;; these are brokerage accounts.
(list GNC-BANK-TYPE))
+ ((string=? mangled-string "401(k)/403(b)")
+ (list GNC-BANK-TYPE))
((string=? mangled-string "oth a")
(list GNC-ASSET-TYPE GNC-BANK-TYPE GNC-CASH-TYPE))
((string=? mangled-string "oth l")
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel