public List <tbl_000_H_ITEM_FDC> GetByNo(int yearused, string itemno) { try { return(itfdcdal.GetByNo(yearused, itemno)); } catch (Exception ex) { throw ex; } }
private tbl_000_H_ITEM GetSubDatas(int yearused, string itemno, tbl_000_H_ITEM exist) { exist.itemCom = itemcomdal.GetByNo(yearused, itemno); exist.itemPI = itemPIdal.GetByNo(yearused, itemno); exist.itemVP = itemVPdal.GetByNo(yearused, itemno); exist.itemAssy = itemAssydal.GetByNo(yearused, itemno); exist.itemMPT = itemMPTdal.GetByNo(yearused, itemno); exist.itemFDC = itemFDCdal.GetByNo(yearused, itemno); return(exist); }