2010-03-02 17:56:21 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.ServiceModel;
|
|
|
|
|
using System.Data.SqlClient;
|
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.Contracts
|
|
|
|
|
{
|
|
|
|
|
public interface IProductBI
|
|
|
|
|
{
|
|
|
|
|
bool Insert(ProductBO product);
|
|
|
|
|
bool Update(ProductBO product);
|
|
|
|
|
bool Delete(Guid productID);
|
|
|
|
|
ProductBO GetProductFromName(string nameAndUnits);
|
|
|
|
|
ProductBO GetProduct(Guid productID);
|
|
|
|
|
decimal GetProductStock(DateTime date, Guid productID, Guid? voucherID);
|
|
|
|
|
List<ProductDisplayBO> GetProducts();
|
|
|
|
|
List<ProductDisplaySmallBO> GetFilteredProducts(Dictionary<string, string> filter);
|
2011-01-09 23:36:24 +00:00
|
|
|
|
List<ProductDisplaySmallBO> GetProducts(Guid productTypeID);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|