C# Class com.Sconit.Utility.OrderHelper

Afficher le fichier Open project: Novthirteen/yfkey-scms

Méthodes publiques

Свойство Type Description
HuLotNoQtySeperateSymbol char
HuSeperateSymbol char

Méthodes publiques

Méthode Description
CalculateQtyToReceive ( com.Sconit.Entity.MasterData.Receipt receipt ) : void
CheckOrderOperationAuthrize ( OrderHead orderHead, com.Sconit.Entity.MasterData.User user, IList orderOperationList, string partyAuthrizeOpt ) : bool
CheckOrderOperationAuthrize ( OrderHead orderHead, com.Sconit.Entity.MasterData.User user, string orderOperation, string partyAuthrizeOpt ) : bool
ClearReceivedQty ( com.Sconit.Entity.MasterData.Receipt receipt ) : void
ClearShippedQty ( com.Sconit.Entity.Distribution.InProcessLocation inProcessLocation ) : void
FilterZeroOrderQty ( IList orderHeadList ) : void

��������OrderQty����Ϊ0����ϸ

FilterZeroOrderQty ( OrderHead orderHead ) : void

����OrderQty����Ϊ0����ϸ

FindMatchInProcessLocationDetail ( com.Sconit.Entity.MasterData.ReceiptDetail receiptDetail, IList inProcessLocationDetailList ) : IList
GetDefaultReceiptQty ( OrderDetail orderDetail, string defaultReceiptOpt ) : decimal
GetIsDetailContainHu ( bool isShipScanHu, bool isReceiptScanHu, string createHuOption ) : bool
GetOrderDetailLabel ( string type ) : string
GetOrderHeadAddLabel ( string type ) : string
GetOrderLabel ( string type ) : string
GetOrderPartyFromLabel ( string type ) : string
GetOrderPartyToLabel ( string type ) : string
GetOrderRoutingLabel ( string type ) : string
GetWinTimeColor ( System.DateTime startTime, System.DateTime winTime ) : Color
IsInProcessLocationDetailMatchReceiptDetail ( com.Sconit.Entity.Distribution.InProcessLocationDetail inProcessLocationDetail, com.Sconit.Entity.MasterData.ReceiptDetail receiptDetail ) : bool
IsOrderDetailValid ( OrderDetail orderDetail, System.DateTime winTime ) : bool
SetActiveOrderStatusCriteria ( DetachedCriteria criteria, string propertyName ) : void

Status: Submit,In-Process,Complete,Close

SetOpenOrderStatusCriteria ( DetachedCriteria criteria, string propertyName ) : void

Status: Submit,In-Process

SplitByOrderLotSize ( decimal reqQty, decimal orderLotSize ) : IList

����OrderLotSize���������

Method Details

CalculateQtyToReceive() public static méthode

public static CalculateQtyToReceive ( com.Sconit.Entity.MasterData.Receipt receipt ) : void
receipt com.Sconit.Entity.MasterData.Receipt
Résultat void

CheckOrderOperationAuthrize() public static méthode

public static CheckOrderOperationAuthrize ( OrderHead orderHead, com.Sconit.Entity.MasterData.User user, IList orderOperationList, string partyAuthrizeOpt ) : bool
orderHead com.Sconit.Entity.MasterData.OrderHead
user com.Sconit.Entity.MasterData.User
orderOperationList IList
partyAuthrizeOpt string
Résultat bool

CheckOrderOperationAuthrize() public static méthode

public static CheckOrderOperationAuthrize ( OrderHead orderHead, com.Sconit.Entity.MasterData.User user, string orderOperation, string partyAuthrizeOpt ) : bool
orderHead com.Sconit.Entity.MasterData.OrderHead
user com.Sconit.Entity.MasterData.User
orderOperation string
partyAuthrizeOpt string
Résultat bool

ClearReceivedQty() public static méthode

public static ClearReceivedQty ( com.Sconit.Entity.MasterData.Receipt receipt ) : void
receipt com.Sconit.Entity.MasterData.Receipt
Résultat void

ClearShippedQty() public static méthode

public static ClearShippedQty ( com.Sconit.Entity.Distribution.InProcessLocation inProcessLocation ) : void
inProcessLocation com.Sconit.Entity.Distribution.InProcessLocation
Résultat void

FilterZeroOrderQty() public static méthode

��������OrderQty����Ϊ0����ϸ
public static FilterZeroOrderQty ( IList orderHeadList ) : void
orderHeadList IList
Résultat void

FilterZeroOrderQty() public static méthode

����OrderQty����Ϊ0����ϸ
public static FilterZeroOrderQty ( OrderHead orderHead ) : void
orderHead com.Sconit.Entity.MasterData.OrderHead
Résultat void

FindMatchInProcessLocationDetail() public static méthode

public static FindMatchInProcessLocationDetail ( com.Sconit.Entity.MasterData.ReceiptDetail receiptDetail, IList inProcessLocationDetailList ) : IList
receiptDetail com.Sconit.Entity.MasterData.ReceiptDetail
inProcessLocationDetailList IList
Résultat IList

GetDefaultReceiptQty() public static méthode

public static GetDefaultReceiptQty ( OrderDetail orderDetail, string defaultReceiptOpt ) : decimal
orderDetail com.Sconit.Entity.MasterData.OrderDetail
defaultReceiptOpt string
Résultat decimal

GetIsDetailContainHu() public static méthode

public static GetIsDetailContainHu ( bool isShipScanHu, bool isReceiptScanHu, string createHuOption ) : bool
isShipScanHu bool
isReceiptScanHu bool
createHuOption string
Résultat bool

GetOrderDetailLabel() public static méthode

public static GetOrderDetailLabel ( string type ) : string
type string
Résultat string

GetOrderHeadAddLabel() public static méthode

public static GetOrderHeadAddLabel ( string type ) : string
type string
Résultat string

GetOrderLabel() public static méthode

public static GetOrderLabel ( string type ) : string
type string
Résultat string

GetOrderPartyFromLabel() public static méthode

public static GetOrderPartyFromLabel ( string type ) : string
type string
Résultat string

GetOrderPartyToLabel() public static méthode

public static GetOrderPartyToLabel ( string type ) : string
type string
Résultat string

GetOrderRoutingLabel() public static méthode

public static GetOrderRoutingLabel ( string type ) : string
type string
Résultat string

GetWinTimeColor() public static méthode

public static GetWinTimeColor ( System.DateTime startTime, System.DateTime winTime ) : Color
startTime System.DateTime
winTime System.DateTime
Résultat Color

IsInProcessLocationDetailMatchReceiptDetail() public static méthode

public static IsInProcessLocationDetailMatchReceiptDetail ( com.Sconit.Entity.Distribution.InProcessLocationDetail inProcessLocationDetail, com.Sconit.Entity.MasterData.ReceiptDetail receiptDetail ) : bool
inProcessLocationDetail com.Sconit.Entity.Distribution.InProcessLocationDetail
receiptDetail com.Sconit.Entity.MasterData.ReceiptDetail
Résultat bool

IsOrderDetailValid() public static méthode

public static IsOrderDetailValid ( OrderDetail orderDetail, System.DateTime winTime ) : bool
orderDetail com.Sconit.Entity.MasterData.OrderDetail
winTime System.DateTime
Résultat bool

SetActiveOrderStatusCriteria() public static méthode

Status: Submit,In-Process,Complete,Close
public static SetActiveOrderStatusCriteria ( DetachedCriteria criteria, string propertyName ) : void
criteria DetachedCriteria
propertyName string
Résultat void

SetOpenOrderStatusCriteria() public static méthode

Status: Submit,In-Process
public static SetOpenOrderStatusCriteria ( DetachedCriteria criteria, string propertyName ) : void
criteria DetachedCriteria
propertyName string
Résultat void

SplitByOrderLotSize() public static méthode

����OrderLotSize���������
public static SplitByOrderLotSize ( decimal reqQty, decimal orderLotSize ) : IList
reqQty decimal
orderLotSize decimal
Résultat IList

Property Details

HuLotNoQtySeperateSymbol public_oe static_oe property

public static char HuLotNoQtySeperateSymbol
Résultat char

HuSeperateSymbol public_oe static_oe property

public static char HuSeperateSymbol
Résultat char