C# Class Cats.Areas.Hub.Controllers.ReceiveController

Inheritance: Cats.Web.Hub.BaseController
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AllocationList ( int type ) : System.Web.Mvc.ActionResult
AllocationList2 ( int type ) : System.Web.Mvc.ActionResult
AllocationListAjax ( [ request, int commodityType, int type = 1, bool closed = false, int HubID ) : System.Web.Mvc.ActionResult
AllocationListAjax ( [ request, int commodityType, int type = 1, bool closed = false, int HubID, bool receivable = false ) : System.Web.Mvc.ActionResult
AllocationListJson ( [ request, int commodityType, int type = 1, bool closed = false, int HubID ) : System.Web.Mvc.ActionResult
AllocationListJson ( [ request, int commodityType, int type = 1, bool closed = false, int HubID, bool receivable = false ) : 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
IndexOld ( ) : 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 ( int 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
ReceiveDetailAjax ( [ request, string ReceiveID ) : System.Web.Mvc.ActionResult
ReceiveListAjax ( [ request, string ReceiptAllocationID ) : System.Web.Mvc.ActionResult
SINotUnique ( int ShippingInstruction, int CommoditySourceID ) : System.Web.Mvc.ActionResult
_ReceivePartial ( string grnNo ) : System.Web.Mvc.ActionResult
populateLookups ( UserProfile user ) : void

Private Methods

Méthode Description
AllocationListGrid ( int type, bool closedToo, int CommodityType ) : System.Web.Mvc.ActionResult
AllocationListGrid ( int type, bool closedToo, int CommodityType, bool receivable = false ) : System.Web.Mvc.ActionResult
BindReceiptAllocationViewModels ( IEnumerable receiptAllocations ) : IEnumerable
Create ( ReceiveViewModel receiveModels ) : System.Web.Mvc.ActionResult
GenerateReceiveDetail ( IEnumerable 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

Method Details

AllocationList() public méthode

public AllocationList ( int type ) : System.Web.Mvc.ActionResult
type int
Résultat System.Web.Mvc.ActionResult

AllocationList2() public méthode

public AllocationList2 ( int type ) : System.Web.Mvc.ActionResult
type int
Résultat System.Web.Mvc.ActionResult

AllocationListAjax() public méthode

public AllocationListAjax ( [ request, int commodityType, int type = 1, bool closed = false, int HubID ) : System.Web.Mvc.ActionResult
request [
commodityType int
type int
closed bool
HubID int
Résultat System.Web.Mvc.ActionResult

AllocationListAjax() public méthode

public AllocationListAjax ( [ request, int commodityType, int type = 1, bool closed = false, int HubID, bool receivable = false ) : System.Web.Mvc.ActionResult
request [
commodityType int
type int
closed bool
HubID int
receivable bool
Résultat System.Web.Mvc.ActionResult

AllocationListJson() public méthode

public AllocationListJson ( [ request, int commodityType, int type = 1, bool closed = false, int HubID ) : System.Web.Mvc.ActionResult
request [
commodityType int
type int
closed bool
HubID int
Résultat System.Web.Mvc.ActionResult

AllocationListJson() public méthode

public AllocationListJson ( [ request, int commodityType, int type = 1, bool closed = false, int HubID, bool receivable = false ) : System.Web.Mvc.ActionResult
request [
commodityType int
type int
closed bool
HubID int
receivable bool
Résultat System.Web.Mvc.ActionResult

AllocationStatus() public méthode

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
Résultat System.Web.Mvc.ActionResult

AvailbaleCommodities() public méthode

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

Create() public méthode

public Create ( string receiveId ) : System.Web.Mvc.ActionResult
receiveId string
Résultat System.Web.Mvc.ActionResult

GetSIBalanceBySI() public méthode

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

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

IndexOld() public méthode

Shows a list of receive transactions.
public IndexOld ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

IsSIValid() public méthode

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.
Résultat System.Web.Mvc.ActionResult

LoadDataBySI() public méthode

Loads the data by SI.
public LoadDataBySI ( int SINumber, string receiptAllocationID ) : System.Web.Mvc.ActionResult
SINumber int The SI number.
receiptAllocationID string
Résultat System.Web.Mvc.ActionResult

Log() public méthode

public Log ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

NotFoundSI() public méthode

public NotFoundSI ( String SINumber, int CommodityID ) : System.Web.Mvc.ActionResult
SINumber String
CommodityID int
Résultat System.Web.Mvc.ActionResult

NotUnique() public méthode

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.
Résultat System.Web.Mvc.ActionResult

ReceiveController() public méthode

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
Résultat System

ReceiveDetailAjax() public méthode

public ReceiveDetailAjax ( [ request, string ReceiveID ) : System.Web.Mvc.ActionResult
request [
ReceiveID string
Résultat System.Web.Mvc.ActionResult

ReceiveListAjax() public méthode

public ReceiveListAjax ( [ request, string ReceiptAllocationID ) : System.Web.Mvc.ActionResult
request [
ReceiptAllocationID string
Résultat System.Web.Mvc.ActionResult

SINotUnique() public méthode

public SINotUnique ( int ShippingInstruction, int CommoditySourceID ) : System.Web.Mvc.ActionResult
ShippingInstruction int
CommoditySourceID int
Résultat System.Web.Mvc.ActionResult

_ReceivePartial() public méthode

public _ReceivePartial ( string grnNo ) : System.Web.Mvc.ActionResult
grnNo string
Résultat System.Web.Mvc.ActionResult

populateLookups() public méthode

public populateLookups ( UserProfile user ) : void
user Cats.Models.Hubs.UserProfile
Résultat void