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

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

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

Метод Описание
AddShippingInstruction ( ShippingInstruction shippingInstruction ) : bool
DeleteById ( int id ) : bool
DeleteShippingInstruction ( ShippingInstruction shippingInstruction ) : bool
Dispose ( ) : void
EditShippingInstruction ( ShippingInstruction shippingInstruction ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : ShippingInstruction
GetAllShippingInstruction ( ) : List
GetAllShippingInstructionForReport ( ) : List
GetBalance ( int hubID, int commodityId, int shippingInstructionID ) : SIBalance

Gets the balance.

GetBalanceInUnit ( int hubID, int commodityId, int shippingInstructionID ) : SIBalance

Gets the balance In Units for non-food items.

GetProjectCodeForSI ( int hubId, int commodityId, int shippingInstructionID ) : ProjectCode
GetSINumberIdWithCreate ( string SiNumber ) : ShippingInstruction

Gets the SI number id With create.

GetShipingInstructionId ( string si ) : int

Gets the shiping instruction id.

GetShippingInstructionsForProjectCode ( int hubId, int projectCodeId ) : List
GetShippingInstructionsForProjectCode ( int hubId, int projectCodeId, int commodityID ) : List
GetShippingInstructionsWithBalance ( int hubID, int commodityId ) : List
HasBalance ( string SiNumber, int FDPID ) : bool

Determines whether the specified si number has balance.

ShippingInstructionService ( ) : System

Приватные методы

Метод Описание
GetReceivedAlready ( ReceiptAllocation receiptAllocation ) : decimal

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

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

public AddShippingInstruction ( ShippingInstruction shippingInstruction ) : bool
shippingInstruction Cats.Models.Hubs.ShippingInstruction
Результат bool

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

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

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

public DeleteShippingInstruction ( ShippingInstruction shippingInstruction ) : bool
shippingInstruction Cats.Models.Hubs.ShippingInstruction
Результат bool

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

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

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

public EditShippingInstruction ( ShippingInstruction shippingInstruction ) : bool
shippingInstruction Cats.Models.Hubs.ShippingInstruction
Результат bool

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

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

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

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

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

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

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

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

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

Gets the balance.
public GetBalance ( int hubID, int commodityId, int shippingInstructionID ) : SIBalance
hubID int The hub ID.
commodityId int The commodity id.
shippingInstructionID int The shipping instruction ID.
Результат Cats.Models.Hubs.SIBalance

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

Gets the balance In Units for non-food items.
public GetBalanceInUnit ( int hubID, int commodityId, int shippingInstructionID ) : SIBalance
hubID int The hub ID.
commodityId int The commodity id.
shippingInstructionID int The shipping instruction ID.
Результат Cats.Models.Hubs.SIBalance

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

public GetProjectCodeForSI ( int hubId, int commodityId, int shippingInstructionID ) : ProjectCode
hubId int
commodityId int
shippingInstructionID int
Результат Cats.Models.Hubs.ProjectCode

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

Gets the SI number id With create.
public GetSINumberIdWithCreate ( string SiNumber ) : ShippingInstruction
SiNumber string The si number.
Результат Cats.Models.Hubs.ShippingInstruction

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

Gets the shiping instruction id.
public GetShipingInstructionId ( string si ) : int
si string The si.
Результат int

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

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

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

public GetShippingInstructionsForProjectCode ( int hubId, int projectCodeId, int commodityID ) : List
hubId int
projectCodeId int
commodityID int
Результат List

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

public GetShippingInstructionsWithBalance ( int hubID, int commodityId ) : List
hubID int
commodityId int
Результат List

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

Determines whether the specified si number has balance.
public HasBalance ( string SiNumber, int FDPID ) : bool
SiNumber string The si number.
FDPID int The FDPID.
Результат bool

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

public ShippingInstructionService ( ) : System
Результат System