NC65 零预算控制规则 数据库表关系
SELECT t1.createdby, t1.objname, t2.ctrlname, t2.pk_parent, t3.billtype, t3.nameidx, t3.pk_obj FROM tb_rule_formula t1 left join tb_ctrlformula t2 on t1.pk_obj = t2.pk_parent left join tb_ctrlscheme t3 on t3.pk_ctrlformula = t2.pk_obj WHERE PK_RULECLASS = N'TBRULE000SCHEMA_ZERO';