Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="bp_Type"></param>
        /// <returns></returns>
        public JsonResult GetBPHeaderForPSAutomation(string bp_Type, string Effective_from, string Effective_to, int Value)
        {
            string userCode    = _objCurrentInfo.GetUserCode();
            string companyCode = _objCurrentInfo.GetCompanyCode();
            //  StringBuilder bpHeaderRowsHTMLFormat = new StringBuilder();
            DataSet ds = _objSPData.GetBatchProcessingHeaderForPSAutomation(companyCode, bp_Type, userCode, Effective_from, Effective_to, Value);

            DataControl.JSONConverter _objJson = new DataControl.JSONConverter();
            return(Json(_objJson.Serialize(ds), JsonRequestBehavior.AllowGet));
        }