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

42 lines
1.6 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]
List<PendingBillsBO> GetPendingBills(PendingType list);
[OperationContract]
Guid? GetPendingVoucherID(string tableID);
[OperationContract]
List<InventoryBO> SaleInventory(Dictionary<BillItemKey, SalesBillItemBO>.ValueCollection list, Guid? voucherID);
[OperationContract]
void GetComplexBillInformation(Guid voucherID, Guid complexProductID, ref decimal rate, ref decimal quantity, ref string name);
[OperationContract]
void SetAlarm(Guid voucherID, DateTime? alarmTime);
[OperationContract]
void VoidBill(Guid voucherID, string reason);
[OperationContract]
void DeclareBillsPaid(Guid userID, List<Guid> billList, bool creditCard);
[OperationContract]
void ToggleImportant(Guid voucherID);
}
}