protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.DenyAdd = !SessionHelper.IsAdmin();
                scrud.DenyEdit = !SessionHelper.IsAdmin();
                scrud.DenyDelete = !SessionHelper.IsAdmin();

                scrud.KeyColumn = "user_id";

                scrud.TableSchema = "policy";
                scrud.Table = "auto_verification_policy";
                scrud.ViewSchema = "policy";
                scrud.View = "auto_verification_policy_view";

                scrud.PageSize = 100;
                scrud.Width = 2000;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.AutoVerificationPolicy;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.DenyAdd = !MixERP.Net.BusinessLayer.Helpers.SessionHelper.IsAdmin();
                scrud.DenyEdit = !MixERP.Net.BusinessLayer.Helpers.SessionHelper.IsAdmin();
                scrud.DenyDelete = !MixERP.Net.BusinessLayer.Helpers.SessionHelper.IsAdmin();

                scrud.KeyColumn = "user_id";

                scrud.TableSchema = "policy";
                scrud.Table = "auto_verification_policy";
                scrud.ViewSchema = "policy";
                scrud.View = "auto_verification_policy_view";

                scrud.PageSize = 100;
                scrud.Width = 2000;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Resources.Titles.AutoVerificationPolicy;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
Beispiel #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "lead_source_id";

            scrud.TableSchema = "crm";
            scrud.Table = "lead_sources";
            scrud.ViewSchema = "crm";
            scrud.View = "lead_sources";

            scrud.Text = Resources.Titles.LeadSources;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
Beispiel #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "cost_center_id";
            scrud.TableSchema = "office";
            scrud.Table = "cost_centers";
            scrud.ViewSchema = "office";
            scrud.View = "cost_center_view";

            scrud.Text = Resources.Titles.CostCenters;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
Beispiel #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "currency_code";
            scrud.TableSchema = "core";
            scrud.Table = "currencies";
            scrud.ViewSchema = "core";
            scrud.View = "currencies";

            scrud.Text = Resources.Titles.Currencies;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
Beispiel #6
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "ageing_slab_id";

            scrud.TableSchema = "core";
            scrud.Table = "ageing_slabs";
            scrud.ViewSchema = "core";
            scrud.View = "ageing_slabs";

            scrud.Text = Resources.Titles.AgeingSlabSetup;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "ageing_slab_id";

                scrud.TableSchema = "core";
                scrud.Table = "ageing_slabs";
                scrud.ViewSchema = "core";
                scrud.View = "ageing_slabs";

                scrud.Text = Titles.AgeingSlabSetup;
                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "cost_center_id";
                scrud.TableSchema = "office";
                scrud.Table = "cost_centers";
                scrud.ViewSchema = "office";
                scrud.View = "cost_center_view";

                scrud.Text = Titles.CostCenters;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #9
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "currency_code";
                scrud.TableSchema = "core";
                scrud.Table = "currencies";
                scrud.ViewSchema = "core";
                scrud.View = "currencies";

                scrud.Text = Titles.Currencies;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #10
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "unit_id";

            scrud.TableSchema = "core";
            scrud.Table = "units";
            scrud.ViewSchema = "core";
            scrud.View = "units";

            scrud.Text = Resources.Titles.UnitsOfMeasure;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "lead_status_id";

                scrud.TableSchema = "crm";
                scrud.Table = "lead_statuses";
                scrud.ViewSchema = "crm";
                scrud.View = "lead_statuses";
                scrud.Text = Titles.LeadStatuses;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #12
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "fiscal_year_code";

                scrud.TableSchema = "core";
                scrud.Table = "fiscal_year";
                scrud.ViewSchema = "core";
                scrud.View = "fiscal_year";

                scrud.Text = Titles.FiscalYear;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #13
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "item_group_id";
            scrud.TableSchema = "core";
            scrud.Table = "item_groups";
            scrud.ViewSchema = "core";
            scrud.View = "item_groups";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();

            scrud.Text = Resources.Titles.ItemGroups;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
Beispiel #14
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "unit_id";

                scrud.TableSchema = "core";
                scrud.Table = "units";
                scrud.ViewSchema = "core";
                scrud.View = "units";

                scrud.Text = Titles.UnitsOfMeasure;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #15
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "agent_id";
            scrud.TableSchema = "core";
            scrud.Table = "agents";
            scrud.ViewSchema = "core";
            scrud.View = "agent_view";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();
            scrud.SelectedValues = this.GetSelectedValues();

            scrud.Text = Resources.Titles.AgentSetup;
        }
Beispiel #16
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "brand_id";

                scrud.TableSchema = "core";
                scrud.Table = "brands";
                scrud.ViewSchema = "core";
                scrud.View = "brands";

                scrud.Text = Resources.Titles.Brands;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
Beispiel #17
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "role_id";

                scrud.TableSchema = "office";
                scrud.Table = "roles";
                scrud.ViewSchema = "office";
                scrud.View = "roles";

                scrud.Text = Resources.Titles.RoleMaintenance;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
Beispiel #18
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "opportunity_stage_id";

                scrud.TableSchema = "crm";
                scrud.Table = "opportunity_stages";
                scrud.ViewSchema = "crm";
                scrud.View = "opportunity_stages";

                scrud.Text = Resources.Titles.OpportunityStages;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
Beispiel #19
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "store_type_id";

                scrud.TableSchema = "office";
                scrud.Table = "store_types";
                scrud.ViewSchema = "office";
                scrud.View = "store_types";

                scrud.Text = Titles.StoreTypes;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "agent_bonus_setup_id";

            scrud.TableSchema = "core";
            scrud.Table = "agent_bonus_setups";
            scrud.ViewSchema = "core";
            scrud.View = "agent_bonus_setup_view";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();

            scrud.Text = Resources.Titles.AgentBonusSlabAssignment;
            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
Beispiel #21
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "item_group_id";
                scrud.TableSchema = "core";
                scrud.Table = "item_groups";
                scrud.ViewSchema = "core";
                scrud.View = "item_groups";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.ItemGroups;
                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "agent_bonus_setup_id";

                scrud.TableSchema = "core";
                scrud.Table = "agent_bonus_setups";
                scrud.ViewSchema = "core";
                scrud.View = "agent_bonus_setup_view";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.AgentBonusSlabAssignment;
                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #23
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "compound_unit_id";

            scrud.TableSchema = "core";
            scrud.Table = "compound_units";
            scrud.ViewSchema = "core";
            scrud.View = "compound_unit_view";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();

            scrud.Text = Resources.Titles.CompoundUnitsOfMeasure;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            ScrudForm scrud = new ScrudForm();

            scrud.KeyColumn = "cash_repository_id";

            scrud.TableSchema = "office";
            scrud.Table = "cash_repositories";
            scrud.ViewSchema = "office";
            scrud.View = "cash_repository_view";

            scrud.DisplayFields = this.GetDisplayFields();
            scrud.DisplayViews = this.GetDisplayViews();

            scrud.Text = Resources.Titles.CashRepositories;

            ToolkitScriptManager1.NamingContainer.Controls.Add(scrud);
        }
Beispiel #25
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "item_selling_price_id";
                scrud.TableSchema = "core";
                scrud.Table = "item_selling_prices";
                scrud.ViewSchema = "core";
                scrud.View = "item_selling_price_view";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Resources.Titles.ItemSellingPrices;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
Beispiel #26
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "counter_id";

                scrud.TableSchema = "office";
                scrud.Table = "counters";
                scrud.ViewSchema = "office";
                scrud.View = "counters";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Resources.Titles.Counters;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }
Beispiel #27
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "agent_id";
                scrud.TableSchema = "core";
                scrud.Table = "agents";
                scrud.ViewSchema = "core";
                scrud.View = "agent_view";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();
                scrud.SelectedValues = GetSelectedValues();

                scrud.Text = Titles.AgentSetup;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
Beispiel #28
0
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "compound_unit_id";

                scrud.TableSchema = "core";
                scrud.Table = "compound_units";
                scrud.ViewSchema = "core";
                scrud.View = "compound_unit_view";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.CompoundUnitsOfMeasure;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "cash_repository_id";

                scrud.TableSchema = "office";
                scrud.Table = "cash_repositories";
                scrud.ViewSchema = "office";
                scrud.View = "cash_repository_view";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.CashRepositories;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (ScrudForm scrud = new ScrudForm())
            {
                scrud.KeyColumn = "bonus_slab_detail_id";

                scrud.TableSchema = "core";
                scrud.Table = "bonus_slab_details";
                scrud.ViewSchema = "core";
                scrud.View = "bonus_slab_detail_view";

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Resources.Titles.BonusSlabDetails;

                ScriptManager1.NamingContainer.Controls.Add(scrud);
            }
        }