Exemple #1
0
    protected void btn_reconAgn_Click(object sender, EventArgs e)
    {
        string yrmo = ddlYrmo.SelectedItem.Text.ToString();

        lbl_error.Text = "";
        try
        {
            ReconDAL.pastReconcileDelete(yrmo, "DOM");
            //if (RptsImported())
            //Removed this if condition as it is not applicable to Dom Recon
            //R.A 10/30/2009
            {
                ReconDAL.DomesticReconcile(yrmo, "ANTH_ACT", "GRS", "ACT");
                ReconDAL.DomesticReconcile(yrmo, "ANTH_RET", "RET%", "RET");
                ReconDAL.DomesticReconcile(yrmo, "ANTH_COB", "ADP", "COB");
                ShowResult();
                auditRecon(yrmo);
            }
        }
        catch (Exception ex)
        {
            ReconDAL.pastReconcileDelete(yrmo, "DOM");
            lbl_error.Text = "Error in re-reconciliation.<br />" + ex.Message;
        }
    }