C# Класс com.Sconit.Service.Business.Impl.SetDetailMgr

Наследование: ISetDetailMgr
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CheckFIFO() публичный Метод

public CheckFIFO ( com.Sconit.Entity.MasterData.Hu targetHu, IList pickedHuList ) : string
targetHu com.Sconit.Entity.MasterData.Hu
pickedHuList IList
Результат string

CheckHuReScan() публичный Метод

public CheckHuReScan ( Resolver resolver ) : void
resolver Resolver
Результат void

CheckMatchHuScanExist() публичный Метод

public CheckMatchHuScanExist ( Resolver resolver ) : bool
resolver Resolver
Результат bool

FindMaxSeq() публичный Метод

public FindMaxSeq ( List transformerList ) : int
transformerList List
Результат int

FindMaxSeq() публичный Метод

public FindMaxSeq ( Transformer transformer ) : int
transformer com.Sconit.Entity.MasterData.Transformer
Результат int

SetDetailMgr() публичный Метод

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
Результат System

SetMateria() публичный Метод

public SetMateria ( Resolver resolver ) : void
resolver Resolver
Результат void