关于shr系统升级isSingle字段表中元数据丢失问题说明
如下图所示系统82SP2升级到2021H1,员工信息维护扩展增加的【离职信息】升级后打开报错
检查报错堆栈:
Caused by: java.lang.IllegalStateException: can't find column in table. bo:com.kingdee.eas.hr.emp.emp_page.app.LZXX,prop:isSingle
atcom.kingdee.bos.metadata.entity.EntityObjectInfo.innerGetMappingFieldOfProperty(EntityObjectInfo.java:1595)
at com.kingdee.bos.metadata.entity.EntityObjectInfo.getMappingFieldOfProperty(EntityObjectInfo.java:1552)
原因分析:因为表中元数据片段缺少了isSingle字段所以导致报错
解决措施:如果业务单据实体有isSingle字段,择参照:https://vip.kingdee.com/article/68692094692577280 手工修复元数据片段
参考元数据片段:
<column>
<name>FIsSingle</name> <alias>dataTable[com.kingdee.eas.hr.emp.emp_page.app.CT_MP_PXJL].columns.column[FIsSingle].alias</alias> <description>dataTable[com.kingdee.eas.hr.emp.emp_page.app.CT_MP_PXJL].columns.column[FIsSingle].description</description>
<userDefined>true</userDefined>
<isMultilingual>false</isMultilingual>
<isEncoded>false</isEncoded>
<isNullable>true</isNullable>
<defaultValue />
<sqlType>INT</sqlType>
<length>4</length>
<scale>0</scale>
<precision>0</precision>
</column>
<rs key="dataTable[com.kingdee.eas.hr.emp.emp_page.app.CT_MP_PXJL].columns.column[FName].alias">
<lang locale="en_US" value="null" />
<lang locale="zh_CN" value="单行显示" />
<lang locale="zh_TW" value="null" />
</rs>
<rs key="dataTable[com.kingdee.eas.hr.emp.emp_page.app.CT_MP_PXJL].columns.column[FName].description">
<lang locale="en_US" value="null" />
<lang locale="zh_CN" value="单行显示" />
<lang locale="zh_TW" value="null" />
</rs>
关于shr系统升级isSingle字段表中元数据丢失问题说明
本文2024-09-22 20:37:43发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-114867.html