应付单批量审核报错,单个没问题
金蝶云社区-136xxxx4422
136xxxx4422
0人赞赏了该文章 822次浏览 未经作者许可,禁止转载编辑于2016年07月18日 17:38:12

应付单批量审核接口报错,如下:

Array( [Result] => Array ( [ResponseStatus] => Array ( [ErrorCode] => 500 [IsSuccess] => [Errors] => Array ( [0] => Array ( [FieldName] => Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.语句已终止。 [Message] => Server stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Kingdee.BOS.App.Data.Sql.SqlDatabase.DoBatchExecute(BatchSqlParam param, String where, StringBuilder sql, String tempTabAliases) at Kingdee.BOS.App.Data.Sql.SqlDatabase.BatchUpdate(BatchSqlParam param, String where) at Kingdee.BOS.App.Data.DBUtils.BatchUpdate(Context ctx, BatchSqlParam param, String where) at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.BatchUpdateBillingCloseStatus(List`1 entryIds, String tableName) at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.UpdateInstockBillingCloseStatus(List`1 instockEntryIds) at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.BillingClose(BeginOperationTransactionArgs e) at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.BeginOperationTransaction(BeginOperationTransactionArgs e) at Kingdee.BOS.App.Core.PlugInProxy.OperationServicePlugInProxy.FireBeginOperationTransaction(BeginOperationTransactionArgs e) at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs) at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs) at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete() at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(Object[] ids) at Kingdee.BOS.App.Core.SetStatusService.SetBillStatus(Context ctx, BusinessInfo businessInfo, List`1 pkEntryIds, List`1 paras, String operationNumber, OperateOption option)Exception rethrown at [0]: at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.SetBillStatus(Context ctx, BusinessInfo businessInfo, List`1 pkEntryIds, List`1 paras, String operationNumber, OperateOption option) at Kingdee.BOS.WebApi.FormService.AbstractStatusConvert.ExecuteStatusConvert(List`1 paras) at Kingdee.BOS.WebApi.FormService.Audit.Execute() at Kingdee.BOS.WebApi.FormService.BillOperationService.ExecuteOperation(FormOperation op, String data) [DIndex] => 0 ) ) [SuccessEntitys] => Array ( ) ) ))

前台批量审核也报一样的错误,如下图: