对视图或函数 'V_CN_BILLRECEIVABLE' 的更新或插入失败,因其包...
金蝶云社区-小白订
小白订
0人赞赏了该文章 788次浏览 未经作者许可,禁止转载编辑于2016年11月10日 11:21:43


业务场景:BOS中把出纳管理--基础资料--应收票据 列表菜单,新增允许“基础资料弹出可用”。
应收单(结算方式 银行票据)下推收款单,表体应收票据选择新增保存时报错,如图

(主要想实现下推结算方式为票据的收款单时,可在选择应收票据时新增应收票据),怎么实现!

版本:5。0
补丁:9月

联系人:方主仕 QQ:285544628

[{"operation":"V_CN_BILLRECEIVABLE.MBIClick.tbSplitSave"}]
发生时间:11:35:23
错误来源: .Net SqlClient Data Provider
错误信息:对视图或函数 'V_CN_BILLRECEIVABLE' 的更新或插入失败,因其包含派生域或常量域。
===================================================
调用堆栈:

Server stack trace:
at Kingdee.BOS.Orm.Drivers.SqlServerBulkCopyTask.Execute(IDbConnection con, IDbTransaction tran)
at Kingdee.BOS.App.Data.Sql.KSqlServerBulkCopyTask.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)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
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