Bill Gribble wrote:

> > When I go through the new QIF import wizard, the end result is that the
> > QIF data is imported into a brand new account, instead of applying the
> > transactions to an existing account. This new account has the name
> > "Existing Account 2" after it. It does the exact same thing for the
> > expense account as well.
> 
> this means that "Existing Account" is not 'compatible' with the account
> that you names as "Existing Account" in the QIF importer.
> 
> 'compatible' means:
>  - same Currency and Security
>  - compatible Type
> 
> and so on.  You don't want to assume that a QIF imported account with
> currency in dollars is the same as one that happens to already exist but
> has currency of Euros, for example, or that a Bank account and an
> Expense account are the same, so we change the name of the imported
> account slightly when there's a collision.
> 
> It's altogether possible that the compatibility check is failing for two
> accounts that ought to be compatible.  The way to determine that is
> first to understand what the QIF importer thought was so different about
> the account that was described in the QIF file from the account that
> already existed.
> 
> Look at "Existing Account" and "Existing Account 2" in the Account
> Editor.  What's the same and/or different about them?

When saved, the XML for the original account goes as follows:

<gnc:account version="2.0.0">
  <act:name>Straight</act:name>
  <act:id type="guid">694bd161c4e8e4a8da563c618b6b66fc</act:id>
  <act:type>CREDIT</act:type>
  <act:currency>
    <cmdty:space>ISO4217</cmdty:space>
    <cmdty:id>ZAR</cmdty:id>
  </act:currency>
  <act:currency-scu>100</act:currency-scu>
  <act:code>XXXX XXXX XXXX 6027</act:code>
  <act:slots>
    <slot>
      <slot:key>reconcile-info</slot:key>
      <slot:value type="frame">
        <slot>
          <slot:key>last-date</slot:key>
          <slot:value type="integer">1003528800</slot:value>
        </slot>
      </slot:value>
    </slot>
  </act:slots>
  <act:parent type="guid">ab28bfaf404dee5949e09216e29a8082</act:parent>
</gnc:account>

The new account created as a result of the clash goes as follows:

<gnc:account version="2.0.0">
  <act:name>Straight</act:name>
  <act:id type="guid">45d058baf4a31901b4473ce3d2b8eb31</act:id>
  <act:type>CREDIT</act:type>
  <act:currency>
    <cmdty:space>ISO4217</cmdty:space>
    <cmdty:id>ZAR</cmdty:id>
  </act:currency>
  <act:currency-scu>100</act:currency-scu>
  <act:code>XXXX XXXX XXXX 6027</act:code>
  <act:parent type="guid">08102a66afdf40d3c96e53934e2043bc</act:parent>
</gnc:account>

I cannot see anything obvious that should make these two dramatically
"different" - why would the new account be created?

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to