期初在产品成本调整单保存时,报错。
金蝶云社区-工程师
工程师
0人赞赏了该文章 665次浏览 未经作者许可,禁止转载编辑于2018年03月05日 09:58:07

没有期初和本期投入!做产品成本调整单进行调整,单据保存时报错:[{"operation":"CB_INITPRODUCECOSTADJ.MBIClick.tbSplitSave"}]
发生时间: 09:53:39
错误编号: 8e9651befae848ca8fa29e3728ae5d39
错误信息: 在进行批量插入时,实体提供的列 FMATERDETAILENTRYID 在表 T_CB_INITPROCOSTMATADJENTRY 中无法找到。数据库现有列为:FDETAILID,FSEQ,FENTRYID,FMATERIALID,FLOTID,FBOMID,FSTOCKID,FSTOCKLOCID,FDETAILUNITID,FINITQTY,FINITAMOUNT,FINITADJMATQTY,FINITADJMATAMOUNT,FAFTERADJQTY,FAFTERADJAMOUNT,FMATENTRYID,FEXPENSESITEMID
===================================================
调用堆栈:

Server stack trace:
在 Kingdee.BOS.Orm.Drivers.SqlServerBulkCopyTask.ThrowNotFind(String source, String tableName, String[] columns)
在 Kingdee.BOS.Orm.Drivers.SqlServerBulkCopyTask.MappingToDatabaseColumn(String source, String tableName, String[] columns)
在 Kingdee.BOS.Orm.Drivers.SqlServerBulkCopyTask.Execute(IDbConnection con, IDbTransaction tran)
在 Kingdee.BOS.App.Data.Sql.KSqlServerBulkCopyTask.Execute(IDbConnection con, IDbTransaction tran)
在 Kingdee.BOS.Orm.Drivers.OrmTransactionBase.ExecuteSqlTasks(IList`1 tasks)
在 Kingdee.BOS.App.Core.Save.ExecuteOperatinTransaction(DynamicObject[] objs)
在 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.Model.Bill.BillModel.Save(OperateOption option)
在 Kingdee.BOS.Business.Bill.Operation.Save.ExecuteBillOperation(OperateOption option)
在 Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
在 Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
在 Kingdee.BOS.Web.DynamicForm.OperationCaller.InvokeFormOperation(String operationNumber)
在 Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
在 Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeService(IDynamicFormView view, Object source, FormBusinessService service, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
在 Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
在 Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
在 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)