[kmymoney4] [Bug 343484] Transactions created with no payee/receiver after OFX import when payee has default account

Ralf Habacker bugzilla_noreply at kde.org
Mon Jul 31 12:55:35 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=343484

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |CONFIRMED

--- Comment #7 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to BobSCA from comment #0)
> When an OFX file is imported, if there are transactions which specify an
> existing payee for which a default account has been assigned, then each of
> those transactions will appear in 2 registers as expected. 
showed by test case
> In the register of the account for which the import is performed
which is account2 

> the payee info appears in both the payee and memo fields (this seems redundant but I assume there is a
> reason for it).

This is the case if the memo field is not set in the ofx file -> see statement
with date '201401312' - not sure if this is a bug or a feature. 

> In the register of the account specified as the default account for the
> payee, however, the transaction appears with no payee information in either
> the payee or memo field.

Could be reproduced with appended test files.

Saving the file as xml file the related accounts looks like 

  <ACCOUNT currency="EUR" description="" parentaccount="AStd::Asset"
opened="2014-01-01" number="" lastmodified="2017-07-31" type="1" id="A000001"
lastreconciled="" institution="" name="Account2">
  </ACCOUNT>
  <ACCOUNT currency="EUR" description="" parentaccount="AStd::Expense"
opened="1900-01-01" number="" lastmodified="2017-07-31" type="13" id="A000002"
lastreconciled="" institution="" name="Account1">
  </ACCOUNT>

and the transaction as 

  <TRANSACTION postdate="2014-01-31" commodity="EUR" memo="payee"
id="T000000000000000007" entrydate="2017-07-31">
   <SPLITS>
    <SPLIT payee="" reconcileflag="1" shares="-139/100" reconciledate=""
action="" bankid="" account="A000002" number="" value="-139/100" memo=""
id="S0001"/>
    <SPLIT payee="P000001" reconcileflag="0" shares="139/100" reconciledate=""
action="" bankid="ID 201401312" account="A000001" number="" value="139/100"
memo="payee" id="S0002"/>
   </SPLITS>
   <KEYVALUEPAIRS>
    <PAIR key="Imported" value="true"/>
   </KEYVALUEPAIRS>
  </TRANSACTION>

The transactions consists of two splits. The one for Account1 does not have the
memo or payee set as shown below:

    <SPLIT payee="" reconcileflag="1" shares="-139/100" reconciledate=""
action="" bankid="" account="A000002" number="" value="-139/100" memo=""
id="S0001"/>

This indicates that the importer does not create them.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list