C# Class com.Sconit.Service.MasterData.Impl.ScanBarcodeMgr

Inheritance: IScanBarcodeMgr
Mostrar archivo Open project: Novthirteen/yfkey-scms

Public Methods

Method Description
MatchInspet ( Resolver resolver ) : void
MatchInspetOrder ( Resolver resolver ) : void
ScanBarcodeMgr ( ICriteriaMgr criteriaMgr, IStorageBinMgr storageBinMgr, ILocationLotDetailMgr locationLotDetailMgr, IHuMgr huMgr, IFlowMgr flowMgr, IFlowDetailMgr flowDetailMgr, IPickListMgr pickListMgr, IPickListDetailMgr pickListDetailMgr, IPickListResultMgr pickListResultMgr, IUserMgr userMgr, IInProcessLocationMgr inProcessLocationMgr, IReceiptMgr receiptMgr, IOrderHeadMgr orderHeadMgr, IOrderDetailMgr orderDetailMgr, IOrderMgr orderMgr, ILocationMgr locationMgr, IItemMgr itemMgr, IUomMgr uomMgr, IOrderLocationTransactionMgr orderLocationTransactionMgr, IEmployeeMgr employeeMgr, IEntityPreferenceMgr entityPreferenceMgr, IUomConversionMgr uomConversionMgr, INumberControlMgr numberControlMgr, ILanguageMgr languageMgr, IRepackMgr repackMgr, IInspectOrderMgr inspectOrderMgr, IInspectOrderDetailMgr inspectOrderDetailMgr, IProductLineInProcessLocationDetailMgr productLineInProcessLocationDetailMgr ) : System

Private Methods

Method Description
AnalyzeBarcode ( string barcode, com.Sconit.Entity.MasterData.User user, string moduleType ) : Resolver
AnalyzeBarcode ( string barcode, string userCode, string moduleType ) : Resolver
CancelOperation ( Resolver resolver ) : void
CheckHuInTransformerDetails ( Resolver resolver ) : void

上架,下架,投料transformerDetails处理

CheckHuLocationLotDetailExist ( string huId, string flowCode, string userCode, bool isNegative ) : com.Sconit.Entity.MasterData.Hu

根据Flow检查库存中的Hu,存在返回Hu,否则返回null 如果时退货(isNegative为true),检查目的库位库存;否则检查来源库位库存

CheckMatchHuScanExist ( Resolver resolver ) : bool
CheckOrderConfigValid ( string orderNo, string originalOrderNo ) : void

校验订单配置选项,是否允许同时发货

CheckTransformerItemExist ( string itemCode, List transformerList ) : bool
CheckTransformerOrderExist ( Resolver resolver ) : bool
ClearTransformerDetail ( List transformerList ) : void
ConvertResolverToInspectOrderDetails ( Resolver resolver ) : IList

把Resolver转成RepackDetail

ConvertResolverToOrderDetails ( Resolver resolver, com.Sconit.Entity.MasterData.Flow flow ) : IList

todo:未考虑生产调整

ConvertTransformerDetailListToMaterialIn ( List transformerDetailList ) : IList
ConvertTransformerDetailToLocationLotDetail ( List transformerDetailList, bool isPutAway ) : IList

ConvertTransformerDetailToLocationLotDetail ( TransformerDetail transformerDetail, bool isPutAway ) : LocationLotDetail

ConvertTransformerDetailToMaterialIn ( TransformerDetail transformerDetail ) : com.Sconit.Entity.Production.MaterialIn
ConvertTransformerListToRepackDetail ( IList transformerList ) : IList
CreateDevanning ( Resolver resolver ) : void
CreateInspectOrder ( Resolver resolver ) : void
CreateRepack ( Resolver resolver ) : void
FillByFLow ( Resolver resolver ) : void

根据Flow填充Transformers

FillInspect ( Resolver resolver ) : void

初始化检验 Transformers和TransformerDetails

FillMaterialBackflush ( Resolver resolver ) : void
FillOffline ( Resolver resolver ) : void
FillPutAway ( Resolver resolver ) : List

初始化上架 Transformers和TransformerDetails

FillReceive ( Resolver resolver ) : void
FillShip ( Resolver resolver ) : void
FindMaxSeq ( List transformerList ) : int
GetMatchFlowDetail ( IList flowDetailList, string itemCode ) : FlowDetail
GetMatchFlowDetail ( IList flowDetailList, string itemCode, string UomCode, decimal UnitCount ) : FlowDetail
Inspect ( Resolver resolver ) : void
MatchByHu ( Resolver resolver, com.Sconit.Entity.MasterData.Hu hu ) : bool

按Hu匹配

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

缺省匹配规则,按Item匹配

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

按LotNo匹配

MatchMaterialIn ( Resolver resolver ) : void
MatchPickup ( Resolver resolver ) : void
MatchPutAway ( Resolver resolver ) : void
MatchRepack ( Resolver resolver ) : void
MatchReturn ( Resolver resolver ) : void
MatchScan ( Resolver resolver ) : void
MaterialInScan ( string huId, IList materialInList ) : void
OrderReturn ( Resolver resolver ) : void
PickList ( Resolver resolver ) : void
PickUp ( Resolver resolver ) : void
PutAway ( Resolver resolver ) : void
RawMaterialBackflush ( Resolver resolver ) : void
RawMaterialIn ( Resolver resolver ) : void
ReceiveOrder ( Resolver resolver ) : Resolver
ReceiveWorkOrder ( Resolver resolver ) : string
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[]

根据LocationLotDetail修正Hu数量

ScanBarcode ( Resolver resolver ) : Resolver
ShipOrder ( Resolver resolver ) : Resolver
SumTransformer ( List transformerList ) : List

重新统计Transformer的箱数和总数

TotalCurrentQty ( Resolver resolver ) : decimal
TransferOrder ( Resolver resolver ) : string
TransferOrderScan ( Resolver resolver ) : void
TransformerDetailSeqComparer ( TransformerDetail x, TransformerDetail y ) : int

Method Details

MatchInspet() public method

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

MatchInspetOrder() public method

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

ScanBarcodeMgr() public method

public ScanBarcodeMgr ( ICriteriaMgr criteriaMgr, IStorageBinMgr storageBinMgr, ILocationLotDetailMgr locationLotDetailMgr, IHuMgr huMgr, IFlowMgr flowMgr, IFlowDetailMgr flowDetailMgr, IPickListMgr pickListMgr, IPickListDetailMgr pickListDetailMgr, IPickListResultMgr pickListResultMgr, IUserMgr userMgr, IInProcessLocationMgr inProcessLocationMgr, IReceiptMgr receiptMgr, IOrderHeadMgr orderHeadMgr, IOrderDetailMgr orderDetailMgr, IOrderMgr orderMgr, ILocationMgr locationMgr, IItemMgr itemMgr, IUomMgr uomMgr, IOrderLocationTransactionMgr orderLocationTransactionMgr, IEmployeeMgr employeeMgr, IEntityPreferenceMgr entityPreferenceMgr, IUomConversionMgr uomConversionMgr, INumberControlMgr numberControlMgr, ILanguageMgr languageMgr, IRepackMgr repackMgr, IInspectOrderMgr inspectOrderMgr, IInspectOrderDetailMgr inspectOrderDetailMgr, IProductLineInProcessLocationDetailMgr productLineInProcessLocationDetailMgr ) : System
criteriaMgr ICriteriaMgr
storageBinMgr IStorageBinMgr
locationLotDetailMgr ILocationLotDetailMgr
huMgr IHuMgr
flowMgr IFlowMgr
flowDetailMgr IFlowDetailMgr
pickListMgr IPickListMgr
pickListDetailMgr IPickListDetailMgr
pickListResultMgr IPickListResultMgr
userMgr IUserMgr
inProcessLocationMgr IInProcessLocationMgr
receiptMgr IReceiptMgr
orderHeadMgr IOrderHeadMgr
orderDetailMgr IOrderDetailMgr
orderMgr IOrderMgr
locationMgr ILocationMgr
itemMgr IItemMgr
uomMgr IUomMgr
orderLocationTransactionMgr IOrderLocationTransactionMgr
employeeMgr IEmployeeMgr
entityPreferenceMgr IEntityPreferenceMgr
uomConversionMgr IUomConversionMgr
numberControlMgr INumberControlMgr
languageMgr ILanguageMgr
repackMgr IRepackMgr
inspectOrderMgr IInspectOrderMgr
inspectOrderDetailMgr IInspectOrderDetailMgr
productLineInProcessLocationDetailMgr IProductLineInProcessLocationDetailMgr
return System