Example #1
0
    protected void lnk_genCaseRpt_OnClick(object sender, EventArgs e)
    {
        clearMessages();

        try
        {
            VWA_Results.GenerateReport("CaseInfo", Page.Request.QueryString["id"]);
        }
        catch (Exception ex)
        {
            errorDiv1.Visible = true;
            lblError1.Text    = ex.Message;
        }
    }
Example #2
0
    protected void lnk_gen_statCtrRpt_OnClick(object sender, EventArgs e)
    {
        lbl_error.Visible = false;
        string yrmo = ddlYrmo.SelectedItem.Text;

        try
        {
            VWA_Results.GenerateReport("TranStatCtr", yrmo);
        }
        catch (Exception ex)
        {
            lbl_error.Visible = true; lbl_error.Text = "Error in generating HRA Eligibility File<br />" + ex.Message;
        }
    }
    protected void lnk_genDiscpRpt_OnClick(Object sender, EventArgs e)
    {
        string yrmo = ddlYrmo.SelectedItem.Text;

        lblError1.Text = "";

        try
        {
            VWA_Results.GenerateReport("BankDisp", yrmo);
        }
        catch (Exception ex)
        {
            errorDiv1.Visible = true;
            lblError1.Text    = "Error in generating VWA Bank Statement Discrepancy Report<br />" + ex.Message;
        }
    }
    protected void lnk_genInputRpt_OnClick(object sender, EventArgs e)
    {
        string yrmo = ddlYrmo.SelectedItem.Text;

        ErrMsgDiv2.Visible = false;

        try
        {
            VWA_Results.GenerateReport("RemitInput", yrmo);
        }
        catch (Exception ex)
        {
            ErrMsgDiv2.Visible = true;
            lbl_error2.Text    = "Error in generating VWA Remittance Summary & Detail Report<br />" + ex.Message;
        }
    }