public DataTable Retrieve(SearchOption SearchOption) { Int32 searchOption; switch (SearchOption) { case SearchOption.StartsWith: searchOption = 2; break; case SearchOption.Contains: searchOption = 3; break; case SearchOption.EndsWith: searchOption = 4; break; default: searchOption = 1; break; } return(ItemDac.Retrieve(this, searchOption).Tables[0]); }
public DataTable GetItemsBOM() { return(ItemDac.RetrieveAllBOM().Tables[0]); }
public DataTable GetItemsHasChild() { return(ItemDac.RetrieveAllHasChild().Tables[0]); }
public Decimal GetAvailableStock() { return(ItemDac.GetAvailableStock(this)); }
public DataTable Retrieve() { return(ItemDac.Retrieve(this).Tables[0]); }
public DataTable Retrieve(Int32 Id) { return(ItemDac.Retrieve(Id).Tables[0]); }
public DataTable Retrieve(String ItemCode) { return(ItemDac.Retrieve(ItemCode).Tables[0]); }