打了8月补丁凭证生成报错
金蝶云社区-方志新
方志新
0人赞赏了该文章 425次浏览 未经作者许可,禁止转载编辑于2017年09月08日 09:08:07

打了8月份标准补丁之后造成零售单生成凭证报错。错误如截图:另外现金存取单审核提示现金账户月为0;请问是什么问题?就其中的一个组织生成凭证报错。The given value of type Int64 from the data source cannot be converted to type int of the specified target column.详细信息:
at System.Data.SqlClient.SqlBulkCopy.ConvertValue(Object value, _SqlMetaData metadata, Boolean isNull, Boolean& isSqlType, Boolean& coercedToDataFeed)
at System.Data.SqlClient.SqlBulkCopy.ReadWriteColumnValueAsync(Int32 col)
at System.Data.SqlClient.SqlBulkCopy.CopyColumnsAsync(Int32 col, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyRowsAsync(Int32 rowsSoFar, Int32 totalRows, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
at System.Data.SqlClient.SqlBulkCopy.WriteToServer(DataTable table, DataRowState rowState)
at Kingdee.BOS.App.Data.Sql.SqlDatabase.CopyDataToDestination(DbCommand cmd, DataTable table)
at Kingdee.BOS.App.Data.Sql.SqlDatabase.BulkInserts(DbCommand cmd, DataTable dt)
at Kingdee.BOS.App.Data.DBUtils.BulkInserts(Context ctx, String InsertstrSql, String CreateSql, DataTable dt)
at Kingdee.BOS.App.Data.DBUtils.BulkInserts(Context ctx, DataTable dt)
at Kingdee.K3.FIN.App.Core.ComFuncFINOthers.GetUdtIntTempTable(Context ctx, IEnumerable`1 fids, String tableName, String key)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.LoadBizVchBySrcBillAction.LoadBizVoucher(Dictionary`2& histBizVouchers, Dictionary`2& glVchSrcBillIds)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.LoadBizVchBySrcBillAction.DoAction()
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildPolicy.AbstractBuildVoucherUnit.Do()
at Kingdee.BOS.Core.BusinessPolicyModel.BusinessPolicyEngine.Do(OperateOption context)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.DoEveryTemplate(VchSelectBookInfor book, VchSelectSourceBillInfor sourceBill, VCHTemplateInfor vchTemplate, BuildResultManager resultManager, Int32 logBootLevel)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.DoEverySourceBill(VchSelectBookInfor book, VchSelectSourceBillInfor sourceBill, Int32& iBill, HashSet`1 glVchIds)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherEngine.BuildVoucher(BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.App.Core.BuildVoucher.BuildVoucherService.BuildVoucher(Context ctx, BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.GL.ServiceHelper.BuildVoucherServiceHelper.BuildVoucher(Context ctx, BizVchMakeSchemeInfor buildVoucherScheme)
at Kingdee.K3.FIN.GL.Business.PlugIn.BuildVoucherServiceProgressPlugIn.GenerateVoucher()