narsil/Tanshu.Accounts.Contracts/Service Contracts/SaleVoucherBI.cs
Amritanshu b6498a7b1c Feature: Sale analysis printout changed.
Feature: Sale analysis detail printing built
2013-11-16 11:31:58 +05:30

38 lines
1.4 KiB
C#

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, int floor);
[OperationContract]
Guid? GetPendingVoucherID(string tableID, int floor);
[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, Guid userID);
[OperationContract]
void DeclareBillsPaid(Guid userID, List<Guid> billList, PaidStatus paidStatus);
}
}