public static void WMUpdRequestPart(object objRequest) { iPartRequestClient objService = new iPartRequestClient(); try { Dictionary <string, object> dictionary = new Dictionary <string, object>(); dictionary = (Dictionary <string, object>)objRequest; CustomProfile profile = CustomProfile.GetProfile(); POR_SP_GetPartDetail_ForRequest_Result PartRequest = new POR_SP_GetPartDetail_ForRequest_Result(); PartRequest.Sequence = Convert.ToInt64(dictionary["Sequence"]); PartRequest.RequestQty = Convert.ToDecimal(dictionary["RequestQty"]); PartRequest.UOMID = Convert.ToInt64(dictionary["UOMID"]); PartRequest.Total = Convert.ToDecimal(dictionary["Total"]); objService.UpdatePartRequest_TempData1(HttpContext.Current.Session.SessionID, ObjectName, profile.Personal.UserID.ToString(), PartRequest, profile.DBConnection._constr); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, "Request Template", "WMUpdRequestPart"); } finally { objService.Close(); } }