金蝶系统使用时引入外购入库单提示未设置对象变量或 With block 变量的问题。
服务热线:400-665-0027
新购有特价、金蝶老客户升级金蝶云产品可以享受5折优惠,送手机、送话费,好礼不断!
【原因分析】ICTemplateEntry单据模板表中的FVisForBillType值为0导致。
【解决方案】
可参考以下脚本执行处理:
--AIS201407281401391为演示账套实体名,如无演示账套,可替换为正常账套的实体名
update a set FVisForBillType=b.FVisForBillType
from ICTemplateEntry a
inner join AIS201407281401391..ICTemplateEntry b on a.FHeadCaption=b.FHeadCaption and a.FID=b.FID
where a.FID='A01' and a.FVisForBillType<>b.FVisForBillType and a.FVisForBillType=0
go
【注意事项】
正式账套执行脚本前请先做好备份,建议待在测试账套中核实无误后再在正式账套中执行。


