Esempio n. 1
0
 public static void Remove(string TransactionNo)
 {
     TransactionNo = TransactionNo.Trim();
     if (String.IsNullOrEmpty(TransactionNo) == true)
     {
         throw new InvalidTransactionNumber("Invalid Tracking Number");
     }
     try
     {
         ECXWF.ECXEngine eng = new WarehouseApplication.ECXWF.ECXEngine();
         eng.RemoveTransaction(TransactionNo);
     }
     catch (Exception ex)
     {
         throw new Exception("Workflow Engine Exception: Unable to Remove task.", ex);
     }
 }
Esempio n. 2
0
 public static void RemoveWorkflowTask(string transactionId)
 {
     ECXWF.ECXEngine eng = new WarehouseApplication.ECXWF.ECXEngine();
     eng.RemoveTransaction(transactionId);
 }