Friday, January 2, 2015

Validation View Object (VVO) in OAF.

Validation View Object

When you implement business logic in your entity object, you will frequently find that you need to execute some simple sql statements, and not just for pure validation purpose.

For ex:-
A purchase order header has many lines. Each line assigned to unique line number.
This line is defined as the current maximum line number for the entire purchase order +1. At run time, we need to query the database to find out the what the maximum line number is for a given purchase order header.

Select max (line_num) from po_lines_all where po_header_id =:1;

Whenever you need to execute the sql like this, you can create view object dynamically from a sql statement, or you can predefine a declarative view object for it.


For an implementation standpoint, validation view object are no different from regular view object, they are different only by the use case.

Thursday, January 1, 2015

How to clear the cache in Oracle Application (OAF cache)

How to clear the cache in OAF

Step1:- Navigate to Functional Administrator responsibility.

                

Step2:- Click on Core services tab
               
                


Step3:- Click on Caching Framework Tab

     

Step4:- Click on Global configuration
               
                

Step5:- Click on Clear All Cache

                

                A warning message related to performance will come, say yes