C# Класс Cats.Services.Hub.ReceiptAllocationService

Наследование: IReceiptAllocationService
Показать файл Открыть проект

Открытые методы

Метод Описание
AddReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
CloseById ( System.Guid id ) : void
CommitReceiveAllocation ( string checkedRecords, UserProfile user ) : void

Commits the receive allocation.

DeleteByID ( System.Guid id ) : bool
DeleteById ( int id ) : bool
DeleteReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
Dispose ( ) : void
EditReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
FindBy ( bool>.Expression predicate ) : List
FindByID ( System.Guid id ) : ReceiptAllocation
FindById ( System.Guid id ) : ReceiptAllocation
FindById ( int id ) : ReceiptAllocation
FindBySINumber ( string SINumber ) : List
GetAllByTypeMerged ( int commoditySoureType ) : List
GetAllReceiptAllocation ( ) : List
GetAvailableCommodities ( string SINumber, int hubId ) : List
GetAvailableCommoditiesFromUnclosed ( string SINumber, int hubId, int commoditySourceId ) : List
GetBalance ( string siNumber, int commodityId ) : decimal

Gets the balance.

GetBalanceForSI ( string SInumber ) : decimal

Gets the balance for SI.

GetListOfSource ( int commoditySoureType ) : int[]
GetReceivedAlready ( ReceiptAllocation receiptAllocation ) : decimal
GetReceivedAlreadyInUnit ( ReceiptAllocation receiptAllocation ) : decimal
GetSIBalanceForCommodity ( int hubId, int CommodityId ) : List
GetSIBalanceForCommodityInUnit ( int hubId, int CommodityId ) : List
GetSIBalances ( string SINumber ) : List

Gets the SI balances.

GetSIsWithOutGiftCertificate ( ) : List
GetSIsWithOutGiftCertificate ( int commoditySoureType ) : List
GetTotalAllocation ( string siNumber, int commodityId, int hubId, int commoditySourceId ) : decimal
GetUnclosedAllocationsDetached ( int hubId, int commoditySoureType, bool closedToo, string weightMeasurmentCode, int CommodityType, bool receivable ) : List
GetUncommitedAllocationTransaction ( int CommodityID, int ShipingInstructionID, int HubID ) : Transaction

Gets the uncommited allocation transaction.

IsSINSource ( int source, string siNumber ) : bool
ReceiptAllocationService ( IUnitOfWork unitOfWork, IShippingInstructionService ShippingInstructionService, IDispatchAllocationService DispatchAllocationService ) : System

Описание методов

AddReceiptAllocation() публичный Метод

public AddReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Результат bool

CloseById() публичный Метод

public CloseById ( System.Guid id ) : void
id System.Guid
Результат void

CommitReceiveAllocation() публичный Метод

Commits the receive allocation.
public CommitReceiveAllocation ( string checkedRecords, UserProfile user ) : void
checkedRecords string The checked records.
user Cats.Models.Hubs.UserProfile
Результат void

DeleteByID() публичный Метод

public DeleteByID ( System.Guid id ) : bool
id System.Guid
Результат bool

DeleteById() публичный Метод

public DeleteById ( int id ) : bool
id int
Результат bool

DeleteReceiptAllocation() публичный Метод

public DeleteReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EditReceiptAllocation() публичный Метод

public EditReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Результат bool

FindBy() публичный Метод

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Результат List

FindByID() публичный Метод

public FindByID ( System.Guid id ) : ReceiptAllocation
id System.Guid
Результат Cats.Models.Hubs.ReceiptAllocation

FindById() публичный Метод

public FindById ( System.Guid id ) : ReceiptAllocation
id System.Guid
Результат Cats.Models.Hubs.ReceiptAllocation

FindById() публичный Метод

public FindById ( int id ) : ReceiptAllocation
id int
Результат Cats.Models.Hubs.ReceiptAllocation

FindBySINumber() публичный Метод

public FindBySINumber ( string SINumber ) : List
SINumber string
Результат List

GetAllByTypeMerged() публичный Метод

public GetAllByTypeMerged ( int commoditySoureType ) : List
commoditySoureType int
Результат List

GetAllReceiptAllocation() публичный Метод

public GetAllReceiptAllocation ( ) : List
Результат List

GetAvailableCommodities() публичный Метод

public GetAvailableCommodities ( string SINumber, int hubId ) : List
SINumber string
hubId int
Результат List

GetAvailableCommoditiesFromUnclosed() публичный Метод

public GetAvailableCommoditiesFromUnclosed ( string SINumber, int hubId, int commoditySourceId ) : List
SINumber string
hubId int
commoditySourceId int
Результат List

GetBalance() публичный Метод

Gets the balance.
public GetBalance ( string siNumber, int commodityId ) : decimal
siNumber string The si number.
commodityId int The commodity id.
Результат decimal

GetBalanceForSI() публичный Метод

Gets the balance for SI.
public GetBalanceForSI ( string SInumber ) : decimal
SInumber string The S inumber.
Результат decimal

GetListOfSource() публичный Метод

public GetListOfSource ( int commoditySoureType ) : int[]
commoditySoureType int
Результат int[]

GetReceivedAlready() публичный Метод

public GetReceivedAlready ( ReceiptAllocation receiptAllocation ) : decimal
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Результат decimal

GetReceivedAlreadyInUnit() публичный Метод

public GetReceivedAlreadyInUnit ( ReceiptAllocation receiptAllocation ) : decimal
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Результат decimal

GetSIBalanceForCommodity() публичный Метод

public GetSIBalanceForCommodity ( int hubId, int CommodityId ) : List
hubId int
CommodityId int
Результат List

GetSIBalanceForCommodityInUnit() публичный Метод

public GetSIBalanceForCommodityInUnit ( int hubId, int CommodityId ) : List
hubId int
CommodityId int
Результат List

GetSIBalances() публичный Метод

Gets the SI balances.
public GetSIBalances ( string SINumber ) : List
SINumber string
Результат List

GetSIsWithOutGiftCertificate() публичный Метод

public GetSIsWithOutGiftCertificate ( ) : List
Результат List

GetSIsWithOutGiftCertificate() публичный Метод

public GetSIsWithOutGiftCertificate ( int commoditySoureType ) : List
commoditySoureType int
Результат List

GetTotalAllocation() публичный Метод

public GetTotalAllocation ( string siNumber, int commodityId, int hubId, int commoditySourceId ) : decimal
siNumber string
commodityId int
hubId int
commoditySourceId int
Результат decimal

GetUnclosedAllocationsDetached() публичный Метод

public GetUnclosedAllocationsDetached ( int hubId, int commoditySoureType, bool closedToo, string weightMeasurmentCode, int CommodityType, bool receivable ) : List
hubId int
commoditySoureType int
closedToo bool
weightMeasurmentCode string
CommodityType int
receivable bool
Результат List

GetUncommitedAllocationTransaction() публичный Метод

Gets the uncommited allocation transaction.
public GetUncommitedAllocationTransaction ( int CommodityID, int ShipingInstructionID, int HubID ) : Transaction
CommodityID int The commodity ID.
ShipingInstructionID int The shiping instruction ID.
HubID int The hub ID.
Результат Cats.Models.Hubs.Transaction

IsSINSource() публичный Метод

public IsSINSource ( int source, string siNumber ) : bool
source int
siNumber string
Результат bool

ReceiptAllocationService() публичный Метод

public ReceiptAllocationService ( IUnitOfWork unitOfWork, IShippingInstructionService ShippingInstructionService, IDispatchAllocationService DispatchAllocationService ) : System
unitOfWork IUnitOfWork
ShippingInstructionService IShippingInstructionService
DispatchAllocationService IDispatchAllocationService
Результат System