This commit is contained in:
杰 朱
2021-02-06 10:41:27 +08:00
parent 0463cb05e7
commit 2cf5628fad
3 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ namespace NX.ERP.BLL.Store
{ {
Code = "191000000003", Code = "191000000003",
Date = outBound.OutboundDate, Date = outBound.OutboundDate,
WhCode = outBound.Maker, WhCode = outBound.WarehouseCode,
Source = outBound.SourceName, Source = outBound.SourceName,
SourceCode = outBound.SourceNo, SourceCode = outBound.SourceNo,
Maker = outBound.Maker, Maker = outBound.Maker,

View File

@@ -10,7 +10,7 @@ namespace NX.ERP.U8.Sale
{ {
public IEnumerable<Model.Sale.DispatchList> GetList(string strWhere = "", object Params = null) public IEnumerable<Model.Sale.DispatchList> GetList(string strWhere = "", object Params = null)
{ {
var strSql = @"select a.DLID as SalesOrderId ,a.dDate as SalesOrderDate,a.cDLCode as SalesOrderNo ,A.cCusCode AS CustomerCode,b.DLID as id,b.AutoID as SalesOrderDtlId,b.DLID as SalesOrderId ,b.cInvCode as MaterialCode ,b.cInvName as InvName,b.iQuantity AS Qty var strSql = @"select a.DLID as SalesOrderId ,a.dDate as SalesOrderDate,a.cDLCode as SalesOrderNo ,A.cCusCode AS CustomerCode,b.AutoID as id,b.DLID as SalesOrderDtlId,b.DLID as SalesOrderId ,b.cInvCode as MaterialCode ,b.cInvName as InvName,b.iQuantity AS Qty
from DispatchList as a from DispatchList as a
left join DispatchLists as b on a.DLID = b.DLID where ISNULL( a.cverifier,'')<>''"; left join DispatchLists as b on a.DLID = b.DLID where ISNULL( a.cverifier,'')<>''";

View File

@@ -56,7 +56,7 @@ namespace NX.ERP.U8.Store
headXml.setAttribute("iflowid", ""); headXml.setAttribute("iflowid", "");
headXml.setAttribute("cbustype", "普通销售"); headXml.setAttribute("cbustype", "普通销售");
headXml.setAttribute("cstcode", ""); headXml.setAttribute("cstcode", "");
headXml.setAttribute("ccuscode", dispatch.SalesOrderId); headXml.setAttribute("ccuscode", dispatch.CustomerCode);
headXml.setAttribute("cmemo", ""); headXml.setAttribute("cmemo", "");
IXMLDOMElement bodyXml; IXMLDOMElement bodyXml;
for (var n = 0; n < storeOut.Details.Count; n++) for (var n = 0; n < storeOut.Details.Count; n++)