This commit is contained in:
gongxh
2021-06-07 10:37:41 +08:00
parent f127eaea20
commit e924f18926
7 changed files with 121 additions and 29 deletions

View File

@@ -257,8 +257,6 @@ namespace NX.ERP.U8.AP
try
{
AddRdVoucher(voucherParameter);
///处理单号不增加的异常
var number = new NX.ERP.U8.VoucherHistory();
number.IncNumber("P0", "单据日期", ApVouch.Date.ToString("yyyyMM"));
var strsql = "select Auto_ID from AP_ApVouch where cDefine10=@id";
@@ -266,10 +264,7 @@ namespace NX.ERP.U8.AP
using (var conn = NX.ERP.U8.U8LoginContext.Instance.Connection)
{
code = conn.ExecuteScalar<string>(strsql, new { id }, null, 30, System.Data.CommandType.Text);
}
return code;
}
catch (Exception err)