B2C订单审核报错“此操作对该事务的状态无效”
金蝶云社区-321233
321233
0人赞赏了该文章 830次浏览 未经作者许可,禁止转载编辑于2016年08月02日 18:49:37

[{"operation":"ECC_AllThirdOrder_List.AfterConfirm"}]
发生时间:18:50:46
错误来源: Kingdee.BOS.ServiceHelper
错误信息:此操作对该事务的状态无效。
===================================================
调用堆栈:

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)
在 Kingdee.K3.ECM.App.ECC.Core.ECCPickingSheduleService.BatchSaveScheduleBill(Context ctx, String targetformId, DynamicObject[] scheduleDynObjs, List`1& failScheduleEntryDynObjList)
在 Kingdee.K3.ECM.App.ECC.Core.ECCPickingSheduleService.CreatePickingScheduleBill(Context ctx, DynamicObject[] orderDynObjs)
在 Kingdee.K3.ECM.App.ECC.ServicePlugIn.Order.Audit.CreatePickingScheduleBill(Context ctx, DynamicObject[] orders)
在 Kingdee.K3.ECM.App.ECC.ServicePlugIn.Order.Audit.TaskAboutProcess(Context ctx, DynamicObject[] orders)
在 Kingdee.K3.ECM.App.ECC.ServicePlugIn.Order.Audit.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)

Exception rethrown at [1]:
在 Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.SetBillStatus(Context ctx, BusinessInfo businessInfo, List`1 pkEntryIds, List`1 paras, String operationNumber, OperateOption option)
在 Kingdee.BOS.Business.Bill.Operation.AbstractStatusConvert.BatStatusConvert(Int32 loopTimes, Int32 iBat, Object[] ids, List`1 paras)
在 Kingdee.BOS.Business.Bill.Operation.AbstractStatusConvert.ExecuteStatusConvert(List`1 paras)
在 Kingdee.BOS.Business.Bill.Operation.Audit.AuditIdeaPrompt()
在 Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
在 Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.<>c__DisplayClass27.b__21(MessageBoxResult result)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.AfterConfirm(String id, Int32 returnOption)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.AfterConfirm(String id, Int32 returnOption)
错误数据: System.Collections.ListDictionaryInternal