Exemple #1
0
        protected void btnMAP_Click(object sender, EventArgs e)
        {
            int mappingId;

            if (string.IsNullOrEmpty(ddlUnMappedIssues.SelectedValue))
            {
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "pageloadscript", "alert('Please select Issue');", true);
                return;
            }
            if (Request.QueryString["ID"] != null)
            {
                commissionStructureRuleVo.CommissionStructureId = Convert.ToInt32(Request.QueryString["ID"].Trim().ToString());
            }
            commissionStructureRuleVo.IssueId = Convert.ToInt32(ddlUnMappedIssues.SelectedValue);
            commisionReceivableBo.CreateIssuesStructureMapings(commissionStructureRuleVo, out mappingId);
            GetUnamppedIssues(ddlIssueType.SelectedValue);
            GetMapped_Unmapped_Issues("Mapped", "");
        }