/// <summary> /// this will insert the difference into KSF_SYSTEM_SOA_FAIL_TRANS table /// </summary> /// <param name="difference">List string of Transaction Id </param> /// <param name="sh">Instance of Service Helper</param> /// <param name="inputDate">selected Date</param> private static void Insert_SOA_Fail_Trans(IEnumerable <string> difference, ServiceHelper sh, DateTime inputDate) { SWTNBHelper sw = new SWTNBHelper(); if (difference.Count() > 0) { try { //sw.DeleteFailTrans(DateTime.Now, sh, inputDate); int totalRows = sw.Insert_SOAFailTrans(difference, inputDate, sh); PrintHelper.Trace(string.Format(Messages.TotalRowsInserted, totalRows.ToString())); } catch (Exception ex) { PrintHelper.Error(Messages.InsertDataFail); PrintHelper.Error(ex.ToString()); } } }