K3需要对老单进行二次开发,老单的二次开发比较麻烦,这里整理一下老单序时簿上添加按钮的二次开发示例. --以下SQL脚本--获取 MENU IDselect FID,FmenuID,FName from iclisttemplate where Fname LIKE '%生产领料%' --(FID=11,FmenuID=82) --增加元数据按钮select * from t_MenuToolBar order by FToolIDDelete From t_MenuToolBar Where
在后台数据库ICClassType表中,字段FID<0的是老单,FID>0的是新单.--事务类型select * from ICClassType where FTableName ='t_RP_NewReceiveBill' /*例如 收款单的事务类型为 */1000005 收款单1000014 预收单1000015 应收退款单 select * from t_TableDescription where FTableName ='t_RP_NewReceiveBi