|
@ -279,6 +279,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
Version = sa.Version, |
|
|
Version = sa.Version, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
PN = sa.PN, |
|
|
PN = sa.PN, |
|
|
|
|
|
LU = sa.LU, |
|
|
SAQty = sa.Qty, |
|
|
SAQty = sa.Qty, |
|
|
SaCustomerPartCode = sa.CustomerPartCodeNoSpace, |
|
|
SaCustomerPartCode = sa.CustomerPartCodeNoSpace, |
|
|
SaFactoryPartCode = sa.PartCode, |
|
|
SaFactoryPartCode = sa.PartCode, |
|
@ -298,6 +299,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
WmsBillNum = se.WmsBillNum, |
|
|
WmsBillNum = se.WmsBillNum, |
|
|
ShippingDate = se.ShippingDate, |
|
|
ShippingDate = se.ShippingDate, |
|
|
PN = se.PN, |
|
|
PN = se.PN, |
|
|
|
|
|
LU = se.LU, |
|
|
SEQty = se.Qty, |
|
|
SEQty = se.Qty, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
@ -319,6 +321,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
ShippingDate = se.ShippingDate, |
|
|
ShippingDate = se.ShippingDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
PN = sa.PN, |
|
|
PN = sa.PN, |
|
|
|
|
|
LU = sa.LU, |
|
|
SAQty = sa.Qty, |
|
|
SAQty = sa.Qty, |
|
|
SEQty = se.Qty, |
|
|
SEQty = se.Qty, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToLocCode = se.ToLocCode, |
|
@ -351,6 +354,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Version = groupItem.Max(t => t.Version), |
|
|
Version = groupItem.Max(t => t.Version), |
|
|
|
|
|
PN = groupItem.Max(t => t.PN), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
SettleDate = groupItem.Max(t => t.SettleDate), |
|
|
SettleDate = groupItem.Max(t => t.SettleDate), |
|
|
PartCode = groupItem.Max(t => t.PartCode), |
|
|
PartCode = groupItem.Max(t => t.PartCode), |
|
@ -365,6 +369,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Version = groupItem.Max(t => t.Version), |
|
|
Version = groupItem.Max(t => t.Version), |
|
|
|
|
|
PN = groupItem.Max(t => t.PN), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
SettleDate = groupItem.Max(t => t.SettleDate), |
|
|
SettleDate = groupItem.Max(t => t.SettleDate), |
|
|
PartCode = groupItem.Max(t => t.PartCode), |
|
|
PartCode = groupItem.Max(t => t.PartCode), |
|
@ -379,6 +384,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Version = groupItem.Max(t => t.Version), |
|
|
Version = groupItem.Max(t => t.Version), |
|
|
|
|
|
PN = groupItem.Max(t => t.PN), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
SettleDate = groupItem.Max(t => t.SettleDate), |
|
|
SettleDate = groupItem.Max(t => t.SettleDate), |
|
|
PartCode = groupItem.Max(t => t.PartCode), |
|
|
PartCode = groupItem.Max(t => t.PartCode), |
|
@ -393,6 +399,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
{ |
|
|
{ |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
groupItem.Key.CustomerPartCodeNoSpace, |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
|
|
|
PN = groupItem.Max(t => t.PN), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
WmsBillNum = groupItem.Max(t => t.WmsBillNum), |
|
|
WmsBillNum = groupItem.Max(t => t.WmsBillNum), |
|
|
ShippingDate = groupItem.Max(t => t.ShippingDate), |
|
|
ShippingDate = groupItem.Max(t => t.ShippingDate), |
|
@ -413,6 +420,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
Version = sa.Version, |
|
|
Version = sa.Version, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
SAQty = sa.Qty, |
|
|
SAQty = sa.Qty, |
|
|
|
|
|
PN = sa.PN, |
|
|
|
|
|
LU = sa.LU, |
|
|
SaCustomerPartCode = sa.CustomerPartCodeNoSpace, |
|
|
SaCustomerPartCode = sa.CustomerPartCodeNoSpace, |
|
|
SaFactoryPartCode = sa.PartCode, |
|
|
SaFactoryPartCode = sa.PartCode, |
|
|
CustomerPartCode = sa.LU, |
|
|
CustomerPartCode = sa.LU, |
|
@ -431,6 +440,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
WmsBillNum = se.WmsBillNum, |
|
|
WmsBillNum = se.WmsBillNum, |
|
|
ShippingDate = se.ShippingDate, |
|
|
ShippingDate = se.ShippingDate, |
|
|
SEQty = se.Qty, |
|
|
SEQty = se.Qty, |
|
|
|
|
|
PN = se.PN, |
|
|
|
|
|
LU = se.LU, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
|
SeCustomerPartCode = se.CustomerPartCodeNoSpace, |
|
|
SeCustomerPartCode = se.CustomerPartCodeNoSpace, |
|
@ -451,6 +462,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
ShippingDate = se.ShippingDate, |
|
|
ShippingDate = se.ShippingDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
SAQty = sa.Qty, |
|
|
SAQty = sa.Qty, |
|
|
|
|
|
PN = sa.PN, |
|
|
|
|
|
LU = sa.LU, |
|
|
SEQty = se.Qty, |
|
|
SEQty = se.Qty, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
@ -544,6 +557,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
Version = sa.Version, |
|
|
Version = sa.Version, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
PN = sa.PN, |
|
|
PN = sa.PN, |
|
|
|
|
|
LU = sa.LU, |
|
|
SAQty = sa.Qty, |
|
|
SAQty = sa.Qty, |
|
|
SaCustomerPartCode = sa.LU, |
|
|
SaCustomerPartCode = sa.LU, |
|
|
SaFactoryPartCode = sa.FactoryPartCode, |
|
|
SaFactoryPartCode = sa.FactoryPartCode, |
|
@ -563,6 +577,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
WmsBillNum = se.WmsBillNum, |
|
|
WmsBillNum = se.WmsBillNum, |
|
|
ShippingDate = se.ShippingDate, |
|
|
ShippingDate = se.ShippingDate, |
|
|
PN = se.PN, |
|
|
PN = se.PN, |
|
|
|
|
|
LU = se.LU, |
|
|
SEQty = se.Qty, |
|
|
SEQty = se.Qty, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
|
ToErpLocCode = se.ToErpLocCode, |
|
@ -584,6 +599,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
ShippingDate = se.ShippingDate, |
|
|
ShippingDate = se.ShippingDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
CustomerOfflineTime = sa.SettleDate, |
|
|
PN = sa.PN, |
|
|
PN = sa.PN, |
|
|
|
|
|
LU = sa.LU, |
|
|
SAQty = sa.Qty, |
|
|
SAQty = sa.Qty, |
|
|
SEQty = se.Qty, |
|
|
SEQty = se.Qty, |
|
|
ToLocCode = se.ToLocCode, |
|
|
ToLocCode = se.ToLocCode, |
|
|