奇异, 在PL/SQL 里面能显示数据,在reports builder 报表里空白

[复制链接]
查看11 | 回复9 | 2008-3-18 08:54:04 | 显示全部楼层 |阅读模式
框架和数据源已经设置好了
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
也不是做一次报表了
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
参数输入都是和PL/SQL 里面的一样
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
参数与日期有关吗?
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
或者报表中的数据源有是VIEW的吗?
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
/* Formatted on 2007/01/19 11:24 (Formatter Plus v4.8.7) */
SELECTc.segment1
|| '.'
|| c.segment2
|| '.'
|| c.segment3
|| '.'
|| c.segment4
|| '.'
|| c.segment5 csegment,
tvsn_gl_flexdescr (l.set_of_books_id,

'.',

c.segment1

|| '.'

|| c.segment2

|| '.'

|| c.segment3

|| '.'

|| c.segment4

|| '.'

|| c.segment5,

''

) csegment_desc,
SUBSTR (h.external_reference, 12, 18) year_num,
TO_CHAR (TRUNC (SYSDATE), 'yyyy-mm-dd') pdate,
SUBSTR (h.external_reference, 1, 10) month_num, h.currency_code,
l.description l_description, l.entered_cr, l.entered_dr,
l.accounted_cr, l.accounted_dr, h.description h_description,
l.code_combination_id, l.set_of_books_id, h.set_of_books_id
FROM gl_je_headers h, gl_je_lines l, gl_code_combinations c,
gl_je_batches b
WHERE h.je_header_id = l.je_header_id
AND c.code_combination_id = l.code_combination_id
AND h.je_batch_id + 0 = b.je_batch_id + 0
--AND h.NAME LIKE 'AARON_TEST16'
AND h.period_name = '12-07'
AND h.default_effective_date >=

_s_date
AND h.default_effective_date =

_s_bname
AND b.NAME =

_s_ef
AND TO_NUMBER (SUBSTR (h.external_reference, 1, 10)) <=

_e_ef
ANDfnd_profile.get ('ORG_ID', v_org_id);
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
最初由 Harry_shan 发布
[B]或者报表中的数据源有是VIEW的吗? [/B]


回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
最初由 Harry_shan 发布
[B]或者报表中的数据源有是VIEW的吗? [/B]

数据源都是基表啊
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
将取的数据源字段截取掉空格,trim
回复

使用道具 举报

千问 | 2008-3-18 08:54:04 | 显示全部楼层
触发器里写dbms_application_info试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行