存货核算反结账时卡住不动,最终报错。
金蝶云社区-Ethen
Ethen
0人赞赏了该文章 1,447次浏览 未经作者许可,禁止转载编辑于2018年01月31日 09:51:57

总部老师们,我这边反存货核算结账时,一直卡在了76%上。时间久了就报很长的关于数据库类代码的错误,请帮忙看一下是什么问题。如需远程请加QQ:379093410。谢谢


一直卡在这个界面,很久后报错:

代码明细如下:
异步任务执行失败System.AggregateException: One or more errors occurred. ---> System.Transactions.TransactionException: The operation is not valid for the state of the transaction. ---> System.TimeoutException: Transaction Timeout
--- End of inner exception stack trace ---
at Kingdee.K3.FIN.App.Core.CommonFunction.DoCheckOutUnCheckOutAction(Context ctx, CheckOutParameters para, CheckOutUnCheckOutAction action, CheckOutItem item, Boolean withTransAction)
at Kingdee.K3.FIN.CB.App.Core.CBCheckOutUnCheckOut.TurnHistoryDataToSource(Context ctx, CheckOutParameters param)
at Kingdee.K3.FIN.CB.App.Core.CBCheckOutUnCheckOut.UnCheckOut(Context ctx, CheckOutParameters unCheckOutParam)
at Kingdee.K3.FIN.HS.App.Core.CheckOutSerice.CheckOutUnCheckOut(Context ctx, CheckOutParameters jsonParameters, IOperationResult operationResult)
at Kingdee.K3.FIN.HS.App.Core.CheckOutSerice.Start(Context ctx, CheckOutParameters jsonParameters, Boolean checkMinStock)
at Kingdee.K3.FIN.HS.ServiceHelper.CheckOutSericeHelper.Start(Context ctx, CheckOutParameters jsonParameters, Boolean checkMinStock)
at Kingdee.K3.FIN.HS.Business.PlugIn.CheckOutUNCheckOutEdit.Start()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Transactions.TransactionException: The operation is not valid for the state of the transaction. ---> System.TimeoutException: Transaction Timeout
--- End of inner exception stack trace ---
at Kingdee.K3.FIN.App.Core.CommonFunction.DoCheckOutUnCheckOutAction(Context ctx, CheckOutParameters para, CheckOutUnCheckOutAction action, CheckOutItem item, Boolean withTransAction)
at Kingdee.K3.FIN.CB.App.Core.CBCheckOutUnCheckOut.TurnHistoryDataToSource(Context ctx, CheckOutParameters param)
at Kingdee.K3.FIN.CB.App.Core.CBCheckOutUnCheckOut.UnCheckOut(Context ctx, CheckOutParameters unCheckOutParam)
at Kingdee.K3.FIN.HS.App.Core.CheckOutSerice.CheckOutUnCheckOut(Context ctx, CheckOutParameters jsonParameters, IOperationResult operationResult)
at Kingdee.K3.FIN.HS.App.Core.CheckOutSerice.Start(Context ctx, CheckOutParameters jsonParameters, Boolean checkMinStock)
at Kingdee.K3.FIN.HS.ServiceHelper.CheckOutSericeHelper.Start(Context ctx, CheckOutParameters jsonParameters, Boolean checkMinStock)
at Kingdee.K3.FIN.HS.Business.PlugIn.CheckOutUNCheckOutEdit.Start()
at System.Threading.Tasks.Task.Execute()<---