/// <summary> /// Get customer group summary data /// </summary> /// <returns></returns> public ActionResult CMS100_LoadGroupSummary() { ObjectResultData res = new ObjectResultData(); try { CMS100_ScreenParameter CMS100Param = GetScreenObject <CMS100_ScreenParameter>(); IViewContractHandler hand = ServiceContainer.GetService <IViewContractHandler>() as IViewContractHandler; ICommonHandler comHand = ServiceContainer.GetService <ICommonHandler>() as ICommonHandler; List <doMiscTypeCode> tmpCurrencies = comHand.GetMiscTypeCodeList(new List <doMiscTypeCode>() { new doMiscTypeCode() { FieldName = MiscType.C_CURRENCT, ValueCode = "%" } }).ToList(); List <dtGroupSummaryForShow> lst = hand.GetGroupSummaryForViewCustGrpData(CMS100Param.GroupCode); res.ResultData = CommonUtil.ConvertToXml <dtGroupSummaryForShow>(lst, "Common\\CMS100_Gsum", CommonUtil.GRID_EMPTY_TYPE.VIEW); } catch (Exception ex) { res.AddErrorMessage(ex); } return(Json(res)); }