C# Class Cats.Web.Hub.Controllers.InternalMovementController

Inheritance: BaseController
显示文件 Open project: edgecomputing/cats

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
EditPartial ( ) : System.Web.Mvc.ActionResult
GetFromStoreForParentCommodity ( int commodityParentId, int SINumber ) : System.Web.Mvc.ActionResult
GetProjecCodetForCommodity ( int CommodityId ) : System.Web.Mvc.ActionResult
GetSINumberForProjectCode ( int ProjectCodeId ) : System.Web.Mvc.ActionResult
GetStacksForFromStore ( int FromStoreId, int SINumber ) : System.Web.Mvc.ActionResult
GetStacksForToStore ( int ToStoreId, int FromStoreId, int FromStackId ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
InternalMovementController ( IUserProfileService userProfileService, IInternalMovementService internalMovementService, ITransactionService transactionService, IStoreService storeService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService, ICommodityService commodityService, IHubService hubService, IProgramService programService, IUnitService unitService, IDetailService detailService ) : System
IsQuantityValid ( decimal QuantityInMt, int FromStoreId, int FromStackId, int CommodityId, int ShippingInstructionId, int ProjectCodeId ) : System.Web.Mvc.ActionResult
SINumberBalance ( int parentCommodityId, int projectcode, int SINumber, int StoreId, int StackId ) : System.Web.Mvc.ActionResult
ViewDetial ( string TransactionId ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ConvertStoreToStoreViewModel ( IEnumerable Stores ) : IEnumerable
Create ( InternalMovementViewModel viewModel ) : System.Web.Mvc.ActionResult
EditPartial ( InternalMovementViewModel viewModel ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

EditPartial() public method

public EditPartial ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

GetFromStoreForParentCommodity() public method

public GetFromStoreForParentCommodity ( int commodityParentId, int SINumber ) : System.Web.Mvc.ActionResult
commodityParentId int
SINumber int
return System.Web.Mvc.ActionResult

GetProjecCodetForCommodity() public method

public GetProjecCodetForCommodity ( int CommodityId ) : System.Web.Mvc.ActionResult
CommodityId int
return System.Web.Mvc.ActionResult

GetSINumberForProjectCode() public method

public GetSINumberForProjectCode ( int ProjectCodeId ) : System.Web.Mvc.ActionResult
ProjectCodeId int
return System.Web.Mvc.ActionResult

GetStacksForFromStore() public method

public GetStacksForFromStore ( int FromStoreId, int SINumber ) : System.Web.Mvc.ActionResult
FromStoreId int
SINumber int
return System.Web.Mvc.ActionResult

GetStacksForToStore() public method

public GetStacksForToStore ( int ToStoreId, int FromStoreId, int FromStackId ) : System.Web.Mvc.ActionResult
ToStoreId int
FromStoreId int
FromStackId int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

InternalMovementController() public method

public InternalMovementController ( IUserProfileService userProfileService, IInternalMovementService internalMovementService, ITransactionService transactionService, IStoreService storeService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService, ICommodityService commodityService, IHubService hubService, IProgramService programService, IUnitService unitService, IDetailService detailService ) : System
userProfileService IUserProfileService
internalMovementService IInternalMovementService
transactionService ITransactionService
storeService IStoreService
projectCodeService IProjectCodeService
shippingInstructionService IShippingInstructionService
commodityService ICommodityService
hubService IHubService
programService IProgramService
unitService IUnitService
detailService IDetailService
return System

IsQuantityValid() public method

public IsQuantityValid ( decimal QuantityInMt, int FromStoreId, int FromStackId, int CommodityId, int ShippingInstructionId, int ProjectCodeId ) : System.Web.Mvc.ActionResult
QuantityInMt decimal
FromStoreId int
FromStackId int
CommodityId int
ShippingInstructionId int
ProjectCodeId int
return System.Web.Mvc.ActionResult

SINumberBalance() public method

public SINumberBalance ( int parentCommodityId, int projectcode, int SINumber, int StoreId, int StackId ) : System.Web.Mvc.ActionResult
parentCommodityId int
projectcode int
SINumber int
StoreId int
StackId int
return System.Web.Mvc.ActionResult

ViewDetial() public method

public ViewDetial ( string TransactionId ) : System.Web.Mvc.ActionResult
TransactionId string
return System.Web.Mvc.ActionResult