예제 #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;
 }