public static List <PurchaseOrder> Create(int orderNumber) { DataTable dt = POSQL.RetrievePOById(orderNumber); List <PurchaseOrder> lstPurchaseOrderLookup = Repackage(dt); return(lstPurchaseOrderLookup); }
public static PurchaseOrder Create(int orderNumber) { DataTable tmpTable = POSQL.RetrievePOById(orderNumber); return(Repackage(tmpTable.Rows[0])); }