public string GetItemSalesUoM(string sku) { dynamic table = new InventTableModule(); var rec = table.First(ItemId:sku, ModuleType:2); if(rec != null) return rec.UNITID.ToString().Trim(); return null; }
public decimal GetItemPrice(string sku) { dynamic table = new InventTableModule(); var rec = table.First(ItemId:sku, ModuleType:2); if(rec != null) return rec.PRICE; return 0; }