|
|
@ -15,7 +15,6 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.ForMember(x => x.AssembleRequestNumber, y => y.MapFrom(d => d.Number)) |
|
|
|
.ForMember(x => x.RequestType, y => y.MapFrom(d => d.Type)) |
|
|
|
.Ignore(x => x.WarehouseCode) |
|
|
|
.Ignore(x => x.Workshop) |
|
|
|
.Ignore(x => x.UpStreamJobNumber) |
|
|
|
.Ignore(x => x.JobType) |
|
|
|
.Ignore(x => x.IsAutoComplete) |
|
|
@ -34,102 +33,5 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.Ignore(x => x.Details) |
|
|
|
; |
|
|
|
|
|
|
|
CreateMap<AssembleRequestDetail, AssembleJobDetailInput>() |
|
|
|
.ForMember(x => x.RequestLocationCode, y => y.MapFrom(d => d.ToLocationCode)) |
|
|
|
.Ignore(x => x.RecommendFromLocationArea) |
|
|
|
.Ignore(x => x.RecommendFromLocationGroup) |
|
|
|
.Ignore(x => x.HandledFromLocationArea) |
|
|
|
.Ignore(x => x.HandledFromLocationGroup) |
|
|
|
.Ignore(x => x.RecommendFromWarehouseCode) |
|
|
|
.Ignore(x => x.HandledFromWarehouseCode) |
|
|
|
.Ignore(x => x.OnTheWayLocationCode) |
|
|
|
.Ignore(x => x.DistributionType) |
|
|
|
.Ignore(x => x.RoundedQty) |
|
|
|
.Ignore(x => x.Operation) |
|
|
|
.Ignore(x => x.ExpiredTime) |
|
|
|
.Ignore(x => x.TruncType) |
|
|
|
.Ignore(x => x.PlanBeginTime) |
|
|
|
.Ignore(x => x.PlannedSplitRule) |
|
|
|
.Ignore(x => x.DeliveryQty) |
|
|
|
.Ignore(x => x.Status) |
|
|
|
.Ignore(x => x.RecommendContainerCode) |
|
|
|
.Ignore(x => x.StdPackQty) |
|
|
|
.Ignore(x => x.RecommendPackingCode) |
|
|
|
.Ignore(x => x.HandledContainerCode) |
|
|
|
.Ignore(x => x.HandledPackingCode) |
|
|
|
.Ignore(x => x.RecommendSupplierBatch) |
|
|
|
.Ignore(x => x.RecommendProduceDate) |
|
|
|
.Ignore(x => x.RecommendArriveDate) |
|
|
|
.Ignore(x => x.RecommendExpireDate) |
|
|
|
.Ignore(x => x.HandledFromLocationCode) |
|
|
|
.Ignore(x => x.HandledFromLocationErpCode) |
|
|
|
.Ignore(x => x.HandledUom) |
|
|
|
.Ignore(x => x.RecommendFromLocationErpCode) |
|
|
|
.Ignore(x => x.HandledExpireDate) |
|
|
|
.Ignore(x => x.HandledLot) |
|
|
|
.Ignore(x => x.HandledArriveDate) |
|
|
|
.Ignore(x => x.HandledProduceDate) |
|
|
|
.Ignore(x => x.HandledQty) |
|
|
|
.Ignore(x => x.RecommendQty) |
|
|
|
.Ignore(x => x.Uom) |
|
|
|
.Ignore(x => x.HandledSupplierBatch) |
|
|
|
.Ignore(x => x.RecommendFromLocationCode) |
|
|
|
.Ignore(x => x.RecommendLot) |
|
|
|
.IgnoreIHasRecommendAndHandledFrom(); |
|
|
|
|
|
|
|
CreateMap<BalanceDTO, AssembleJobDetailInput>() |
|
|
|
.ForMember(x => x.RecommendArriveDate, y => y.MapFrom(d => d.ArriveDate)) |
|
|
|
.ForMember(x => x.RecommendContainerCode, y => y.MapFrom(d => d.ContainerCode)) |
|
|
|
.ForMember(x => x.RecommendExpireDate, y => y.MapFrom(d => d.ExpireDate)) |
|
|
|
.ForMember(x => x.RecommendFromLocationCode, y => y.MapFrom(d => d.LocationCode)) |
|
|
|
.ForMember(x => x.RecommendFromLocationErpCode, y => y.MapFrom(d => d.LocationErpCode)) |
|
|
|
.ForMember(x => x.RecommendFromWarehouseCode, y => y.MapFrom(d => d.WarehouseCode)) |
|
|
|
.ForMember(x => x.RecommendFromLocationArea, y => y.MapFrom(d => d.LocationArea)) |
|
|
|
.ForMember(x => x.RecommendFromLocationGroup, y => y.MapFrom(d => d.LocationGroup)) |
|
|
|
.ForMember(x => x.RecommendLot, y => y.MapFrom(d => d.Lot)) |
|
|
|
.ForMember(x => x.RecommendPackingCode, y => y.MapFrom(d => d.PackingCode)) |
|
|
|
.ForMember(x => x.RecommendProduceDate, y => y.MapFrom(d => d.ProduceDate)) |
|
|
|
.ForMember(x => x.RecommendQty, y => y.MapFrom(d => d.Qty)) |
|
|
|
.ForMember(x => x.RecommendSupplierBatch, y => y.MapFrom(d => d.SupplierBatch)) |
|
|
|
.ForMember(x => x.Uom, y => y.MapFrom(d => d.Uom)).Ignore(x => x.HandledArriveDate) |
|
|
|
.Ignore(x => x.HandledFromLocationArea) |
|
|
|
.Ignore(x => x.HandledFromLocationGroup) |
|
|
|
.Ignore(x => x.ToLocationErpCode) |
|
|
|
.Ignore(x => x.ToWarehouseCode) |
|
|
|
.Ignore(x => x.ToLocationArea) |
|
|
|
.Ignore(x => x.ToLocationGroup) |
|
|
|
.Ignore(x => x.HandledFromWarehouseCode) |
|
|
|
.Ignore(x => x.RequestLocationCode) |
|
|
|
.Ignore(x => x.ToLocationCode) |
|
|
|
.Ignore(x => x.ProdLine) |
|
|
|
.Ignore(x => x.WorkStation) |
|
|
|
.Ignore(x => x.HandledContainerCode) |
|
|
|
.Ignore(x => x.HandledExpireDate) |
|
|
|
.Ignore(x => x.HandledFromLocationCode) |
|
|
|
.Ignore(x => x.HandledFromLocationErpCode) |
|
|
|
.Ignore(x => x.HandledLot) |
|
|
|
.Ignore(x => x.HandledPackingCode) |
|
|
|
.Ignore(x => x.HandledProduceDate) |
|
|
|
.Ignore(x => x.HandledQty) |
|
|
|
.Ignore(x => x.HandledSupplierBatch) |
|
|
|
.Ignore(x => x.HandledUom) |
|
|
|
.Ignore(x => x.Remark) |
|
|
|
.Ignore(x => x.OnTheWayLocationCode) |
|
|
|
.Ignore(x => x.DistributionType) |
|
|
|
.Ignore(x => x.RoundedQty) |
|
|
|
.Ignore(x => x.Operation) |
|
|
|
.Ignore(x => x.ExpiredTime) |
|
|
|
.Ignore(x => x.TruncType) |
|
|
|
.Ignore(x => x.PlanBeginTime) |
|
|
|
.Ignore(x => x.PlannedSplitRule) |
|
|
|
.Ignore(x => x.DeliveryQty) |
|
|
|
.Ignore(x => x.RequestLocationCode) |
|
|
|
.Ignore(x => x.ToLocationCode) |
|
|
|
.Ignore(x => x.ProdLine) |
|
|
|
.Ignore(x => x.WorkStation) |
|
|
|
.Ignore(x => x.PositionCode) |
|
|
|
.Ignore(x => x.RecommendType) |
|
|
|
.IgnoreIHasRecommendAndHandledFrom(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|