I create Values set with validation property - table
Table is select (SELECT SUBSTR(T.DESCRIPTION, 1, 40) AS L_DESCRIPTION, T.ORG_ID FROM AR_MEMO_LINES T WHERE T.DESCRIPTION IS NOT NULL)
condition WHERE (:$PROFILES$.ORG_ID = ORG_ID)
Value Set is used for parameter of concurrent program
When i try entering parameter i get message - "No entries found for LIst of Values"
I get true query for my Value set use an tracing SQL comand
SELECT L_DESCRIPTION,
L_DESCRIPTION VALUE,
L_DESCRIPTION DESCRIPTION,
NVL('N', 'N'),
NVL(TO_NUMBER(NULL), -1),
NULL,
NVL('Y', 'Y'),
NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0),
NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0)
FROM (SELECT SUBSTR(T.DESCRIPTION, 1, 40) AS L_DESCRIPTION, T.ORG_ID
FROM AR_MEMO_LINES T
WHERE T.DESCRIPTION IS NOT NULL)
WHERE (104 = ORG_ID)
AND 'Y' = 'Y'
AND TO_DATE('2014/10/01 00:00:00', 'YYYY/MM/DD HH24:MI:SS') BETWEEN
NVL(TRUNC(TO_DATE(NULL)), TO_DATE('2014/10/01 00:00:00', 'YYYY/MM/DD HH24:MI:SS')) AND
NVL(TRUNC(TO_DATE(NULL)), TO_DATE('2014/10/01 00:00:00', 'YYYY/MM/DD HH24:MI:SS'))
ORDER BY L_DESCRIPTION, 3
I run this query from PL/SQL developer and got many rows in result
So I cant understand why Value set return "No entries found for LIst of Values"
For information, in my system exists many value sets where table is query and all good work.
Who know, by what is caused this strange problem?