|
|
@ -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,37 +1127,6 @@ 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)) |
|
|
|
.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.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)) |
|
|
|
.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.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)) |
|
|
|
.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.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)) |
|
|
@ -1168,7 +1136,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.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, HBPO_SE_DETAIL>() |
|
|
|
.ForMember(x => x.SeqNumber, y => y.MapFrom(d => d.JISNum)) |
|
|
@ -1179,7 +1147,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.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, PUB_SE_DETAIL>() |
|
|
|
.ForMember(x => x.BeginDate, y => y.MapFrom(d => d.BillTime)) |
|
|
@ -1187,7 +1155,38 @@ 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.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, 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.JISNum)) |
|
|
|
.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)) |
|
|
|
.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.JISNum)) |
|
|
|
.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)) |
|
|
|
.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.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)); |
|
|
|
} |
|
|
|
|
|
|
|