财务应付单保存报错
金蝶云社区-老冯
老冯
0人赞赏了该文章 584次浏览 未经作者许可,禁止转载编辑于2018年05月22日 10:19:31

当多张暂估应付单下推成一张财务应付单后,点击“保存”,提示如下错误,请问是哪里有问题呢?一张一张下推没有问题


发生时间: 2018-05-22 10:16:14
错误编号: BOS_ExecuteNonQuery
错误信息: 将 decimal 转换为数据类型 numeric 时出现算术溢出错误。
语句已终止。
Sql语句: Update T_AP_PAYABLE SET FMODIFYDATE=@FMODIFYDATE WHERE FID=@PkValue
===================================================
调用堆栈:

Server stack trace:
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
at Kingdee.BOS.App.Data.Sql.KSqlServerBulkUpdateTask.ExecuteByRow(IDbConnection con, IDbTransaction tran)
at Kingdee.BOS.App.Data.Sql.KSqlServerBulkUpdateTask.Execute(IDbConnection con, IDbTransaction tran)
at Kingdee.BOS.Orm.Drivers.OrmTransactionBase.ExecuteSqlTasks(IList`1 tasks)
at Kingdee.BOS.App.Core.Save.ExecuteOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)
at Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)

Exception rethrown at [0]:
at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Save(Context ctx, BusinessInfo businessInfo, DynamicObject dataObject, OperateOption option, String operationNumber)
at Kingdee.BOS.Model.Bill.BillModel.Save(OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.Save.ExecuteBillOperation(OperateOption option)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)