屏蔽某些API
This commit is contained in:
@@ -36,7 +36,6 @@ namespace NX.ERP.U8.Store
|
||||
headXml.setAttribute("ccode", "11");
|
||||
headXml.setAttribute("ddate", storeIn.Date);
|
||||
headXml.setAttribute("cmaker", storeIn.Maker);
|
||||
|
||||
headXml.setAttribute("vt_id", new VT().GetDefaltVTID("0411"));
|
||||
headXml.setAttribute("editprop", "A");
|
||||
headXml.setAttribute("cdepcode", "");
|
||||
@@ -53,14 +52,13 @@ namespace NX.ERP.U8.Store
|
||||
IXMLDOMElement bodyXml;
|
||||
for (var n = 0; n < storeIn.Details.Count; n++)
|
||||
{
|
||||
|
||||
bodyXml = domBody.createElement("z:row");
|
||||
var detail = storeIn.Details[n];
|
||||
bodyXml.setAttribute("cinvcode", detail.InvCode);
|
||||
bodyXml.setAttribute("iquantity", detail.Quantity);
|
||||
var _cost = new MaterielDAL().GetCost(detail.InvCode, 0);
|
||||
bodyXml.setAttribute("iunitcost", _cost);
|
||||
bodyXml.setAttribute("iprice", new NX.ERP.U8.Account.Accinformation().FormatMoney(_cost * detail.Quantity));
|
||||
bodyXml.setAttribute("iprice", new Account.Accinformation().FormatMoney(_cost * detail.Quantity));
|
||||
bodyXml.setAttribute("irowno", n + 1);
|
||||
bodyXml.setAttribute("editprop", "A");
|
||||
bodyXml.setAttribute("cbatch", detail.Batch);
|
||||
@@ -70,19 +68,14 @@ namespace NX.ERP.U8.Store
|
||||
headXml.setAttribute("iproorderid", momOrder.Id);
|
||||
domBody.selectSingleNode("//rs:data").appendChild(bodyXml);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
domHead.selectSingleNode("//rs:data").appendChild(headXml);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
return AddRdVoucher(voucherParameter);
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
|
||||
throw err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user