报表组织范围隔离

栏目:s-hr cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-17浏览:1

报表组织范围隔离

要实现报表组织范围隔离,在SQL代码中添加如下条件:

where (baseunit.flongnumber like ''||( select flongnumber from T_ORG_COMPANY where fid = '@unit')||'%' or ? is null)  and  scmpcaltable.fperiodyear='@year' and baseunit.fid in (SELECT FOrgID FROM T_PM_OrgRange WHERE FUserID = '@ExtRptCurrentUserInfoID' AND FType = 20)


报表组织范围隔离

要实现报表组织范围隔离,在SQL代码中添加如下条件:where (baseunit.flongnumber like ''||( select flongnumber from T_ORG_COMPA...
点击下载文档
分享:
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息