Esempio n. 1
0
        public JsonResult PostByNewLogic(int AD_Client_ID)
        {
            Ctx    ctx = Session["ctx"] as Ctx;
            string res = "No";

            MClientInfo info = MClientInfo.Get(ctx, AD_Client_ID);
            MAcctSchema ass  = new MAcctSchema(ctx, info.GetC_AcctSchema1_ID(), null);

            if (ass.GetFRPT_LocAcct_ID() > 0)
            {
                res = "Yes";
            }

            return(Json(new { result = res }, JsonRequestBehavior.AllowGet));
        }