Esempio n. 1
0
        public JsonResult Select_VehicleReceiptVoucherNo(string EnquiryId, string DealerCode)
        {
            string data = "";
            bool result = false;
            DealerCode = Session["DealerCode"].ToString();
            data = VehReceiptMethods.Get_VehicleReceiptVouchNo(EnquiryId, DealerCode);
            Session["VoucherNo"] = data;
            if (!string.IsNullOrEmpty(data))
            {
                result = true;
            }

            return Json(new { Success = result, Response = data }, JsonRequestBehavior.AllowGet);
        }