<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <div class="moz-cite-prefix">On 3/19/21 3:19 AM, Thomas Baumgart
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:11741620.O9o76ZdvQC@thb-nb">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi
        Jack,</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On
        Donnerstag, 18. März 2021 19:59:49 CET Jack wrote:</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        With KMyMoney from 5.1 git head, and libofx 0.10.1, ofx import
        is  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        failing to import one particular transaction.  This is with
        either  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        direct connect or a downloaded file.  It looks like that the
        specific  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        transaction type is not recognized.  (Note I've substituted
        123456  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        below for the actual account number.)</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        The section from the ofx file is:</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>           
        <INVBANKTRAN></p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>             
        <STMTTRN></p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>               
        <TRNTYPE>DIRECTDEP</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>               
        <DTPOSTED>20210317110000.000[-5:EST]</DTPOSTED></p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>               
        <TRNAMT>2800</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>               
        <FITID>20210317AF051005900003552</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>               
        <NAME>Direct Deposit</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>               
        <MEMO>IRS  TREAS 310 OSTROFF, JACK H &amp; MARG</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>             
        </STMTTRN></p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>             
        <SUBACCTFUND>CASH</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>           
        </INVBANKTRAN></p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        and ofxdump produces:</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        ofx_proc_transaction():</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Account ID : <a class="moz-txt-link-abbreviated" href="http://www.mldirect.ml.com">www.mldirect.ml.com</a> 123456</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Transaction type: DIRECTDEP: Direct deposit</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Date posted: Wed Mar 17 11:00:00 2021 EDT</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Total money amount: 2800.00</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        # of units: -2800.0000 (bonds: face value; options: contracts;
        all  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        others: shares)</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Unit price: 1.0000 (bonds: % of par; options: premium per share
        of  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        underlying; all others: price per share)</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Financial institution's ID for this transaction:  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        20210317AF051005900003552</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Investment transaction type: INVBANKTRAN (Transfer cash in and
        out  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        of the investment account)</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Name of payee or transaction description: Direct Deposit</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Extra transaction information (memo): IRS  TREAS 310 OSTROFF,
        JACK  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        H & MARG</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>     
        Funding sub account type: CASH</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        If I run from command line, I see:</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        OfxImporterPlugin::storeStatements() with 1 statements called</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        OfxImporterPlugin::importStatement start</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        KMyMoneyPlugin::KMMStatementInterface::import start</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Updating account in MyMoneyStatementReader::startImport failed</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This
        means, the plugin has already converted the OFX specifics into
        the</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">KMyMoney
        general statement import format. You can turn on logging for it</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">and
        check for any peculiarities.</p>
    </blockquote>
    I'll have to check again, but I thought I did have logging on.  The
    above was from the downloaded file, but I confirmed it matched what
    was in ofxlog.txt.  That transaction does NOT show up in the
    generated kmm-statement-.... file. That file has no TRANSACTION
    parts, but I do see the four SECURITY entries.<br>
    <blockquote type="cite" cite="mid:11741620.O9o76ZdvQC@thb-nb">
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Importing statement for 'Investment account 123456 at broker  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        <a class="moz-txt-link-abbreviated" href="http://www.mldirect.ml.com">www.mldirect.ml.com</a>'</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Found  "VIATRIS INC"  with id  "E000001"</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Found  "PFIZER INC"  with id  "E000002"</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Found  "ML BANK DEPOSIT PROGRAM"  with id  "E000003"</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Found  "INVESCO S AND P SMALLCAP HEALTH CARE ETF"  with id 
        "E000004"</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Processing transactions (Investment account 123456 at broker  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        <a class="moz-txt-link-abbreviated" href="http://www.mldirect.ml.com">www.mldirect.ml.com</a>)</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Processing transactions done (Investment account 88055741 at
        broker  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        <a class="moz-txt-link-abbreviated" href="http://www.mldirect.ml.com">www.mldirect.ml.com</a>)</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Importing statement for 'Investment account 123456 at broker  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        <a class="moz-txt-link-abbreviated" href="http://www.mldirect.ml.com">www.mldirect.ml.com</a>' done</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Note that "Updating .... failed" was present with either the
        original  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        account number or the replacement, in either my original data
        file, or  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        a new one with only a new investment and brokerage account I
        created  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        for testing.  I've tried changing "DIRECTDEP" to various other
        values,  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        with no change in the import behavior - no transactions are
        imported.   </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        What is odd is that a nearly identical deposit in January
        imported with  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        no problem - but importing an OFX file from the bank for that
        date now  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        also seems to ignore that transaction.  That makes me wonder if
        this is  </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        a change in behavior of either KMM or libofx.</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
      </p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
        Thanks for any thoughts or suggestions.</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">See
        above.</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">--
      </p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Regards</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thomas
        Baumgart</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><a class="moz-txt-link-freetext" href="https://www.signal.org/">https://www.signal.org/</a>      
        Signal, the better WhatsApp</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-------------------------------------------------------------</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">'Only
        wimps use backup: _real_ men just upload their important stuff</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">on
        ftp, and let the rest of the world mirror it ;)' - Linus
        Torvalds</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-------------------------------------------------------------</p>
      <br>
    </blockquote>
  </body>
</html>