xacc -> gnucash

Nicolas SABOURET Nicolas.Sabouret@limsi.fr
Tue, 09 Jul 2002 10:05:19 +0200


Todd Kokoszka wrote:
> 
> Do they all use the same currency? 

In my account file, old accounts look like this :

<gnc:account version="2.0.0">
  <act:name>Foo</act:name>
  <act:id type="guid">...</act:id>
  <act:type>EXPENSE</act:type>
  <act:currency>
    <cmdty:space>AMEX</cmdty:space>
    <cmdty:id>EUR</cmdty:id>
  </act:currency>
  <act:currency-scu>100</act:currency-scu>
 [<act:parent type="guid">...</act:parent>]
</gnc:account>

Whereas new accounts look like that :

<gnc:account version="2.0.0">
  <act:name>Bar</act:name>
  <act:id type="guid">...</act:id>
  <act:type>EXPENSE</act:type>
  <act:currency>
    <cmdty:space>ISO4217</cmdty:space>
    <cmdty:id>EUR</cmdty:id>
  </act:currency>
  <act:currency-scu>100</act:currency-scu>
  <act:slots>
    <slot>
      <slot:key>notes</slot:key>
      <slot:value type="string"/>
    </slot>
  </act:slots>
 [<act:parent type="guid">...</act:parent>]
</gnc:account>


In the first case, currency//space is AMEX whereas in the second one,
currenct//space is ISO4217.

Sould I also replace all the AMEX by ISO4217 ? Will this work ? Why
didn't the account import do this (maybe a bug) ?
Could the problem come from the "slot" element ?

Thanks in advance for your answers,
	Nico.
-- 
Nicolas SABOURET
LIMSI-CNRS, BP133, 91403 Orsay, France
http://www.limsi.fr/Individu/nico