|
|
@ -562,8 +562,7 @@ namespace Win.Sfs.SettleAccount |
|
|
|
/// </summary>
|
|
|
|
private void CreateMapPriceListBJ() |
|
|
|
{ |
|
|
|
CreateMap<PriceListBJImportDto, PriceListBJ>() |
|
|
|
.ForMember(x => x.Date, y => y.MapFrom(y => DateTime.ParseExact(y.Date, "dd.MM.yyyy", System.Globalization.CultureInfo.CurrentCulture))); |
|
|
|
CreateMap<PriceListBJImportDto, PriceListBJ>(); |
|
|
|
|
|
|
|
CreateMap<PriceListBJ, PriceListBJDto>().ReverseMap(); |
|
|
|
CreateMap<PriceListBJ, PriceListBJRequestDto>().ReverseMap(); |
|
|
@ -1128,66 +1127,66 @@ namespace Win.Sfs.SettleAccount |
|
|
|
/// </summary>
|
|
|
|
private void CreateMapSeSync() |
|
|
|
{ |
|
|
|
CreateMap<TM_BJBMPT_JIT_RECORD, BBAC_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.Seq)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.MatchNumber)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.UniqueCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.AssembleData)) |
|
|
|
CreateMap<TM_BJBMPT_JIS_RECORD, BBAC_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.DeliverCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.ShippingDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.VinCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.OrderNum)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
CreateMap<TM_BJBMPT_JIT_RECORD, HBPO_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.Seq)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.MatchNumber)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.UniqueCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.AssembleData)) |
|
|
|
CreateMap<TM_BJBMPT_JIS_RECORD, HBPO_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.DeliverCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.ShippingDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.VinCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.OrderNum)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
CreateMap<TM_BJBMPT_JIT_RECORD, PUB_SE_DETAIL>() |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.AssembleData)) |
|
|
|
CreateMap<TM_BJBMPT_JIS_RECORD, PUB_SE_DETAIL>() |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.ShippingDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.VinCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.OrderNum)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
|
|
|
|
CreateMap<TM_BJBMPT_JIS_RECORD, BBAC_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.DeliverCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
CreateMap<TM_BJBMPT_JIT_RECORD, BBAC_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.Seq)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.MatchNumber)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.UniqueCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.AssembleData)) |
|
|
|
.ForMember(x => x.ShippingDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.VinCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
CreateMap<TM_BJBMPT_JIS_RECORD, HBPO_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.DeliverCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
CreateMap<TM_BJBMPT_JIT_RECORD, HBPO_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.Seq)) |
|
|
|
.ForMember(x => x.AssemblyCode, y => y.MapFrom(d => d.MatchNumber)) |
|
|
|
.ForMember(x => x.InjectionCode, y => y.MapFrom(d => d.UniqueCode)) |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.AssembleData)) |
|
|
|
.ForMember(x => x.ShippingDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.VinCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
CreateMap<TM_BJBMPT_JIS_RECORD, PUB_SE_DETAIL>() |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
CreateMap<TM_BJBMPT_JIT_RECORD, PUB_SE_DETAIL>() |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.AssembleData)) |
|
|
|
.ForMember(x => x.ShippingDate, y => y.MapFrom(d => d.BillTime)) |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.RealPartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.VinCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.JISNum)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
|
|
|
|
CreateMap<TM_BJBMPT_OTHER_RECORD, PUB_SE_DETAIL>() |
|
|
@ -1196,7 +1195,7 @@ namespace Win.Sfs.SettleAccount |
|
|
|
.ForMember(x => x.WmsBillNum, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.LU, y => y.MapFrom(d => d.CustPartCode)) |
|
|
|
.ForMember(x => x.FactoryPartCode, y => y.MapFrom(d => d.PartCode)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.BillNum)) |
|
|
|
.ForMember(x => x.PN, y => y.MapFrom(d => d.DeliveryIndex)) |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.Qty)); |
|
|
|
} |
|
|
|
|
|
|
|