ERP integration error System.FormatException: Input string was not in a correct format.

ERP integration error System.FormatException: Input string was not in a correct format.

***************** Internal Article *****************

Product Version:

iVend 6.5 Update 6 with SAP B1

 

Problem Statement

Record stuck on Integration Failure Monitor with error message from SAP to iVend.

 

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.InventoryStockTransfer.CreateInventoryStockTransfer(DataRow[] objDataRow, DataSet objDataSetSerialBatch, Direction From, Direction To, String iVendSBOSTNumber, Boolean IsGoodReceiptST, DataRow[] objDataRowUserDefinedFields) at ReplicationSBOIntegrationWinSer.IntegrationObjects.Transactions.Replicate(Direction From, Direction To, Int32 DatasetRowID) at ReplicationSBOIntegrationWinSer.Integrator.MainStart(DateTime LastRetryAt, Boolean& Retried)


 

Proposed Solution: 

Log Date Time is incorrect which seems causing the issue Log Date time ie. 20/8/2562:Suggested to check the date of Stock Transfer in SAP and compare it with iVend Transnational data

 

Steps if any: 

NA

 

Constraints / Scenarios:  

NA