C# Class Cats.Services.Hub.ReceiptAllocationService

Inheritance: IReceiptAllocationService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
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

Method Details

AddReceiptAllocation() public méthode

public AddReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Résultat bool

CloseById() public méthode

public CloseById ( System.Guid id ) : void
id System.Guid
Résultat void

CommitReceiveAllocation() public méthode

Commits the receive allocation.
public CommitReceiveAllocation ( string checkedRecords, UserProfile user ) : void
checkedRecords string The checked records.
user Cats.Models.Hubs.UserProfile
Résultat void

DeleteByID() public méthode

public DeleteByID ( System.Guid id ) : bool
id System.Guid
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteReceiptAllocation() public méthode

public DeleteReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditReceiptAllocation() public méthode

public EditReceiptAllocation ( ReceiptAllocation receiptAllocation ) : bool
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindByID() public méthode

public FindByID ( System.Guid id ) : ReceiptAllocation
id System.Guid
Résultat Cats.Models.Hubs.ReceiptAllocation

FindById() public méthode

public FindById ( System.Guid id ) : ReceiptAllocation
id System.Guid
Résultat Cats.Models.Hubs.ReceiptAllocation

FindById() public méthode

public FindById ( int id ) : ReceiptAllocation
id int
Résultat Cats.Models.Hubs.ReceiptAllocation

FindBySINumber() public méthode

public FindBySINumber ( string SINumber ) : List
SINumber string
Résultat List

GetAllByTypeMerged() public méthode

public GetAllByTypeMerged ( int commoditySoureType ) : List
commoditySoureType int
Résultat List

GetAllReceiptAllocation() public méthode

public GetAllReceiptAllocation ( ) : List
Résultat List

GetAvailableCommodities() public méthode

public GetAvailableCommodities ( string SINumber, int hubId ) : List
SINumber string
hubId int
Résultat List

GetAvailableCommoditiesFromUnclosed() public méthode

public GetAvailableCommoditiesFromUnclosed ( string SINumber, int hubId, int commoditySourceId ) : List
SINumber string
hubId int
commoditySourceId int
Résultat List

GetBalance() public méthode

Gets the balance.
public GetBalance ( string siNumber, int commodityId ) : decimal
siNumber string The si number.
commodityId int The commodity id.
Résultat decimal

GetBalanceForSI() public méthode

Gets the balance for SI.
public GetBalanceForSI ( string SInumber ) : decimal
SInumber string The S inumber.
Résultat decimal

GetListOfSource() public méthode

public GetListOfSource ( int commoditySoureType ) : int[]
commoditySoureType int
Résultat int[]

GetReceivedAlready() public méthode

public GetReceivedAlready ( ReceiptAllocation receiptAllocation ) : decimal
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Résultat decimal

GetReceivedAlreadyInUnit() public méthode

public GetReceivedAlreadyInUnit ( ReceiptAllocation receiptAllocation ) : decimal
receiptAllocation Cats.Models.Hubs.ReceiptAllocation
Résultat decimal

GetSIBalanceForCommodity() public méthode

public GetSIBalanceForCommodity ( int hubId, int CommodityId ) : List
hubId int
CommodityId int
Résultat List

GetSIBalanceForCommodityInUnit() public méthode

public GetSIBalanceForCommodityInUnit ( int hubId, int CommodityId ) : List
hubId int
CommodityId int
Résultat List

GetSIBalances() public méthode

Gets the SI balances.
public GetSIBalances ( string SINumber ) : List
SINumber string
Résultat List

GetSIsWithOutGiftCertificate() public méthode

public GetSIsWithOutGiftCertificate ( ) : List
Résultat List

GetSIsWithOutGiftCertificate() public méthode

public GetSIsWithOutGiftCertificate ( int commoditySoureType ) : List
commoditySoureType int
Résultat List

GetTotalAllocation() public méthode

public GetTotalAllocation ( string siNumber, int commodityId, int hubId, int commoditySourceId ) : decimal
siNumber string
commodityId int
hubId int
commoditySourceId int
Résultat decimal

GetUnclosedAllocationsDetached() public méthode

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
Résultat List

GetUncommitedAllocationTransaction() public méthode

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.
Résultat Cats.Models.Hubs.Transaction

IsSINSource() public méthode

public IsSINSource ( int source, string siNumber ) : bool
source int
siNumber string
Résultat bool

ReceiptAllocationService() public méthode

public ReceiptAllocationService ( IUnitOfWork unitOfWork, IShippingInstructionService ShippingInstructionService, IDispatchAllocationService DispatchAllocationService ) : System
unitOfWork IUnitOfWork
ShippingInstructionService IShippingInstructionService
DispatchAllocationService IDispatchAllocationService
Résultat System