Author Topic: CurrencyAdd Missing <CurrencyAdd> tag  (Read 1010 times)

Vattas

  • Member
  • *
  • Posts: 6
CurrencyAdd Missing <CurrencyAdd> tag
« on: October 12, 2012, 12:13:54 PM »
I noticed that the CurrencyAdd function is not populating the <CurrencyAdd> tags in the Request XML which causes a -1000 error.

If I take the Request value and add the highlighted tags it works without error.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?qbxml version="11.0" ?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<CurrencyAddRq>
<CurrencyAdd>
<Name>Canadian Tire Dollars</Name>
<IsActive>1</IsActive>
<CurrencyCode>CTD</CurrencyCode>
<CurrencyFormat>
<ThousandSeparator>Comma</ThousandSeparator>
<ThousandSeparatorGrouping>XX_XXX_XXX</ThousandSeparatorGrouping>
<DecimalPlaces>2</DecimalPlaces>
<DecimalSeparator>Period</DecimalSeparator>
</CurrencyFormat>
</CurrencyAdd>
</CurrencyAddRq>
</QBXMLMsgsRq>
</QBXML>

Can someone confirm this or suggest a path to correct it?

Thank you