Example #1
0
 public List <tbl_100_WIP_Materials> GetByNo(int yearused, string itemno, string partno)
 {
     try
     {
         if (itemno == null || partno == null)
         {
             throw new Exception("Invalid Parameter!");
         }
         return(wipmatdal.GetByNo(yearused, itemno, partno));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        //Get Sub
        private tbl_100_WIP GetSubDatas(int yearused, string itemno, string partno, tbl_100_WIP exist)
        {
            exist.WIPMaterials = wipmatdal.GetByNo(yearused, itemno, partno);

            return(exist);
        }