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

Inheritance: BaseController
Show file Open project: edgecomputing/cats

Public Methods

Method Description
CreateAdjustment ( ) : System.Web.Mvc.ActionResult
CreateLoss ( ) : System.Web.Mvc.ActionResult
Filter ( ) : System.Web.Mvc.ActionResult
GetProjecCodetForCommodity ( int CommodityId ) : System.Web.Mvc.ActionResult
GetSINumberForProjectCode ( int ProjectCodeId ) : System.Web.Mvc.ActionResult
GetStacksForToStore ( int ToStoreId ) : System.Web.Mvc.ActionResult
GetStoreForParentCommodity ( int commodityParentId, int SINumber ) : System.Web.Mvc.ActionResult
Log ( ) : System.Web.Mvc.ActionResult
LossesAndAdjustmentsController ( IUserProfileService userProfileService, ICommodityService commodityService, IStoreService storeService, IProgramService programService, IHubService hubService, IUnitService unitService, IAdjustmentReasonService adjustmentReasonService, IAdjustmentService adjustmentService, ITransactionService transactionService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService ) : System
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 ( List Stores ) : List
CreateAdjustment ( LossesAndAdjustmentsViewModel viewModel ) : System.Web.Mvc.ActionResult
CreateLoss ( LossesAndAdjustmentsViewModel viewModel ) : System.Web.Mvc.ActionResult
FilteredGrid ( string filterId ) : System.Web.Mvc.ActionResult
GetFilters ( ) : System.Web.Mvc.ActionResult
GetStoreMan ( int storeId ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult

Method Details

CreateAdjustment() public method

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

CreateLoss() public method

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

Filter() public method

public Filter ( ) : System.Web.Mvc.ActionResult
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

GetStacksForToStore() public method

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

GetStoreForParentCommodity() public method

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

Log() public method

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

LossesAndAdjustmentsController() public method

public LossesAndAdjustmentsController ( IUserProfileService userProfileService, ICommodityService commodityService, IStoreService storeService, IProgramService programService, IHubService hubService, IUnitService unitService, IAdjustmentReasonService adjustmentReasonService, IAdjustmentService adjustmentService, ITransactionService transactionService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService ) : System
userProfileService IUserProfileService
commodityService ICommodityService
storeService IStoreService
programService IProgramService
hubService IHubService
unitService IUnitService
adjustmentReasonService IAdjustmentReasonService
adjustmentService IAdjustmentService
transactionService ITransactionService
projectCodeService IProjectCodeService
shippingInstructionService IShippingInstructionService
return System

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