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 comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo
    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 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 comment
    10|10000 characters needed characters exceeded