
Error message :
System.IndexOutOfRangeException: There is no row at position 0.
at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at ReplicationSBOIntegrationWinSer.IntegrationObjects.Base.IntegrationBase.UpdateInvoiceCustomUserDefinedFields(Documents oDocument)
at ReplicationSBOIntegrationWinSer.IntegrationObjects.Base.ARInvoice.CreateARInvoice(DataRow[] objDataRow, DataRow[] objDataRowSurcharges, DataSet ObjDataSetTransactionAttribute, DataSet ObjDataSetTransactionLineAttribute, Decimal passedRoundingAmount, Decimal& roundingAmount, Boolean& isRolledBack)
at ReplicationSBOIntegrationWinSer.IntegrationObjects.Transactions.Replicate(Direction From, Direction To, Int32 DatasetRowID)
at ReplicationSBOIntegrationWinSer.Integrator.MainStart(DateTime LastRetryAt, Boolean& Retried) || StackTrace: at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at ReplicationSBOIntegrationWinSer.IntegrationObjects.Base.IntegrationBase.UpdateInvoiceCustomUserDefinedFields(Documents oDocument)
at ReplicationSBOIntegrationWinSer.IntegrationObjects.Base.ARInvoice.CreateARInvoice(DataRow[] objDataRow, DataRow[] objDataRowSurcharges, DataSet ObjDataSetTransactionAttribute, DataSet ObjDataSetTransactionLineAttribute, Decimal passedRoundingAmount, Decimal& roundingAmount, Boolean& isRolledBack)
at ReplicationSBOIntegrationWinSer.IntegrationObjects.Transactions.Replicate(Direction From, Direction To, Int32 DatasetRowID)
at ReplicationSBOIntegrationWinSer.Integrator.MainStart(DateTime LastRetryAt, Boolean& Retried)