web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GetBatchByKey throws exception An ISO 4217 Currency Code must be three characters long; your value is

(0) ShareShare
ReportReport
Posted on by

I am using Web Services of GP 2010 to get Batch using ID/Key. It thorows exception and when I look at DynamicsWebServicesExceptionsConsole it shows An ISO 4217 Currency Code must be three characters long; your value is 

Batch.Read18_MoneyAmount(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBatch.Read26_Batch(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderBatch.Read27_Batch()

Upon googling I saw https://support.microsoft.com/en-us/kb/924546 KB. I see currencies having duplicate ISO currency codes but they are for AUD and Z-AUD currency. What am I supposed to do fix my error?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Bill Campbell Profile Picture
    12 on at

    If memory servers correctly, you have to have a 'unique three' digit code for each currency, regardless of the fact that one is Z-AUD and the other is AUD.

    Which one you use, make the correct ISO, the other, chose 3 digits (not already used)

    Let us know if that resolves.

  • Community Member Profile Picture
    on at

    Hi Bill,

    select CURNCYID, CURRNIDX, ISOCURRC from DYNAMICS..MC40200

    CURNCYID CURRNIDX ISOCURRC
    Z-AUD 1000 ZAU
    Z-C$ 1001 ZCD
    Z-DM 1002 DKK
    Z-NZD 1003 ZNZ
    Z-SA 1004 ZAR
    Z-SGD 1005 ZSG
    Z-UK 1006 ZGB
    Z-US$ 1007 ZUS
    HKD 1008 HKD
    AUD 1009 AUD
    USD 1010 USD
    SGD 1011 SGD
    NZD 1012 NZD


    select FUNLCURR, FUNCRIDX from MC40000

    FUNLCURR FUNCRIDX
    AUD 1009

    Above query output does not show any duplicate Currency Code.

    Thanks,

    Sai

  • Community Member Profile Picture
    on at

    Interestingly, the issue is resolved now. Machine restart did the trick, I guess.

  • Bill Campbell Profile Picture
    12 on at

    Which machine needed the re-start?

    Good news that it works. Just a follow on question for you to complete the case notes.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans