cancel
Showing results for 
Search instead for 
Did you mean: 

Error -4008, Invalid currency

0 Kudos

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.??

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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.

Former Member
0 Kudos

Hi,

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

Thanks,

Gordon