导入走API

This commit is contained in:
gongxh
2021-06-01 15:12:33 +08:00
parent a769186462
commit cf102ad57f
5 changed files with 99 additions and 73 deletions

View File

@@ -42,7 +42,9 @@ namespace NX.ERP.U8.Store
headXml.setAttribute("vt_id", "30718");
headXml.setAttribute("csource", param.source);
headXml.setAttribute("cRdCode", "206");
headXml.setAttribute("cDepCode", "5401");
headXml.setAttribute("cDepCode", param.DepCode);
headXml.setAttribute("cMaker", param.Maker);
headXml.setAttribute("cPersonCode", param.PersonCode);
Model.MOM.MomOrder Order = null;
if (param.source == "生产订单")
{
@@ -73,8 +75,6 @@ namespace NX.ERP.U8.Store
bodyXml.setAttribute("ipesotype", 7);
bodyXml.setAttribute("cpesocode", param.SourceCode);
bodyXml.setAttribute("ipesoseq", detail.momDetail.SortSeq);
}
domBody.selectSingleNode("//rs:data").appendChild(bodyXml);
}
@@ -155,9 +155,6 @@ FROM MaterialAppVouch a
public IEnumerable<Model.Response.Store.MaterialApp> GetPendingList()
{
return this.GetList(" b.cDefine22='是' and iQuantity<>ISNULL( fOutQuantity,0)");
}