After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108375 - QIF import fails to import comments
QIF import fails to import comments
Status: VERIFIED NOTABUG
Product: GnuCash
Classification: Other
Component: Import - Other
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
seen where the problem is.
Depends on:
Blocks:
 
 
Reported: 2003-03-14 11:06 UTC by Stan Pinte
Modified: 2018-06-29 20:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example of a QIF file (304 bytes, text/plain)
2003-03-14 11:07 UTC, Stan Pinte
Details

Description Stan Pinte 2003-03-14 11:06:55 UTC
QIF import fails to import comments:

the following QIF file creates the correct amount of transactions, with the
correct dates and amounts, put only the lines starting with "P" get into
the description field, whereas the fields starting with "M" should be
considered as the second line...

!Type:Bank
D11-03-2003
N
PTRANSFER FROM              
MPARTENA MUTUALITE LIBRE 0015881390270 CO
T24,60
C*
^
D11-03-2003
N
PBCT/MR CASH PAYMENT        
M310000148115 VERELST MECHELEN 11/03/03 1
T-12,05
C*
^
D10-03-2003
N
PBCT/MR CASH PAYMENT        
M310000148115 VERELST MECHELEN 10/03/03 1
T-11,20
C*
^
Comment 1 Stan Pinte 2003-03-14 11:07:42 UTC
Created attachment 15013 [details]
example of a QIF file
Comment 2 Stan Pinte 2003-03-14 12:31:57 UTC
 ;; fixme: bug #105 
    (if qif-payee
        (gnc:transaction-set-description gnc-xtn qif-payee))
    (if qif-number
        (gnc:transaction-set-xnum gnc-xtn qif-number))
    (if qif-memo
	(begin
	  (gnc:split-set-memo gnc-near-split qif-memo)
	  (if (or (not qif-payee)
		  (equal? qif-payee ""))
	      (gnc:transaction-set-description gnc-xtn qif-memo))))


--> the problem is there: (in qif-to-gnc.scm)...

if there is a payee...then the "memo" field is dropped...whereas in my
case I would like to get the "memo", as description...

I don't know what is the standard QIF-gnucash convention, but I
certainly would like the "memo" to be used as a description  in my
gnuucash TXN, rather than the payee...or maybe a concatenation of the two.
Comment 3 Derek Atkins 2003-03-14 16:04:28 UTC
No, you are mis-reading that scheme.  Each of payee, number, and memo
are stored.  That scheme code is the equivalent to:

if (payee) { store payee }
if (number) { store number }
if (memo) { store memo in near-split;
            if (no payee) { store memo in txn } }

So, this is the correct behavior, not a bug.

Comment 4 Stan Pinte 2003-03-14 16:08:12 UTC
I agree with you...I realized if after posting my bug (see my mail on
gnucash-devel)...

sorry. what should I do? Close the bug?
Comment 5 John Ralls 2018-06-29 20:30:03 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=108375. Please update any external references or bookmarks.