在费用报销单批量审核时报以下错误:
单独一张张可以审核
[{"operation":"AF_ApprovalAssignBatchDeal.MBIClick.tbWFSubmit"}]
发生时间: 2015-02-09 03:32:13
错误编号: BOS_ExecuteNonQuery
错误信息: 数据库中已存在名为 '#TM_ER_OtherPayable' 的对象。
Sql语句: CREATE TABLE #TM_ER_OtherPayable (FID INT null DEFAULT 0, FEntryID INT null DEFAULT 0, FDate DATETIME null DEFAULT GETDATE(), FExpenseOrgId INT null DEFAULT 0, FExpenseDeptID INT null DEFAULT 0, FCurrencyID INT null DEFAULT 0, FPayOrgId INT null DEFAULT 0, FExpID INT null DEFAULT 0, FSettlleTypeID INT null DEFAULT 0, FTaxSubmitAmt DECIMAL (23, 10) null DEFAULT 0, FTaxAmt DECIMAL (23, 10) null DEFAULT 0, FExpSubmitAmount DECIMAL (23, 10) null DEFAULT 0, FEXCHANGERATE DECIMAL (23, 10) null DEFAULT 0, FTAXRATE DECIMAL (23, 10) null DEFAULT 0, FExpenseDeptEntryID INT null DEFAULT 0)
===================================================
调用堆栈:
Server stack trace:
在 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)
在 Kingdee.BOS.App.Data.DBUtils.CreateSessionTemplateTable(Context ctx, String tableName, String createSql)
在 Kingdee.K3.FIN.ER.App.Core.CommonService.UpdateOtherPayableDetailInfo(Context ctx, String fid, String targetFid)
在 Kingdee.K3.FIN.ER.App.ServicePlugIn.ExpenseReimb.UpdateBillAfterSaveAndSubmit.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(DynamicObject[] dataEntities)
在 Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)
Exception rethrown at [0]:
在 Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Save(Context ctx, BusinessInfo businessInfo, DynamicObject[] dataObject, OperateOption option, String operationNumber)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBatch.SubmitValidate(OperateOption option)
在 Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignBatchDeal.SubmitValidate(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)