Exemplo n.º 1
0
        public bool CheckData(int type, string StoreCD, string YYYYMM)
        {
            switch (type)
            {
            case 1:
                dtCheck = bbl.SimpleSelect1("47", "", StoreCD, YYYYMM);
                break;

            case 2:
                dtCheck = bbl.SimpleSelect1("48", "", StoreCD, YYYYMM);
                break;
            }


            if (dtCheck.Rows.Count > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 2
0
 public DataTable  Check_PayCloseDate(string ChangeDate)
 {
     return(bbl.SimpleSelect1("49", ChangeDate));
 }