public JsonResult GenAttributeSetInstance(int C_GenAttributeSet_ID, bool onlyActive)
        {
            Ctx       ctx   = Session["ctx"] as Ctx;
            FormModel model = new FormModel(ctx);

            return(Json(JsonConvert.SerializeObject(model.GenAttributeSetInstance(C_GenAttributeSet_ID, onlyActive)), JsonRequestBehavior.AllowGet));
        }