|
@ -51,7 +51,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report |
|
|
" ISNULL ( temp2.Price, 0 ) AS Price,--开票金额\n" + |
|
|
" ISNULL ( temp2.Price, 0 ) AS Price,--开票金额\n" + |
|
|
" ISNULL ( temp1.InvoicePrice * temp1.Qty, 0 ) AS InvoiceMoney,--开票金额\n" + |
|
|
" ISNULL ( temp1.InvoicePrice * temp1.Qty, 0 ) AS InvoiceMoney,--开票金额\n" + |
|
|
" ISNULL ( Price * WMSDeliveryQty, 0 ) AS Amount,--金额\n" + |
|
|
" ISNULL ( Price * WMSDeliveryQty, 0 ) AS Amount,--金额\n" + |
|
|
" ISNULL ( Price * temp1.Qty, 0 ) AS SettlePrice,--结算金额\n" + |
|
|
" ISNULL ( InvoicePrice * temp1.Qty, 0 ) AS SettlePrice,--结算金额\n" + |
|
|
" ( Price - InvoicePrice ) AS InvoiceDiffPrice,--单价差异\n" + |
|
|
" ( Price - InvoicePrice ) AS InvoiceDiffPrice,--单价差异\n" + |
|
|
" ISNULL ( Price * temp1.Qty - InvoicePrice * temp1.Qty, 0 ) AS SumDiffMoney,--总金额差异\n" + |
|
|
" ISNULL ( Price * temp1.Qty - InvoicePrice * temp1.Qty, 0 ) AS SumDiffMoney,--总金额差异\n" + |
|
|
" '' DeliveryOrderNo,--出库单号\n" + |
|
|
" '' DeliveryOrderNo,--出库单号\n" + |
|
|