Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to create a parameter LOV based on another parameter value

Islam AtiyatFeb 3 2025

I am trying to create a manual report using Oracle Report Builder, and I am utilizing user parameters to allow the user to select a date range. In my SQL query, I have the following condition:

```sql query
WHERE
TRANSACTION_DATE BETWEEN TO_DATE(:from_date, 'DD-MM-YYYY HH24:MI:SS')
AND TO_DATE(:to_date, 'DD-MM-YYYY HH24:MI:SS')
```

I would like to store the `from_date` in a variable to ensure that the `to_date` is always after the `from_date`. How can I achieve this? or provide me with solutions to control the list of value related to (to_date )

Comments

thatJeffSmith-Oracle Feb 13 2025

Your ENTRA users will get authenticated via JSON Web Tokens, and their Entra roles will determine which ORDS REST APIs they can hit.

When they hit an endpoint, it'll execute code in the database as the database user that owns the schema where the REST API is defined, not as Entra defiend end user. In fact, the Entra users won't have accounts in the database (they could, but wont' need to).

The :current_user field as far as ords is concerned would be the corresponding oauth2 client or JWT issued for the authorizied session.

Your prehook should be able to alter the session to set the context that would put your RLS/VPD security policy in play.

1 - 1

Post Details

Added on Feb 3 2025
0 comments
110 views