0% found this document useful (0 votes)
65 views5 pages

Change Lov Query

To restrict values on a list of values (LOV) item in an Oracle EBS form, the form can be personalized to execute a PL/SQL procedure using a built-in action. The built-in action should call the procedure, passing any needed arguments like the LOV item's value in quotes within the declare/begin/end block, without a semicolon after end. Alternately, a procedure can be called directly, passing the LOV field value as an argument in quotes.

Uploaded by

angra11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views5 pages

Change Lov Query

To restrict values on a list of values (LOV) item in an Oracle EBS form, the form can be personalized to execute a PL/SQL procedure using a built-in action. The built-in action should call the procedure, passing any needed arguments like the LOV item's value in quotes within the declare/begin/end block, without a semicolon after end. Alternately, a procedure can be called directly, passing the LOV field value as an argument in quotes.

Uploaded by

angra11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Recently I had this requirement to restrict some of the values on an existing LOV item in a EBS form.

Below
are the steps required for the same.

To call a pl/sql API from forms personalization, do this


1. Personalize the form
2. Create an action of type "BuiltIn"
3. BuiltIn Type for Action should be "Execute a Procedure"

4. Argument should be as below


='declare
v_field_value VARCHAR2(200) ;
begin
plsql_package.procedurenameHere ;
end'

or alternately
='declare
v_field_value VARCHAR2(200) ;
begin
apassi_prc ('''||$
{item.PO_CONTROL_RULES.OBJECT_CODE_DISPLAYED_VALUE.value}||''');
end'
Note the syntax, after =, entire declare begin end is within single quote.
Also, there is no semi colon after "end"
You can pass field values as
'''||${item.BLOCKNAME.FIELDNAME.value}||'''

Call form by menu:

You might also like