Пример #1
0
 public DAEABCClass()
 {
     //
     // TODO: 在此处添加构造函数逻辑
     //
     pDataAcess = Common.GetProjectDataAcess.GetDataAcess();
 }
Пример #2
0
 public DAECheckStockReport()
 {
     //
     // TODO: 在此处添加构造函数逻辑
     //
     _da = Common.GetProjectDataAcess.GetDataAcess();
 }
Пример #3
0
        public DataTable GetMaterialInfos(string sItemCode)
        {
            string strSql = @"select MaterialName , UOMID from Material 
				where ItemCode = '"                 + sItemCode + "'";

            Cnwit.Utility.DataAcess da = Common.GetProjectDataAcess.GetDataAcess();
            return(da.GetDataTable(strSql));
        }
Пример #4
0
        public int ExistsItemCode(string sItemCode, string sWHID)
        {
            string strSql = @"select ItemCode from MaxMinMaterial 
				where ItemCode = '"                 + sItemCode + "' and WHID='" + sWHID + "'";

            Cnwit.Utility.DataAcess da = Common.GetProjectDataAcess.GetDataAcess();
            DataTable dt = da.GetDataTable(strSql);

            return(dt.Rows.Count);
        }
Пример #5
0
 public DAEReturnEdit()
 {
     _da = Common.GetProjectDataAcess.GetDataAcess();
 }
Пример #6
0
 public DAEAdjustInEdit()
 {
     _da = Common.GetProjectDataAcess.GetDataAcess();
 }
Пример #7
0
 public DAETCStrategy_Edit()
 {
     _da    = Common.GetProjectDataAcess.GetDataAcess();
     strSql = string.Empty;
 }