Saturday, August 17, 2019

Result Based Search page in OAF

Result base search will give the search results so the results whatever we are seeing in the page are just for display purpose we cannot select the resultant values like the way we select in Inline LOV or External LOV.

Steps to create result base search page

Step 1: Create Work space, project , AM and create one page assign AM to the page give page title and window title.


Step 2: Create new VO in respective BC4J, generally List of Values ends with VO and the example BC4J path is:
Package (BC4J) : xxresultbasesearch.oracle.apps.po.inlineprj.server

VO name : ResultBaseSearchVO
SELECT VENDOR_NAME,VENDOR_ID FROM AP_SUPPLIERS.
Step 3: Attach VO to the AM
Step 4:- After creating VO and attaching it to AM, in this step create new region under main region and select the region style in property inspector as Query. It means we need to create a Query region under the main region.

After creating Query Region in main region select the Query Region property Inspector and in Property Inspector select Construction Mode as Result Base search as shown in the below figure:

Now in the page structure select the Query region, right click on the Query region select New -> Region Using Wizard…
Step5:- Run the page and see the output, if we observe in the output the Query region creates automatically Go and Clear buttons.




No comments:

Post a Comment

AME (Approval Management Engine)

AME (Approval Management Engine) : AME Stands for Oracle Approval Management Engine. AME is a self service web application that enables...