KingdeeK3-修改單據郵件發送的自定義字段

只須要執行相似下面語句便可:sql

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

 其中源單單號是您要顯示的字段名稱。blog

修改前請備份,以防萬一。io

如下爲參考語句class

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
相關文章
相關標籤/搜索