【已解决】销售出库单审核不通过(删除单据,重新制作)
1,104次浏览
编辑于2015年10月09日 16:10:13
[{"operation":"AP_ApprovalAssignHandle.MBIClick.tbWFSubmit"}]
发生时间:16:07:17
错误来源: mscorlib
错误信息:The operation is not valid for the state of the transaction.
===================================================
调用堆栈:
Server stack trace:
at System.Transactions.TransactionState.EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction)
at System.Transactions.Transaction.EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification)
at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Kingdee.BOS.App.Data.AbstractDatabase.GetNewOpenConnection()
at Kingdee.BOS.App.Data.TransactionScopeConnections.GetConnection(IDatabase db)
at Kingdee.BOS.App.Data.AbstractDatabase.GetOpenConnection(Boolean disposeInnerConnection)
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior, Boolean bNewCn)
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior)
at Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, CommandBehavior cmdBehavior, Boolean bNewCn)
at Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, CommandBehavior cmdBehavior)
at Kingdee.BOS.App.Data.DBUtils.ExecuteObject[T](Context ctx, String strSQL, IDataEntityType dt, IDictionary`2 propertyTypeMaps, CommandType cmdType, SqlParam[] paramList)
at Kingdee.BOS.App.Data.DBUtils.ExecuteDynamicObject(Context ctx, String strSQL, IDataEntityType dt, IDictionary`2 propertyTypeMaps, CommandType cmdType, SqlParam[] paramList)
at Kingdee.BOS.App.Core.FlexService.GetInUseFlexItemInfo(Context ctx, String flexDataFormId)
at Kingdee.BOS.App.Core.FlexSaveService.GetFlexEntitys(Entity entity, Boolean isFixColSave)
at Kingdee.BOS.App.Core.FlexSaveService.SaveFlexFixedColumn(BusinessInfo info, DynamicObject[] dataEntities)
at Kingdee.BOS.App.Core.DraftService.Draft(Context ctx, BusinessInfo info, DynamicObject[] dataObject, OperateOption option, String operationNumber)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IDraftService.Draft(Context ctx, BusinessInfo info, DynamicObject[] dataObject, OperateOption option, String operationNumber)
at Kingdee.K3.FIN.App.Core.AbstractOperationProduceBill.SaveIV(BusinessDataService bs, DynamicObject[] objs, BusinessInfo info, OperateOption option)
at Kingdee.K3.FIN.App.Core.AbstractOperationProduceBill.ProduceBill(ConvertOperationResult operationResult)
at Kingdee.BOS.App.Core.PlugInProxy.OperationServicePlugInProxy.FireAfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
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)
at Kingdee.BOS.Workflow.App.Core.AuditInvokeService.Execute(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, String operationNumber, OperateOption option)
at Kingdee.BOS.Workflow.App.Core.WFInvokeOperationService.InvokeService(Context ctx, String operationName, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, Boolean needNewTrans)
at Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.InvokeAssignAndOperate(Context ctx, OperateOption option, Field billNoField, List`1 lstOnlyCompletedContext, Dictionary`2 dctCompletedWithOperate, List`1 lstUnCompletedContext, LocaleValue resultName, Int32& successCount)
at Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.SubmitApprovalItems(Context ctx, ApprovalAssignmentContext assignContext)
at Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.SubmitApprovalItem(Context ctx, ApprovalAssignmentContext assignContext)
at Kingdee.BOS.Workflow.ServiceHelper.ApprovalAssignmentServiceHelper.SubmitApprovalItem(Context ctx, ApprovalAssignmentContext assignContext)
at Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.DoSubmitAssignment(ApprovalItem approvalItem, ApprovalAssignResult approvalResult, OperateOption option)
at Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.SubmitAssignment(Nullable`1 postId, OperateOption option)
at Kingdee.BOS.Workflow.PlugIns.AssignApprovalBaseEdit.Submit(OperateOption option)
at Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.BarItemClick(BarItemClickEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireBarItemClick(BarItemClickEventArgs e)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal
发生时间:16:07:17
错误来源: mscorlib
错误信息:The operation is not valid for the state of the transaction.
===================================================
调用堆栈:
Server stack trace:
at System.Transactions.TransactionState.EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction)
at System.Transactions.Transaction.EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification)
at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Kingdee.BOS.App.Data.AbstractDatabase.GetNewOpenConnection()
at Kingdee.BOS.App.Data.TransactionScopeConnections.GetConnection(IDatabase db)
at Kingdee.BOS.App.Data.AbstractDatabase.GetOpenConnection(Boolean disposeInnerConnection)
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior, Boolean bNewCn)
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior)
at Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, CommandBehavior cmdBehavior, Boolean bNewCn)
at Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, CommandBehavior cmdBehavior)
at Kingdee.BOS.App.Data.DBUtils.ExecuteObject[T](Context ctx, String strSQL, IDataEntityType dt, IDictionary`2 propertyTypeMaps, CommandType cmdType, SqlParam[] paramList)
at Kingdee.BOS.App.Data.DBUtils.ExecuteDynamicObject(Context ctx, String strSQL, IDataEntityType dt, IDictionary`2 propertyTypeMaps, CommandType cmdType, SqlParam[] paramList)
at Kingdee.BOS.App.Core.FlexService.GetInUseFlexItemInfo(Context ctx, String flexDataFormId)
at Kingdee.BOS.App.Core.FlexSaveService.GetFlexEntitys(Entity entity, Boolean isFixColSave)
at Kingdee.BOS.App.Core.FlexSaveService.SaveFlexFixedColumn(BusinessInfo info, DynamicObject[] dataEntities)
at Kingdee.BOS.App.Core.DraftService.Draft(Context ctx, BusinessInfo info, DynamicObject[] dataObject, OperateOption option, String operationNumber)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IDraftService.Draft(Context ctx, BusinessInfo info, DynamicObject[] dataObject, OperateOption option, String operationNumber)
at Kingdee.K3.FIN.App.Core.AbstractOperationProduceBill.SaveIV(BusinessDataService bs, DynamicObject[] objs, BusinessInfo info, OperateOption option)
at Kingdee.K3.FIN.App.Core.AbstractOperationProduceBill.ProduceBill(ConvertOperationResult operationResult)
at Kingdee.BOS.App.Core.PlugInProxy.OperationServicePlugInProxy.FireAfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
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)
at Kingdee.BOS.Workflow.App.Core.AuditInvokeService.Execute(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, String operationNumber, OperateOption option)
at Kingdee.BOS.Workflow.App.Core.WFInvokeOperationService.InvokeService(Context ctx, String operationName, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, Boolean needNewTrans)
at Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.InvokeAssignAndOperate(Context ctx, OperateOption option, Field billNoField, List`1 lstOnlyCompletedContext, Dictionary`2 dctCompletedWithOperate, List`1 lstUnCompletedContext, LocaleValue resultName, Int32& successCount)
at Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.SubmitApprovalItems(Context ctx, ApprovalAssignmentContext assignContext)
at Kingdee.BOS.Workflow.App.Core.ApprovalAssignmentService.SubmitApprovalItem(Context ctx, ApprovalAssignmentContext assignContext)
at Kingdee.BOS.Workflow.ServiceHelper.ApprovalAssignmentServiceHelper.SubmitApprovalItem(Context ctx, ApprovalAssignmentContext assignContext)
at Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.DoSubmitAssignment(ApprovalItem approvalItem, ApprovalAssignResult approvalResult, OperateOption option)
at Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.SubmitAssignment(Nullable`1 postId, OperateOption option)
at Kingdee.BOS.Workflow.PlugIns.AssignApprovalBaseEdit.Submit(OperateOption option)
at Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.BarItemClick(BarItemClickEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireBarItemClick(BarItemClickEventArgs e)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal
推荐阅读