当前位置: 代码迷 >> 综合 >> NC57修改单据模板上字段名称用常规方法一直不成功
  详细解决方案

NC57修改单据模板上字段名称用常规方法一直不成功

热度:20   发布时间:2023-10-23 06:52:12.0

解决方法:以项目基本档案和项目管理档案的自定义项19(def19)为例:

select pk_billtemplet from pub_billtemplet where  bill_templetcaption like '项目基本档案';
select pk_billtemplet from pub_billtemplet where  bill_templetcaption like '项目管理档案';

select resid,resid_tabname,defaultshowname  from pub_billtemplet_b  where pk_billtemplet = '0001ZZ10000000033O33'  and itemkey = 'def19' for update ;
select resid,resid_tabname,defaultshowname  from pub_billtemplet_b  where pk_billtemplet = '0001ZZ1000000003C7QO'  and itemkey = 'def19' for update ;

把第三,四句查询出的resid,resid_tabname这两个字段值清空,把defaultshowname 这个字段修改为你想要的名字就好

  相关解决方案