public static int WMRemovePartFromRequest(Int32 Sequence) { int editOrder = 0; BrilliantWMS.WMSOutbound.iOutboundClient Outbound = new WMSOutbound.iOutboundClient(); CustomProfile profile = CustomProfile.GetProfile(); try { Dictionary <string, object> dictionary = new Dictionary <string, object>(); Outbound.RemovePartFromTransfer_TempDataTR(HttpContext.Current.Session.SessionID, profile.Personal.UserID.ToString(), ObjectName, Sequence, profile.DBConnection._constr); editOrder = 1; } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, "WToWTransferDetail.aspx", "WMRemovePartFromRequest"); } finally { Outbound.Close(); } return(editOrder); }