【已解决】保存视图提示报错
1,393次浏览
编辑于2014年05月14日 09:55:31
在BOS IDE 中对单据新增一个视图,保存时提示报错,如下所示:
发生时间: 2014-05-14 09:49:46
错误来源:
错误类型: Oracle.DataAccess.Client.OracleException, Oracle.DataAccess, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342
错误信息: ORA-01400: cannot insert NULL into ("YL"."T_META_OBJECTTYPEVIEW"."FBASEOBJECTID")
===================================================
调用堆栈:
Server stack trace:
at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
at Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL, IEnumerable`1 paramList)
at Kingdee.BOS.App.Core.MetadataXmlWriter.SaveLayoutView(AbstractBusinessMetadata metadata)
at Kingdee.BOS.App.Core.MetaDataService.Save(Context ctx, AbstractBusinessMetadata metadata)
Exception rethrown at [0]:
at Kingdee.BOS.ServiceHelper.MetaDataServiceHelper.Save(Context ctx, AbstractBusinessMetadata metadata)
at Kingdee.BOS.ServiceFacade.ServicesStub.Metadata.MetadataService.Save(AbstractBusinessMetadata metaData)
推荐阅读