修正挂账单的错误
This commit is contained in:
@@ -220,11 +220,11 @@ namespace NX.ERP.U8.AP
|
||||
headXml.setAttribute("VT_ID", 8056);
|
||||
headXml.setAttribute("bd_c", false);
|
||||
headXml.setAttribute("bStartFlag", false);
|
||||
headXml.setAttribute("cVouchID", "");
|
||||
headXml.setAttribute("cVouchID","");
|
||||
headXml.setAttribute("cFlag", "AP");
|
||||
headXml.setAttribute("cDeptCode", ApVouch.DeptCode);
|
||||
headXml.setAttribute("cDigest", ApVouch.Digest);
|
||||
headXml.setAttribute("cLink", "");
|
||||
// headXml.setAttribute("cLink", "");
|
||||
IXMLDOMElement bodyXml;
|
||||
|
||||
//for (var n = 0; n < storeIn.details.Count(); n++)
|
||||
@@ -239,7 +239,7 @@ namespace NX.ERP.U8.AP
|
||||
bodyXml.setAttribute("iAmount", ApVouch.Amount);
|
||||
bodyXml.setAttribute("iAmount_f", ApVouch.Amount);
|
||||
bodyXml.setAttribute("iAmt_s", 0);
|
||||
bodyXml.setAttribute("cLink", "");
|
||||
// bodyXml.setAttribute("cLink", "");
|
||||
headXml.setAttribute("cDwCode", ApVouch.supplierCode);
|
||||
bodyXml.setAttribute("bd_c", true);
|
||||
|
||||
@@ -249,7 +249,13 @@ namespace NX.ERP.U8.AP
|
||||
|
||||
try
|
||||
{
|
||||
return AddRdVoucher(voucherParameter);
|
||||
AddRdVoucher(voucherParameter);
|
||||
|
||||
///处理单号不增加的异常
|
||||
var number = new NX.ERP.U8.VoucherHistory();
|
||||
number.IncNumber("P0", "单据日期", ApVouch.Date.ToString("yyyyMM"));
|
||||
|
||||
return "";
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user