public static WCF_StockCard Create(int id, string itemId, string date, string description, string type, int quantity, string uom, int balance, WCF_InventoryCatalogue inventoryCatalogue) { WCF_StockCard s = new WCF_StockCard(); s.ID = id; s.ItemID = itemId; s.Date = date; s.Description = description; s.Type = type; s.Quantity = quantity; s.UOM = uom; s.Balance = balance; s.WCF_InventoryCatalogue = inventoryCatalogue; return(s); }
public static WCF_InventoryCatalogue Create (string itemId, string bin, string shelf, int level, string categoryId, string description, int reOrderLvl, int unitInStock, int reOrderQty, string uom, string discontinued, int unitOnOrder, int bufferStockLevel) { WCF_InventoryCatalogue w = new WCF_InventoryCatalogue(); w.ItemID = itemId; w.BIN = bin; w.Shelf = shelf; w.Level = level; w.CategoryID = categoryId; w.Description = description; w.ReorderLevel = reOrderLvl; w.UnitsInStock = unitInStock; w.ReorderQty = reOrderLvl; w.UOM = uom; w.Discontinued = discontinued; w.UnitsOnOrder = unitOnOrder; w.BufferStockLevel = bufferStockLevel; return(w); }