Integration Error System.Data.SqlClient.SqlException(0x80131904): Incorrect syntax near

Integration Error System.Data.SqlClient.SqlException(0x80131904): Incorrect syntax near

Environment :


iVend 6.6.8567

Problem Statement : 

Customer facing below integration error from SAP to iVend.

“System.Data.SqlClient.SqlException(0x80131904): Incorrect syntax near ','”




Symptoms:

--We observed that the currency 'AUD' is mentioned in the SAP item master details, but it is not configured in the SAP currency master.

-- User can check the data by running below query in SAP
select * from ITM1 where ItemCode= 'Put the problematic item'

Resolution/workaround: 

1. Remove the additional currency from the item master.
2. Configure the currency in SAP currency setup which is mentioned as additional currency in item master.


Reference Ticket: #17665