C# Class com.Sconit.Utility.OrderHelper

Mostrar archivo Open project: Novthirteen/yfkey-scms

Public Properties

Property Type Description
HuLotNoQtySeperateSymbol char
HuSeperateSymbol char

Public Methods

Method 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 method

public static CalculateQtyToReceive ( com.Sconit.Entity.MasterData.Receipt receipt ) : void
receipt com.Sconit.Entity.MasterData.Receipt
return void

CheckOrderOperationAuthrize() public static method

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
return bool

CheckOrderOperationAuthrize() public static method

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
return bool

ClearReceivedQty() public static method

public static ClearReceivedQty ( com.Sconit.Entity.MasterData.Receipt receipt ) : void
receipt com.Sconit.Entity.MasterData.Receipt
return void

ClearShippedQty() public static method

public static ClearShippedQty ( com.Sconit.Entity.Distribution.InProcessLocation inProcessLocation ) : void
inProcessLocation com.Sconit.Entity.Distribution.InProcessLocation
return void

FilterZeroOrderQty() public static method

��������OrderQty����Ϊ0����ϸ
public static FilterZeroOrderQty ( IList orderHeadList ) : void
orderHeadList IList
return void

FilterZeroOrderQty() public static method

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

FindMatchInProcessLocationDetail() public static method

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

GetDefaultReceiptQty() public static method

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

GetIsDetailContainHu() public static method

public static GetIsDetailContainHu ( bool isShipScanHu, bool isReceiptScanHu, string createHuOption ) : bool
isShipScanHu bool
isReceiptScanHu bool
createHuOption string
return bool

GetOrderDetailLabel() public static method

public static GetOrderDetailLabel ( string type ) : string
type string
return string

GetOrderHeadAddLabel() public static method

public static GetOrderHeadAddLabel ( string type ) : string
type string
return string

GetOrderLabel() public static method

public static GetOrderLabel ( string type ) : string
type string
return string

GetOrderPartyFromLabel() public static method

public static GetOrderPartyFromLabel ( string type ) : string
type string
return string

GetOrderPartyToLabel() public static method

public static GetOrderPartyToLabel ( string type ) : string
type string
return string

GetOrderRoutingLabel() public static method

public static GetOrderRoutingLabel ( string type ) : string
type string
return string

GetWinTimeColor() public static method

public static GetWinTimeColor ( System.DateTime startTime, System.DateTime winTime ) : Color
startTime System.DateTime
winTime System.DateTime
return Color

IsInProcessLocationDetailMatchReceiptDetail() public static method

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
return bool

IsOrderDetailValid() public static method

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

SetActiveOrderStatusCriteria() public static method

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

SetOpenOrderStatusCriteria() public static method

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

SplitByOrderLotSize() public static method

����OrderLotSize���������
public static SplitByOrderLotSize ( decimal reqQty, decimal orderLotSize ) : IList
reqQty decimal
orderLotSize decimal
return IList

Property Details

HuLotNoQtySeperateSymbol public_oe static_oe property

public static char HuLotNoQtySeperateSymbol
return char

HuSeperateSymbol public_oe static_oe property

public static char HuSeperateSymbol
return char