C# 클래스 Cats.Web.Hub.Controllers.Allocations.DispatchAllocationController

상속: Cats.Web.Hub.BaseController
파일 보기 프로젝트 열기: edgecomputing/cats 1 사용 예제들

공개 메소드들

메소드 설명
AllocationList ( ) : System.Web.Mvc.ActionResult
AvailableRequistions ( bool UnCommited ) : System.Web.Mvc.ActionResult
Close ( string id ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
CreateLoan ( ) : System.Web.Mvc.ActionResult
CreateTransfer ( ) : System.Web.Mvc.ActionResult
DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService ) : System
Dispose ( ) : void
Edit ( string id ) : System.Web.Mvc.ActionResult
EditLoan ( string id ) : System.Web.Mvc.ActionResult
EditTransfer ( string id ) : System.Web.Mvc.ActionResult
GetAllocations ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
GetAvailableSINumbers ( int CommodityID ) : System.Web.Mvc.ActionResult
GetBalance ( int siNumber, int commodityId, string siNumberText ) : System.Web.Mvc.ActionResult
GetChildren ( int parentId ) : List
GetCommodities ( string RequisitionNo ) : System.Web.Mvc.ActionResult
GetFdps ( int woredaId ) : List
GetSIBalances ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsProjectValid ( string ProjectCode ) : System.Web.Mvc.ActionResult
IsSIValid ( string ShippingInstruction ) : System.Web.Mvc.ActionResult
OtherClose ( string id ) : System.Web.Mvc.ActionResult
SelectionHeader ( string requisition ) : System.Web.Mvc.ActionResult
SiBalances ( string requisition ) : System.Web.Mvc.ActionResult
ToHubs ( ) : System.Web.Mvc.ActionResult

Allocate dispatch To hubs of the same owner ( Transfer and Swap)

ToOtherOwners ( ) : System.Web.Mvc.ActionResult

Allocate dispatch To the other owners.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
BindDispatchAllocationViewModelDto ( DispatchAllocation dispatchAllocation ) : DispatchAllocationViewModelDto
CloseConfirmed ( string id ) : System.Web.Mvc.ActionResult
CommitAllocation ( string checkedRecords, int SINumber, int ProjectCode, string Sitext, string ProjectCodeText ) : System.Web.Mvc.ActionResult
Create ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
Edit ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
GetAllocationModel ( DispatchAllocationViewModel dispatch ) : DispatchAllocation

Gets the allocation model.

GetAllocationModel ( DispatchAllocation dispatch ) : DispatchAllocationViewModel
GetAllocationsGrid ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
InitLoan ( OtherDispatchAllocationViewModel otherDispatchAllocationViewModel ) : OtherDispatchAllocationViewModel
InitTransfer ( OtherDispatchAllocationViewModel otherDispatchAllocationViewModel ) : OtherDispatchAllocationViewModel
OtherCloseConfirmed ( string id ) : System.Web.Mvc.ActionResult
PrepareCreate ( ) : void
PrepareEdit ( DispatchAllocationViewModel allocation ) : void
PrepareFDPForEdit ( int fdpid ) : void
SaveLoan ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult
SaveTransfer ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult

메소드 상세

AllocationList() 공개 메소드

public AllocationList ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

AvailableRequistions() 공개 메소드

public AvailableRequistions ( bool UnCommited ) : System.Web.Mvc.ActionResult
UnCommited bool
리턴 System.Web.Mvc.ActionResult

Close() 공개 메소드

public Close ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

Create() 공개 메소드

public Create ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

CreateLoan() 공개 메소드

public CreateLoan ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

CreateTransfer() 공개 메소드

public CreateTransfer ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

DispatchAllocationController() 공개 메소드

public DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService ) : System
dispatchAllocationService IDispatchAllocationService
userProfileService IUserProfileService
otherDispatchAllocationService IOtherDispatchAllocationService
shippingInstructionService IShippingInstructionService
projectCodeService IProjectCodeService
transporterService ITransporterService
commonService ICommonService
adminUnitService IAdminUnitService
fdpService IFDPService
hubService IHubService
commodityTypeService ICommodityTypeService
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Edit() 공개 메소드

public Edit ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

EditLoan() 공개 메소드

public EditLoan ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

EditTransfer() 공개 메소드

public EditTransfer ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

GetAllocations() 공개 메소드

public GetAllocations ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
RquisitionNo string
CommodityID int
Uncommited bool
리턴 System.Web.Mvc.ActionResult

GetAvailableSINumbers() 공개 메소드

public GetAvailableSINumbers ( int CommodityID ) : System.Web.Mvc.ActionResult
CommodityID int
리턴 System.Web.Mvc.ActionResult

GetBalance() 공개 메소드

public GetBalance ( int siNumber, int commodityId, string siNumberText ) : System.Web.Mvc.ActionResult
siNumber int
commodityId int
siNumberText string
리턴 System.Web.Mvc.ActionResult

GetChildren() 공개 메소드

public GetChildren ( int parentId ) : List
parentId int
리턴 List

GetCommodities() 공개 메소드

public GetCommodities ( string RequisitionNo ) : System.Web.Mvc.ActionResult
RequisitionNo string
리턴 System.Web.Mvc.ActionResult

GetFdps() 공개 메소드

public GetFdps ( int woredaId ) : List
woredaId int
리턴 List

GetSIBalances() 공개 메소드

public GetSIBalances ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

IsProjectValid() 공개 메소드

public IsProjectValid ( string ProjectCode ) : System.Web.Mvc.ActionResult
ProjectCode string
리턴 System.Web.Mvc.ActionResult

IsSIValid() 공개 메소드

public IsSIValid ( string ShippingInstruction ) : System.Web.Mvc.ActionResult
ShippingInstruction string
리턴 System.Web.Mvc.ActionResult

OtherClose() 공개 메소드

public OtherClose ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

SelectionHeader() 공개 메소드

public SelectionHeader ( string requisition ) : System.Web.Mvc.ActionResult
requisition string
리턴 System.Web.Mvc.ActionResult

SiBalances() 공개 메소드

public SiBalances ( string requisition ) : System.Web.Mvc.ActionResult
requisition string
리턴 System.Web.Mvc.ActionResult

ToHubs() 공개 메소드

Allocate dispatch To hubs of the same owner ( Transfer and Swap)
public ToHubs ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ToOtherOwners() 공개 메소드

Allocate dispatch To the other owners.
public ToOtherOwners ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult