Oracle Apex 4.2 Oracle 11g
下面是一些生成交互式报告的SQL。 我有2页的项目都是日期选择器:P55_STARTD和P55_ENDD。
我还有一个按钮可以在所有报告区域上触发刷新。但仍然一无所获。我认为这是某种类型的会话问题。任何想法的人。
Select * from
(SELECT REPORT_MISSED_ORDERS_ALL.CUSTOMER_REF,
REPORT_MISSED_ORDERS_ALL.LINE_NO,
REPORT_MISSED_ORDERS_ALL.SKU,
REPORT_MISSED_ORDERS_ALL.PICK_FROM,
REPORT_MISSED_ORDERS_ALL.ORDERED_BY,
REPORT_MISSED_ORDERS_ALL.HR,
REPORT_MISSED_ORDERS_ALL.ORDER_PLACED_DATE,
TO_CHAR(REPORT_MISSED_ORDERS_ALL.ORDER_PLACED_DATE, 'MONTH') AS months,
LOGI_ORDERS.AUTH_TYPE_ID
FROM REPORT_MISSED_ORDERS_ALL
LEFT JOIN LOGI_ORDERS
ON REPORT_MISSED_ORDERS_ALL.CUSTOMER_REF = LOGI_ORDERS.CALLNUMBER
AND REPORT_MISSED_ORDERS_ALL.LINE_NO = LOGI_ORDERS.LINE_NUMBER)t1
where T1.AUTH_TYPE_ID is null
and trunc(t1.ORDER_PLACED_DATE) between :P55_STARTD and :P55_ENDD ;
答案 0 :(得分:2)
您是否在“要提交的页面项目”字段中添加了日期项?