存货核算关账报错--走到96%后报错(急着结账)
金蝶云社区-云社区用户h43N0783
云社区用户h43N0783
0人赞赏了该文章 1,156次浏览 未经作者许可,禁止转载编辑于2016年08月08日 10:27:25
异步任务执行失败System.AggregateException: 发生一个或多个错误。 ---> System.Transactions.TransactionAbortedException: 已中止事务。 ---> System.TimeoutException: 事务超时
--- 内部异常堆栈跟踪的结尾 ---
在 System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
在 System.Transactions.CommittableTransaction.Commit()
在 System.Transactions.TransactionScope.InternalDispose()
在 System.Transactions.TransactionScope.Dispose()
在 Kingdee.BOS.App.Data.KDTransactionScope.Dispose()
在 Kingdee.K3.SCM.App.Core.StockCloseService.GetDateInvBalByOwner(Context ctx, List`1 owners, DateTime endDate, String tempTableName, Boolean checkMinus, Boolean checkStkCountBillAudit)
在 Kingdee.K3.FIN.HS.App.Core.AccountOpenCloseService.OpenCloseAccount(AccountClosePara accountPara)
在 Kingdee.K3.FIN.HS.ServiceHelper.AccountOpenCloseServiceHelper.OpenCloseAccount(AccountClosePara accountPara)
在 Kingdee.K3.FIN.HS.Business.PlugIn.AccountOpenClose.BatchOpenCloseAccount()
在 System.Threading.Tasks.Task.Execute()
--- 内部异常堆栈跟踪的结尾 ---
---> (内部异常 #0) System.Transactions.TransactionAbortedException: 已中止事务。 ---> System.TimeoutException: 事务超时
--- 内部异常堆栈跟踪的结尾 ---
在 System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
在 System.Transactions.CommittableTransaction.Commit()
在 System.Transactions.TransactionScope.InternalDispose()
在 System.Transactions.TransactionScope.Dispose()
在 Kingdee.BOS.App.Data.KDTransactionScope.Dispose()
在 Kingdee.K3.SCM.App.Core.StockCloseService.GetDateInvBalByOwner(Context ctx, List`1 owners, DateTime endDate, String tempTableName, Boolean checkMinus, Boolean checkStkCountBillAudit)
在 Kingdee.K3.FIN.HS.App.Core.AccountOpenCloseService.OpenCloseAccount(AccountClosePara accountPara)
在 Kingdee.K3.FIN.HS.ServiceHelper.AccountOpenCloseServiceHelper.OpenCloseAccount(AccountClosePara accountPara)
在 Kingdee.K3.FIN.HS.Business.PlugIn.AccountOpenClose.BatchOpenCloseAccount()
在 System.Threading.Tasks.Task.Execute()<---