采购入库单审核时出现:此操作对该事务的状态无效
金蝶云社区-quHongan
quHongan
0人赞赏了该文章 2,110次浏览 未经作者许可,禁止转载编辑于2016年11月16日 09:18:24

采购入库单提交审核时出现如下提示,下游应付单没有保存插件,没有转换插件,入库单没有提交插件和保存插件。
版本:6.1+PT108346
QQ:469126910

英文提示:the operation is not valid for the state of the transaction
中文提示:此操作对该事务的状态无效。
[{"operation":"AP_ApprovalAssignHandle.MBIClick.tbWFSubmit"}]
发生时间:09:16:25
错误来源: System.Transactions
错误信息:此操作对该事务的状态无效。
===================================================
调用堆栈:
在 System.Transactions.TransactionState.EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction)
在 System.Transactions.Transaction.EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification)
在 System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
在 System.Data.ProviderBase.DbConnectionPool.PrepareConnection(DbConnection owningObject, DbConnectionInternal obj, Transaction transaction)
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.Open()
在 Kingdee.BOS.App.Data.AbstractDatabase.GetNewOpenConnection()
在 Kingdee.BOS.App.Data.TransactionScopeConnections.GetConnection(IDatabase db)
在 Kingdee.BOS.App.Data.AbstractDatabase.GetOpenConnection(Boolean disposeInnerConnection)
在 Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
在 Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL, IEnumerable`1 paramList, Boolean needTranslate)
在 Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL, SqlParam param)
在 Kingdee.K3.SCM.App.Core.AppBusinessService.InvUpDataCommitService.DoActionAfterTransaction(AppServiceNoTransArgs e)
在 Kingdee.BOS.App.Core.AbstractOprerationService.InvokeFormBusinessAfterTransaction(DynamicObject[] dataEntities)
在 Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
在 Kingdee.BOS.App.Core.AbstractOprerationService.Excute(Object[] ids)
在 Kingdee.BOS.App.Core.AbstractSetStatus.Excute(Object[] ids)
在 Kingdee.BOS.App.Core.SetStatusService.SetBillStatus(Context ctx, BusinessInfo businessInfo, List`1 pkEntryIds, List`1 paras, String operationNumber, OperateOption option)
在 Kingdee.BOS.Workflow.App.Core.AuditInvokeService.Execute(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, String operationNumber, OperateOption option)
在 Kingdee.BOS.Workflow.App.Core.WFInvokeOperationService.InvokeService(Context ctx, String operationName, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, Boolean needNewTrans)
在 Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.InvokeAssignAndOperate(Context ctx, AssignmentRepository rep, OperateOption option, Field billNoField, List`1 lstOnlyCompletedContext, Dictionary`2 dctCompletedWithOperate, List`1 lstUnCompletedContext, LocaleValue resultName, Int32& successCount, BatchApprovalItems& batchApprovalItems)
在 Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.SubmitApprovalItems(Context ctx, ApprovalAssignmentContext assignContext)
在 Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.SubmitApprovalItem(Context ctx, ApprovalAssignmentContext assignContext)
在 Kingdee.BOS.Workflow.ServiceHelper.ApprovalAssignmentServiceHelper.SubmitApprovalItem(Context ctx, ApprovalAssignmentContext assignContext)
在 Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.DoSubmitAssignment(ApprovalItem approvalItem, ApprovalAssignResult approvalResult, OperateOption option)
在 Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.SubmitAssignment(Nullable`1 postId, OperateOption option)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBaseEdit.Submit(OperateOption option)
在 Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.BarItemClick(BarItemClickEventArgs e)
在 Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireBarItemClick(BarItemClickEventArgs e)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal