|
|
@ -1241,7 +1241,7 @@ where a.ODNType='1' and a.Status='2' and a.OASNCode is null"; |
|
|
|
object Figure = GetDecimalDigits(); |
|
|
|
#region [SQL]
|
|
|
|
string sql = @"
|
|
|
|
select a.ID,a.RCVCode,a.Sequence,a.WHCode,a.InvCode,a.EATTRIBUTE,a.WorkPoint,a.InvDescribe,a.OrderNumber, |
|
|
|
select a.ID,a.RCVCode,a.Sequence,a.WHCode,a.InvCode,a.EATTRIBUTE,a.WorkPoint,a.InvDescribe,a.OrderNumber,a.Desks,a.DispatcherName, |
|
|
|
a.OrderInvCode,a.OrderInvDescribe,a.BillType,a.Remarks,a.Unit, |
|
|
|
a.StockIndicator,a.RemarksTerm,detail.LocationCode AS Area, b.InvName,b.InvStd,b.InvDesc,b.InvUnit,CAST(a.Quantity AS DECIMAL(18,{0})) as Quantity , |
|
|
|
CAST(a.Amount AS DECIMAL(18,{0})) as Amount,CAST(a.RCVQuantity AS DECIMAL(18,{0})) as RCVQuantity ,a.CreatePerson,a.CreateDateTime,CAST(c.LOTQTY AS DECIMAL(18,{0})) as LOTQTY |
|
|
|