KingdeeK3-修改单据邮件发送的自定义字段

只需要执行类似下面语句即可:

update ICTemplateentry set FVisForBillType = 63,flookupcls=6 where fid ='P01' and fheadcaption = '源单单号'

 其中源单单号是您要显示的字段名称。

修改前请备份,以防万一。

以下为参考语句

SELECT FCaption AS FCaption,FFieldName,1 FISHead,FCtlIndex FROM ICTemplate WHERE FID=(SELECT FTemplateID FROM ICTransactionType WHERE FID=70) AND (FVisForBillType & 32) = 32
Union
SELECT FHeadCaption AS FCaption,FFieldName,0 FISHead,FCtlIndex FROM ICTemplateEntry WHERE FID=(SELECT FTemplateID FROM ICTransactionType WHERE FID=70) AND (FVisForBillType & 32) = 32
ORDER BY FISHead DESC,FCtlIndex

 

posted @ 2015-02-03 15:20  笑萧亦然  阅读(479)  评论(0编辑  收藏  举报