Hi all,
I have the following page item:
P1_USERNAME
P1_COMPANY (LOV)
P1_DIVISION (LOV)
P1_DEPT (LOV)
Item P1_COMPANY, P1_DIVISION, and P1_DEPT are cascading LOV on my page.
I also have a table that contains the user and his/her company, division, and department.
So I have a dynamic action that when P1_USERNAME is entered. The dynamic action will pull the COMPANY, DIVISION, and DEPT information from the table and populate the page item accordingly.
I got the dynamic action working, I can confirm this by checking the Session State of the items.
BUT I cannot get the LOVs to display the selected value from the session state. They always reset back to "- Please Select -", which is my display value when NULL.
For example:
I have a record like in the table:
Username :alex
Company : Finance Inc.
Division : Admin
Dept : HR
When I entered the username into P1_USERNAME, this is what I see in the screen.
Username :alex
Company : - Please Select -
Division : - Please Select -
Dept : - Please Select -
While the session states of the items have been set correctly as per the record in the database.
Has anyone experienced this before?
I think it's because the parent LOV (company), reset the child LOVs (division and dept), when the dynamic action kicks in.
Thanks.