public bool AddLineItem(VendorOrder order, Product product, int qty)
        {
            if (order == null)
            {
                throw new ApplicationException("Vendor Order is null");
            }
            if (product == null)
            {
                throw new ApplicationException("Product cannot be null");
            }
            if (qty == null)
            {
                qty = 0;
            }
            VendorOrderLineItem lineItem = new VendorOrderLineItem(order.Id, product.Id);

            lineItem.QtyOrdered = qty;
            var result = VendorOrderLineItemDAL.Add(lineItem, _connection);

            if (result)
            {
                order.AddLineItem(lineItem);
            }
            return(result);
        }
        } // end GetReportTotal()

        public Boolean OrderReorders()
        {
            VendorOrder order = new VendorOrder(_reorders[0].VendorSourceItem.VendorID);

            foreach (var reorder in _reorders)
            {
                if (reorder.ShouldReorder == true && reorder.CasesToOrder > 0)
                {
                    order.AddLineItem(new VendorOrderLineItem(reorder.Product.Id, (reorder.CasesToOrder * reorder.VendorSourceItem.ItemsPerCase), 0, 0));
                }
            }
            return(_voMangaer.AddVendorOrder(order));
        } // end OrderReorders()