public static void RejectGINEditRequest() { PageDataTransfer transferedData = new PageDataTransfer(HttpContext.Current.Request.Path); GINEditingRequest request = (GINEditingRequest)transferedData.GetTransferedData("GINEditingRequest"); ECXWF.ECXEngine engine = new WarehouseApplication.ECXWF.ECXEngine(); engine.CloseTransaction(request.TransactionId); }
public static void Close(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.CloseTransaction(TransactionNo); } catch (Exception ex) { throw new Exception("Workflow Engine Exception: Unable to close task.", ex); } }