System.Data.SqlClient.SqlException (0x80131904) Error converting data type nvarchar to numeric.
Environment:
iVend Retail 6.6 7989 With SAP B1 10.0
Problem statement:
iVend Optical Product Master Created in SAP Business, however those failed stuck in integration failure log from SAP To iVend with below error.

System.Data.SqlClient.SqlException (0x80131904) Error converting data type nvarchar to numeric.
Symptoms:
It was configuration issue.
Resolution/Work Around:
Issue resolved after updating the correct value in UDF.
Recommendations /Suggestion:
Numeric type UDF will only accept numeric value.