C# Class com.Sconit.Service.Business.Impl.SetDetailMgr

Inheritance: ISetDetailMgr
Datei anzeigen Open project: Novthirteen/yfkey-scms

Public Methods

Method Description
CheckFIFO ( com.Sconit.Entity.MasterData.Hu targetHu, IList pickedHuList ) : string
CheckHuReScan ( Resolver resolver ) : void
CheckMatchHuScanExist ( Resolver resolver ) : bool
FindMaxSeq ( List transformerList ) : int
FindMaxSeq ( Transformer transformer ) : int
SetDetailMgr ( IHuMgr huMgr, ILocationLotDetailMgr locationLotDetailMgr, IOrderLocationTransactionMgr orderLocationTransactionMgr, IUserMgr userMgr, INumberControlMgr numberControlMgr, IUomConversionMgr uomConversionMgr, IItemMgr itemMgr, IOrderDetailMgr orderDetailMgr, IEntityPreferenceMgr entityPreferenceMgr, IOrderMgr orderMgr, IFlowMgr flowMgr, ILocationMgr locationMgr, IProductLineInProcessLocationDetailMgr productLineInProcessLocationDetailMgr, IRoutingDetailMgr routingDetailMgr, IOrderHeadMgr orderHeadMgr, IInProcessLocationMgr inProcessLocationMgr, ICriteriaMgr criteriaMgr ) : System
SetMateria ( Resolver resolver ) : void

Private Methods

Method Description
MatchByHu ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu ) : bool
MatchByHu ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu, int locationLotDetId ) : bool

按Hu匹配

MatchByItem ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu ) : bool
MatchByItem ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu, int locationLotDetId ) : bool

缺省匹配规则,按Item匹配//暂不考虑超收超发,只有扫描条码的才有Item匹配逻辑 FulfillUnitCount 需要重构 场景1:订单发运:不整包收发(FulfillUnitCount)就不匹配单包装 场景2:订单收货:不整包收发(FulfillUnitCount)就不匹配单包装 场景3:ASN收货:一定要匹配单包装,对供应商要求严格

MatchByLot ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu ) : bool
MatchByLot ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu, int locationLotDetId ) : bool

按LotNo匹配

MatchHuByFlowView ( Resolver resolver, FlowView flowView, com.Sconit.Entity.MasterData.Hu hu ) : void
MatchHuByItem ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu ) : void
MatchInspet ( Resolver resolver ) : void
MatchReceive ( Resolver resolver ) : void
MatchRepack ( Resolver resolver ) : void
MatchShip ( Resolver resolver ) : void
MergeTransformers ( List originalTransformer, List targetTransformers ) : List

用于投料/回冲

ProcessTransformerByLotNo ( Resolver resolver, Transformer transformer, com.Sconit.Entity.MasterData.Hu hu, int locationLotDetId ) : bool
ResolveAndCreateHu ( string barCode, com.Sconit.Entity.MasterData.Flow flow ) : com.Sconit.Entity.MasterData.Hu
ResolveAndCreateHu ( string barCode, IList orderDetailList ) : com.Sconit.Entity.MasterData.Hu
ResolveAndCreateHu ( string barCode, IList orderLocationTransactionIdList ) : com.Sconit.Entity.MasterData.Hu
ResolveAndCreateHu ( string barCode, Uom uom, Party manufactureParty ) : com.Sconit.Entity.MasterData.Hu
ResolveAndCreateHu ( string barCode, string orderNo ) : com.Sconit.Entity.MasterData.Hu
ResolveBarCode ( string barCode ) : object[]
ResolveHu ( string antiResolveHuOption, string huId, List transformerList ) : com.Sconit.Entity.MasterData.Hu
ResolveHu ( string antiResolveHuOption, string huId, Uom uom, Party manufactureParty ) : com.Sconit.Entity.MasterData.Hu

Method Details

CheckFIFO() public method

public CheckFIFO ( com.Sconit.Entity.MasterData.Hu targetHu, IList pickedHuList ) : string
targetHu com.Sconit.Entity.MasterData.Hu
pickedHuList IList
return string

CheckHuReScan() public method

public CheckHuReScan ( Resolver resolver ) : void
resolver Resolver
return void

CheckMatchHuScanExist() public method

public CheckMatchHuScanExist ( Resolver resolver ) : bool
resolver Resolver
return bool

FindMaxSeq() public method

public FindMaxSeq ( List transformerList ) : int
transformerList List
return int

FindMaxSeq() public method

public FindMaxSeq ( Transformer transformer ) : int
transformer com.Sconit.Entity.MasterData.Transformer
return int

SetDetailMgr() public method

public SetDetailMgr ( IHuMgr huMgr, ILocationLotDetailMgr locationLotDetailMgr, IOrderLocationTransactionMgr orderLocationTransactionMgr, IUserMgr userMgr, INumberControlMgr numberControlMgr, IUomConversionMgr uomConversionMgr, IItemMgr itemMgr, IOrderDetailMgr orderDetailMgr, IEntityPreferenceMgr entityPreferenceMgr, IOrderMgr orderMgr, IFlowMgr flowMgr, ILocationMgr locationMgr, IProductLineInProcessLocationDetailMgr productLineInProcessLocationDetailMgr, IRoutingDetailMgr routingDetailMgr, IOrderHeadMgr orderHeadMgr, IInProcessLocationMgr inProcessLocationMgr, ICriteriaMgr criteriaMgr ) : System
huMgr IHuMgr
locationLotDetailMgr ILocationLotDetailMgr
orderLocationTransactionMgr IOrderLocationTransactionMgr
userMgr IUserMgr
numberControlMgr INumberControlMgr
uomConversionMgr IUomConversionMgr
itemMgr IItemMgr
orderDetailMgr IOrderDetailMgr
entityPreferenceMgr IEntityPreferenceMgr
orderMgr IOrderMgr
flowMgr IFlowMgr
locationMgr ILocationMgr
productLineInProcessLocationDetailMgr IProductLineInProcessLocationDetailMgr
routingDetailMgr IRoutingDetailMgr
orderHeadMgr IOrderHeadMgr
inProcessLocationMgr IInProcessLocationMgr
criteriaMgr ICriteriaMgr
return System

SetMateria() public method

public SetMateria ( Resolver resolver ) : void
resolver Resolver
return void