narsil/Tanshu.Accounts.Contracts/Service Contracts/SaleVoucherBI.cs

38 lines
1.4 KiB
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.ServiceModel;
namespace Tanshu.Accounts.Contracts
{
[ServiceContract]
public interface ISaleVoucherBI
{
[OperationContract]
SalesBillItemBO GetDefaultSaleBillItem(Guid productID);
[OperationContract]
decimal GetProductDiscountLimit(Guid productID);
[OperationContract]
bool IsBillPrinted(Guid voucherID);
[OperationContract]
bool Insert(SaleVoucherBO saleVoucher, List<InventoryBO> inventory);
[OperationContract]
bool Update(SaleVoucherBO saleVoucher, List<InventoryBO> inventory);
[OperationContract]
bool GetSaleVoucher(Guid voucherID, ref SaleVoucherBO voucherSale, ref List<InventoryDisplayBO> iList);
[OperationContract]
2011-12-05 09:23:02 +00:00
List<PendingBillsBO> GetPendingBills(PendingType list, int floor);
2010-03-02 17:56:21 +00:00
[OperationContract]
2011-12-05 09:23:02 +00:00
Guid? GetPendingVoucherID(string tableID, int floor);
2010-03-02 17:56:21 +00:00
[OperationContract]
List<InventoryBO> SaleInventory(Dictionary<BillItemKey, SalesBillItemBO>.ValueCollection list, Guid? voucherID);
[OperationContract]
void SetAlarm(Guid voucherID, DateTime? alarmTime);
[OperationContract]
void VoidBill(Guid voucherID, string reason);
[OperationContract]
2011-12-05 09:23:02 +00:00
void DeclareBillsPaid(Guid userID, List<Guid> billList, PaidStatus paidStatus);
2010-03-02 17:56:21 +00:00
}
}