private void SaveTransferLog(string batchNo, string errorMsg, string interf, string sysCode, int status)
 {
     SAPTransferLog transLog = new SAPTransferLog();
     transLog.BatchNo = batchNo;
     transLog.Interface = interf;
     transLog.Status = status;
     transLog.SysCode = sysCode;
     transLog.TransDate = DateTime.Now;
     transLog.ErrorMsg = errorMsg;
     this.genericMgr.Create(transLog);
 }
Ejemplo n.º 2
0
 public void SaveTransferLog(string batchNo, string errorMsg, string interf, string sysCode, int status, int rowcount, DateTime? transStartDate, DateTime? dataFromDate, DateTime? dataToDate)
 {
     SAPTransferLog transLog = new SAPTransferLog();
     transLog.BatchNo = batchNo;
     transLog.Interface = interf;
     transLog.Status = status;
     transLog.SysCode = sysCode;
     transLog.TransDate = DateTime.Now;
     transLog.TransStartDate = transStartDate;
     transLog.DataFromDate = dataFromDate;
     transLog.DataToDate = dataToDate;
     transLog.ErrorMsg = errorMsg;
     transLog.RowCounts = rowcount;
     this.genericMgr.Create(transLog);
 }