Exemple #1
0
    void checkTranImported()
    {
        string _yrmo = ddlYrmo.SelectedItem.Text;

        if (VWAImportDAL.PastImport("TranDtl", _yrmo))
        {
            lbl_err.Text = "";
        }
        else
        {
            lbl_err.Text = "VWA Transaction Detail for YRMO - " + _yrmo + " not imported!";
        }
    }
    protected void checkPastImport()
    {
        string _yrmo = ddlYrmo.SelectedItem.Text;

        if (VWAImportDAL.PastImport(source_OC, _yrmo))
        {
            lbl_suc_OC.Visible = true;
        }
        else
        {
            lbl_suc_OC.Visible = false;
        }
        if (VWAImportDAL.PastImport(source_Cigna, _yrmo))
        {
            lbl_suc_Cigna.Visible = true;
        }
        else
        {
            lbl_suc_Cigna.Visible = false;
        }
        if (VWAImportDAL.PastImport(source_UHC, _yrmo))
        {
            lbl_suc_UHC.Visible = true;
        }
        else
        {
            lbl_suc_UHC.Visible = false;
        }
        if (VWAImportDAL.PastImport(source_Disab, _yrmo))
        {
            lbl_suc_Disab.Visible = true;
        }
        else
        {
            lbl_suc_Disab.Visible = false;
        }
        if (VWAImportDAL.PastImport(source_Anth, _yrmo))
        {
            lbl_suc_Anth.Visible = true;
        }
        else
        {
            lbl_suc_Anth.Visible = false;
        }

        if (lbl_suc_OC.Visible || lbl_suc_Cigna.Visible || lbl_suc_UHC.Visible || lbl_suc_Disab.Visible || lbl_suc_Anth.Visible)
        {
            View_Result();
        }
    }
    protected void checkPastImport()
    {
        string _yrmo = ddlYrmo.SelectedItem.Text;

        if (VWAImportDAL.PastImport(source, _yrmo))
        {
            MultiView1.SetActiveView(view_reimport);
            lbl_reimport.Text = "Imported already for year-month (YRMO): " + _yrmo;
        }
        else
        {
            MultiView1.SetActiveView(view_main);
            UpdateImportType();
        }
    }