***************** Internal Article *****************
Integration Failed records (Customer type, update events) from SAP to iVend. Below is the error coming:
System.FormatException: Input string was not in the correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)at System.Convert.ToInt64(String value) at ReplicationSBOIntegrationWinSer.IntegrationObjects.Customer.Replicate(Direction From, Direction To, Int32 DatasetRowID)
at ReplicationSBOIntegrationWinSer.Integrator.MainStart(DateTime LastRetryAt, Boolean& Retried)
Check there may be Null values in CommentKey in iVend for any customer in the CusCustomerComment table hence causing the issue.
Run SQL queries and correct the null values with 0 then re-trigger all failed records. Which in-return should sync into iVend.