求大佬帮助!小白刚入门NC
如果这个异常消息准确就是该节点没有配单据模板,可以去查一下
---------------查询节点使用的单据模板0=单据模板,1=查询模板,3=输出模板,5=移动应用模板
--根据节点编码查询默认单据模板
select distinct(first_value(templateid) over (partition by funnode order by ts desc)) templateid
from pub_systemplate where nvl ( operator, '~' ) = '~' and funnode = '40080602' and pk_corp = '0001A1100000000005M4'/*集团主键*/ and tempstyle = 0 and nvl ( nodekey, '~' ) = '~'