Oracle Apps-Changing LOV Query-Form Personalization
How
to change a LOV query from Forms Personalization??
This is one of the requrirement that we want to add a additional condition to the LOV query or you want to populate the LOV all together from your SQL.
Its a simple four step process
Step1:
Get the Query that of the LOV of the standard form. You can do it by opening the standard form in the form builder or Get the query by taking the trace of the form and getting the query from the trace..
Step2:
If you want to add only a few more conditions to the query just add the conditions
In other case create a view with column same as in the standard query.
Step3:
In this step on when new form instance we will create the record Group from query
Step4:
Attach the record group to the LOV you want to change…
Step1:Get the query
The standard query is
select event_name, description from fa_maint_schedule_dtl WHERE EVENT_NAME LIKE :1
I want to populate from my own sql so I create a view
create or replace view XX_AMC_EVENT_DETAILS as
select 'SERVICE' EVENT_name ,'ATM SERVICE' DESCRIPTION from dual
union
select 'AMC' ,'AMC CONTRACT' from dual
union
select 'TEST1' ,'TEST2' from dual
Step2:
Plz find teh screen shots attached..
This is one of the requrirement that we want to add a additional condition to the LOV query or you want to populate the LOV all together from your SQL.
Its a simple four step process
Step1:
Get the Query that of the LOV of the standard form. You can do it by opening the standard form in the form builder or Get the query by taking the trace of the form and getting the query from the trace..
Step2:
If you want to add only a few more conditions to the query just add the conditions
In other case create a view with column same as in the standard query.
Step3:
In this step on when new form instance we will create the record Group from query
Step4:
Attach the record group to the LOV you want to change…
Step1:Get the query
The standard query is
select event_name, description from fa_maint_schedule_dtl WHERE EVENT_NAME LIKE :1
I want to populate from my own sql so I create a view
create or replace view XX_AMC_EVENT_DETAILS as
select 'SERVICE' EVENT_name ,'ATM SERVICE' DESCRIPTION from dual
union
select 'AMC' ,'AMC CONTRACT' from dual
union
select 'TEST1' ,'TEST2' from dual
Step2:
Plz find teh screen shots attached..
No comments:
Post a Comment