public static void WMUpdTransferPart(object objTransfer) { BrilliantWMS.WMSOutbound.iOutboundClient Outbound = new WMSOutbound.iOutboundClient(); BrilliantWMS.WMSInbound.iInboundClient Inbound = new WMSInbound.iInboundClient(); try { Dictionary <string, object> dictionary = new Dictionary <string, object>(); dictionary = (Dictionary <string, object>)objTransfer; CustomProfile profile = CustomProfile.GetProfile(); string uom = Inbound.GetUOMName(Convert.ToInt64(dictionary["UOMID"]), profile.DBConnection._constr); BrilliantWMS.WMSOutbound.WMS_SP_GetPartDetail_ForTransfer_Result PartTransfer = new WMSOutbound.WMS_SP_GetPartDetail_ForTransfer_Result(); PartTransfer.Sequence = Convert.ToInt64(dictionary["Sequence"]); PartTransfer.Qty = Convert.ToDecimal(dictionary["Qty"]); //PartRequest.UOM = uom; PartTransfer.UOMID = Convert.ToInt64(dictionary["UOMID"]); Outbound.UpdateTransfer_TempDataTR(HttpContext.Current.Session.SessionID, ObjectName, profile.Personal.UserID.ToString(), PartTransfer, profile.DBConnection._constr); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, "WToWTransferDetail.aspx", "WMUpdRequestPart"); } finally { Outbound.Close(); } }