打印报表以显示具有给定责任的用户-FNDSCRUR责任用户
select --&p_hint
distinct
user_name,
decode (
greatest (u.start_date,
ur.start_date,
r.start_date,
to_date ('1000-01-01', 'YYYY-MM-DD')),
to_date ('1000-01-01', 'YYYY-MM-DD'), '',
to_char (greatest (u.start_date, ur.start_date, r.start_date)))
resp_start_date,
decode (
least (nvl (u.end_date, to_date ('4712-01-01', 'YYYY-MM-DD')),
nvl (ur.end_date, to_date ('4712-01-01', 'YYYY-MM-DD')),
nvl (r.end_date, to_date ('4712-01-01', 'YYYY-MM-DD'))),
to_date ('4712-01-01', 'YYYY-MM-DD'), '',
to_char (
least (nvl (u.end_date, nvl (ur.end_date, r.end_date)),
nvl (ur.end_date, nvl (u.end_date, r.end_date)),
nvl (r.end_date, nvl (u.end_date, ur.end_date)))))
resp_end_date,
s.security_group_name
-- , u.description
, rt.responsibility_name,
rt.description
from fnd_user u,
fnd_user_resp_groups_all ur,
fnd_responsibility r,
fnd_security_groups_vl s,
fnd_responsibility_tl rt
where 1 = 1
and rt.responsibility_id = r.responsibility_id
and rt.application_id = r.application_id
--AND r.application_id = :application_id
-- and r.responsibility_id = :responsibility_id
and user_name = 'QUANWEIRU'
and ur.responsibility_application_id = r.application_id
and ur.responsibility_id = r.responsibility_id
and u.user_id = ur.user_id
and ur.security_group_id = s.security_group_id
order by user_name, security_group_name
打印报表以显示具有给定责任的用户-FNDSCRUR责任用户的更多相关文章
- C# WPF打印报表
前天我的一个同学由于打印报表而苦恼,所以就介绍了一下WPF的打印报表,希望能帮助到大家. 展示报表 1. 首先新建项“报表”,选定项目,右击,点击“添加”->“新建项”->“报表”
- 如何在C/S下打印报表
java应用有不少是C/S模式,在C/S模式下,同样可以调用API接口运算报表.CSReport是C/S模式下的报表控件类,在这个类中可以获得报表的显示面板.获得报表的打印面板.显示报表打印窗口 ...
- windows7打印时,显示脱机,提示“服务器打印后台处理程序服务没有运行”。
1. 问题 windows7打印时,显示脱机,提示“服务器打印后台处理程序服务没有运行”. 2. 解决方法. 将下面的文字保存为bat文件执行,其中\\192.168.40.110\Lenovo M7 ...
- IIS下打印报表到Excel
阅读本文之前,请先看上一篇文章<.NET下Excel报表的打印>. 上一篇文章<.NET下Excel报表的打印>介绍了关于报表打印到Excel文件中的方法.若要把项目通过IIS ...
- ECstore报表不显示解决
最近研究ECSTORE发现后台报表显示空白,Google了一下发现N多统一的做法,直接往表里插几条数据.呵呵,更深入一点 1.要显示报表功能首先要确保已经配置好contab的定时任务,定时任务能够执行 ...
- C# 使用printDocument1.Print打印时不显示 正在打印对话框
C#使用printDocument1.Print打印时不显示正在打印对话框有两种方法 第一种,使用PrintController PrintController printControll ...
- 在ActiveReports页面报表中显示Google地图
有些报表需求中需要我们显示国家.城市等地址信息,在报表中添加地图信息会让报表给最终用户代码更多有效信息. 在报表中可以将地图作为图片添加进来,当一个图片显示在报表中时,该图片必须存放到本地计算机或者服 ...
- Dynamics CRM 2011 报表无法显示的问题总结
一.一般打开报表会出现:该报表无法显示.(reProcessingAborted)和由于运行Microsoft SQL Server Reporting Services 的服务器上没有安装 Micr ...
- C# 使用printDocument1.Print打印时不显示 正在打印对话框(里面还有一个讨厌的取消按钮)
C#使用printDocument1.Print打印时不显示正在打印对话框有两种方法 第一种,使用PrintController PrintController printController = n ...
随机推荐
- React初识整理(二)--生命周期的方法
React生命周期主要有7中: 1. componentWillMount() :组件将要挂载时触发 ,只调用1次 2. componentDidMount() :组件挂载完成时触发,只调用1次 3. ...
- IntelliJ IDEA 中自定义模板代码的缩写
方法一:新建 Live Template step1. 点击 File – Setting step2.选择 Live Template,点击右侧的+号,选择 Template Group step3 ...
- RestTemplate进行表单请求,注意要使用MultiValueMap
在对接API的时候,有时候文档中会说,表单提交,这时候就需要用到 MultiValueMap来操作,下面给大家展示一个简单的demo. MultiValueMap<Object, Object& ...
- Life is short.,You need Python
真棒Python https://awesome-python.com/ 精选的Python框架,库,软件和资源的精选列表. 灵感来自awesome-php. 真棒Python 管理员面板 算法和设 ...
- RN与现有的原生app集成
https://facebook.github.io/react-native/docs/integration-with-existing-apps.html RN可以很好地支持往一个原生的app上 ...
- PAT Basic 1063
1063 计算谱半径 在数学中,矩阵的“谱半径”是指其特征值的模集合的上确界.换言之,对于给定的 n 个复数空间的特征值 { a1+b1i,⋯,an+bni },它们的模为实部 ...
- Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree {3,9,20,#,#,15,7}, 3 / \ 9 20 / \
class Solution { public: vector<vector<int>> levelOrder(TreeNode* root) { vector<vect ...
- Leetcode 330.按要求补齐数组
按要求补齐数组 给定一个已排序的正整数数组 nums,和一个正整数 n .从 [1, n] 区间内选取任意个数字补充到 nums 中,使得 [1, n] 区间内的任何数字都可以用 nums 中某几个数 ...
- [jenkins学习篇] 安装jenkins
1 下载war包,https://jenkins.io/download/ 2 安装jar包,java -jar jenkins.war 3 打开网址:http://localhost:8080 4 ...
- hdu_2070_Fibbonacci Number
这个题我用long long ,printf("%lld");输出就错误了 我用__int64,printf("%I64d");输出就正确了 这点需要注意. # ...