流程审核的时候,出现 此操作对该事务的状态无效
金蝶云社区-ppl0807
ppl0807
0人赞赏了该文章 3,761次浏览 未经作者许可,禁止转载编辑于2016年03月18日 09:12:17

具体的错误如下,另外,这个工作流程可以退回发起人,发起人重新提交后,到审核人处还是同样的问题,审核不了。
我们版本5.0 打了3月4日补丁
联系QQ:99012302


[{"operation":"WF_AssignApprovalBatch.MBIClick.tbWFSubmit"}]
发生时间:08:53:00
错误来源: mscorlib
错误信息:此操作对该事务的状态无效。
===================================================
调用堆栈:

Server stack trace:
在 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.DbConnectionInternal.ActivateConnection(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& connection)
在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 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.ExecuteScalar(DbCommand command, SqlParam[] paramList)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteScalar(Context ctx, String strSQL, List`1 paramList)
在 Kingdee.BOS.App.Core.SequenceReader.HasSqlServerTable(String tableName)
在 Kingdee.BOS.App.Core.SequenceReader.VerifyAndCreateSequence(String key, Boolean isInt32)
在 Kingdee.BOS.App.Core.AbstractOprerationService.VerifyAndCreateSequenceByAllTable(BusinessInfo info, SequenceReader seqReader)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
在 Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)
在 Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)

Exception rethrown at [0]:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
在 Kingdee.BOS.Contracts.ISaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataObject, OperateOption option, String operationNumber)
在 Tm.Amb.BaseField.Service.ToAMBEMPloyeeService.CopyBomToPrintBom(Context ctx, List`1 lstBOMId)
在 Tm.Amb.BaseField.Operation.AMBEmployeeAudit.EndOperationTransaction(EndOperationTransactionArgs e)
在 Kingdee.BOS.App.Core.PlugInProxy.OperationServicePlugInProxy.FireEndOperationTransaction(EndOperationTransactionArgs e)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
在 Kingdee.BOS.App.Core.AbstractOprerationService.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.AssignmentService.InvokeAssignAndOperate(Context ctx, OperateOption option, Field billNoField, List`1 lstOnlyCompletedContext, Dictionary`2 dctCompletedWithOperate, List`1 lstUnCompletedContext, LocaleValue resultName, Int32& successCount, BatchApprovalItems& batchApprovalItems)
在 Kingdee.BOS.Workflow.App.Core.AssignmentService.SubmitApprovalItems(Context ctx, AssignmentContext assignContext)
在 Kingdee.BOS.Workflow.ServiceHelper.AssignmentServiceHelper.SubmitApprovalItems(Context ctx, AssignmentContext assignContext)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBatch.CallBatchDealService(AssignmentContext assignContext)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBatch.DoBatchSubmit(AssignmentContext assignContext, OperateOption option)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBatch.SubmitAssignment(Nullable`1 postId, OperateOption option)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBaseEdit.Submit(OperateOption option)
在 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