Skip to Content

Error -4008, Invalid currency

Hello,

After upgrade to SBO 8.8.1 PL4 addon which adds Goods Receipt via DI API returns error message: "Invalid currency".

I checked SQL profiler and it stops after this line:

exec sp_executesql N'SELECT T0.[CurrCode] FROM [dbo].[OCRN] T0 WHERE T0.[CurrCode] = (@P1) ',N'@P1 nvarchar(4)',N'컘༿㄀'

Databse is with polish localization so i guess that "컘༿㄀'" currency code is the probem. I've also noticed that this currency code is differrent every time.

Is there any workaround for this issue.??

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 12:24 PM

    Hi,

    This is probably a bug. You need to log a support ticket for this.

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 05, 2011 at 01:40 PM

    Hello Gordon

    Problem was with Price rounding. In addon i used to pass Price with 6 digit precision(price was calculated from Goods Issue value) and system autoamtically rounded it . It worked for SBO 2007A. Now i need to round price as 2 digits and its working fine.

    Anyway for some reason it can be a bug.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.