C# 클래스 DRMFSS.Web.Controllers.ReceiveController

상속: BaseController
파일 보기 프로젝트 열기: edgecomputing/cats-hub-module

공개 메소드들

메소드 설명
AllocationList ( int type ) : System.Web.Mvc.ActionResult
AllocationStatus ( string SINumber, int CommoditySourceID, int CommodityID, string receiptAllocationID ) : System.Web.Mvc.ActionResult

Allocations the status.

AvailbaleCommodities ( string SINumber, int commodityTypeId, string receiptAllocationID ) : System.Web.Mvc.ActionResult

Availbales the commodities.

Create ( string receiveId ) : System.Web.Mvc.ActionResult
GetSIBalanceBySI ( string SINumber ) : System.Web.Mvc.ActionResult

Gets the allocation balance by SI.

Index ( ) : System.Web.Mvc.ActionResult

Shows a list of receive transactions.

IsSIValid ( string SINumber ) : System.Web.Mvc.ActionResult

Determines whether [SI valid] This is to check if the SI number exists in the Shipping Instructions table.

LoadDataBySI ( string SINumber, string receiptAllocationID ) : System.Web.Mvc.ActionResult

Loads the data by SI.

Log ( ) : System.Web.Mvc.ActionResult
NotFoundSI ( String SINumber, int CommodityID ) : System.Web.Mvc.ActionResult
NotUnique ( string grn, string receiveId ) : System.Web.Mvc.ActionResult

Checks if the GRN Number is not Unique

ReceiveController ( IReceiveService receiveService, IGiftCertificateService giftCertificateService, IReceiptAllocationService receiptAllocationService, IUserProfileService userProfileService, ICommodityTypeService commodityTypeService, IReceiveDetailService receiveDetailService, ICommodityService commodityService, IStoreService storeService, ITransactionService transactionService, IUnitService unitService, IShippingInstructionService shippingInstructionService, IHubService hubService, ICommodityGradeService commodityGradeService, IProgramService programService, ITransporterService transporterService, ICommoditySourceService commoditySourceService, IDonorService donorService ) : System
SINotUnique ( string SINUmber, int CommoditySourceID ) : System.Web.Mvc.ActionResult
_ReceivePartial ( string grnNo ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
AllocationListGrid ( int type, bool closedToo, int CommodityType ) : System.Web.Mvc.ActionResult
Create ( ReceiveViewModel receiveModels ) : System.Web.Mvc.ActionResult
GenerateReceiveDetail ( List commodities ) : List

Generates the receive detail.

GetGrnByReceiveID ( string receiveId ) : System.Web.Mvc.ActionResult
GetSelectedCommodities ( string jsonArray ) : List
JsonReceive ( string grnNo ) : System.Web.Mvc.ActionResult
ReceiveListGrid ( string ReceiptAllocationID ) : System.Web.Mvc.ActionResult
ReceiveListGridListGrid ( string ReceiveID ) : System.Web.Mvc.ActionResult
SelectReceivedCommodities ( string receiveId ) : System.Web.Mvc.ActionResult
isReceiveNull ( string grnNo ) : System.Web.Mvc.ActionResult

메소드 상세

AllocationList() 공개 메소드

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

AllocationStatus() 공개 메소드

Allocations the status.
public AllocationStatus ( string SINumber, int CommoditySourceID, int CommodityID, string receiptAllocationID ) : System.Web.Mvc.ActionResult
SINumber string The SI number.
CommoditySourceID int
CommodityID int
receiptAllocationID string
리턴 System.Web.Mvc.ActionResult

AvailbaleCommodities() 공개 메소드

Availbales the commodities.
public AvailbaleCommodities ( string SINumber, int commodityTypeId, string receiptAllocationID ) : System.Web.Mvc.ActionResult
SINumber string The SI number.
commodityTypeId int
receiptAllocationID string
리턴 System.Web.Mvc.ActionResult

Create() 공개 메소드

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

GetSIBalanceBySI() 공개 메소드

Gets the allocation balance by SI.
public GetSIBalanceBySI ( string SINumber ) : System.Web.Mvc.ActionResult
SINumber string The SI number.
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

Shows a list of receive transactions.
public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

IsSIValid() 공개 메소드

Determines whether [SI valid] This is to check if the SI number exists in the Shipping Instructions table.
public IsSIValid ( string SINumber ) : System.Web.Mvc.ActionResult
SINumber string The SI number.
리턴 System.Web.Mvc.ActionResult

LoadDataBySI() 공개 메소드

Loads the data by SI.
public LoadDataBySI ( string SINumber, string receiptAllocationID ) : System.Web.Mvc.ActionResult
SINumber string The SI number.
receiptAllocationID string
리턴 System.Web.Mvc.ActionResult

Log() 공개 메소드

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

NotFoundSI() 공개 메소드

public NotFoundSI ( String SINumber, int CommodityID ) : System.Web.Mvc.ActionResult
SINumber String
CommodityID int
리턴 System.Web.Mvc.ActionResult

NotUnique() 공개 메소드

Checks if the GRN Number is not Unique
public NotUnique ( string grn, string receiveId ) : System.Web.Mvc.ActionResult
grn string The GRN.
receiveId string The receive id.
리턴 System.Web.Mvc.ActionResult

ReceiveController() 공개 메소드

public ReceiveController ( IReceiveService receiveService, IGiftCertificateService giftCertificateService, IReceiptAllocationService receiptAllocationService, IUserProfileService userProfileService, ICommodityTypeService commodityTypeService, IReceiveDetailService receiveDetailService, ICommodityService commodityService, IStoreService storeService, ITransactionService transactionService, IUnitService unitService, IShippingInstructionService shippingInstructionService, IHubService hubService, ICommodityGradeService commodityGradeService, IProgramService programService, ITransporterService transporterService, ICommoditySourceService commoditySourceService, IDonorService donorService ) : System
receiveService IReceiveService
giftCertificateService IGiftCertificateService
receiptAllocationService IReceiptAllocationService
userProfileService IUserProfileService
commodityTypeService ICommodityTypeService
receiveDetailService IReceiveDetailService
commodityService ICommodityService
storeService IStoreService
transactionService ITransactionService
unitService IUnitService
shippingInstructionService IShippingInstructionService
hubService IHubService
commodityGradeService ICommodityGradeService
programService IProgramService
transporterService ITransporterService
commoditySourceService ICommoditySourceService
donorService IDonorService
리턴 System

SINotUnique() 공개 메소드

public SINotUnique ( string SINUmber, int CommoditySourceID ) : System.Web.Mvc.ActionResult
SINUmber string
CommoditySourceID int
리턴 System.Web.Mvc.ActionResult

_ReceivePartial() 공개 메소드

public _ReceivePartial ( string grnNo ) : System.Web.Mvc.ActionResult
grnNo string
리턴 System.Web.Mvc.ActionResult