/*get item amount break down list*/ public List <WCFBreakdown> getBreakDownList(string itemName) { List <BreakDownByDepBO> l = n.getBreakDownLstByName(itemName); List <WCFBreakdown> m = new List <WCFBreakdown>(); foreach (BreakDownByDepBO b in l) { m.Add(WCFBreakdown.Make2(b.Dep, b.Needed, b.Outstanding, b.Actual)); } return(m); }
/*update item amount break down list*/ public List <WCFBreakdown> updateBreakDown(string itemName, int retrieved) { List <BreakDownByDepBO> l = n.updateBreakDownLst(itemName, retrieved); List <WCFBreakdown> m = new List <WCFBreakdown>(); foreach (BreakDownByDepBO b in l) { m.Add(WCFBreakdown.Make2(b.Dep, b.Needed, b.Outstanding, b.Actual)); } return(m); }