Thursday 16 August 2018

VO substitution oaf

VO substitution oaf

In this post , we will discuss about vo substitution oaf. What it means vo substitution oaf. VO substitution means to put the customize VO in place standard VO. So this customize VO will substitute that Standard VO in each place where It was using earlier in the OAF pages. Now after the VO substitution , the new customize VO will be work in place of Standard VO. This process is called VO substitution. vo substitution oaf Requirment comes when we have an requirement to show some additional information's in the OAF page , for which our standard VO is not have that information's so for this case we creates our customize VO and then substitute this Customize VO with the Standard VO so that this customize VO can work on the OAF pages in place of the Standard VO. vo substitution oaf has some rules ,which we need to follow while doing vo substitution other wise we can get errors during runtime of the OAF page in application. Here below is the Detail step by step process of vo substitution oaf 
 

VO substitution oaf Steps:-

 
1.Indentify that Which VO we need to Extend
2. Download the VO from Oracle Java_Top Location to Your Local Desktop under My Projects folder of Your JDev setup.
3.Then We create New view Object(VO) which extends the Standard View Object.
4.Then We substitute the New Custom View Object with the Standard View Object.
5.Then we upload the New Custom View Object to Oracle Java_Top Location.
6.Then we Register the New View Object in the Oracle application Through XML Importer script.
8.After Import/Register , We add the new field in the OAF page through Personalization and then give reference in this Field for the New Custom View Object(VO).
 

VO substitution oaf Example: How to add new Column in the Expense Report Summary Home Page

 
Step1:- First Go to your OAF page in the application , in which you will do View Object Extension.
This is the Page in which we will do View Extension. Here I want to display the DFF attribute5 in this Track Submitted Expense Reports Status Window.
 
VO substitution oaf

 
 
Step2:- To see the Properties of this Page and to know which View Object is working behind this Page. for this we need to go to 'About this Page' in the Bottom of the Page.
 
VO substitution oaf
 
 
Step3:- Click on the Expand All option and in the Controller Section you can see the Controller Name
 
VO substitution oaf
 
 
 
Step4:-Click '+' icon for Business Components References Details.
 
OAF VO Extension
 
 
Step5:- This is the Location of the View Object under Java_Top under which you will do Extension.
 
VO substitution oaf
 
Step6:-
 
 Now you get to know that where is your Standard View Object is Placed in the Oracle application Under Java_Top.

Then you Need to go to Server Under Java_Top then Under Java_Top follow the same path 'oracle/apps/ap/oie/webui/' and copy the 'TrackExpesneReportsVO' from Server to your Local Desktop.

One Important Thing.

You need to create the same path in your JDev folder under' 'jdevhome'
Under JdevHome there is MyProjects' folder under this folder you have to Create same folder structure like oracle/apps/ap/oie/server/' and then this copied file 'TrackExpesneReportsVO' in this Location.

The rule is you have to create same folder structure like the Folder Structure created for The Standard Controller in the Application server Java_Top.
 
VO substitution oaf
 
 
Step6:-This is the steps you have to implement before doing Start Extension in the JDeveloper.
 
Step7:- Now open the JDeveloper.
 
VO substitution oaf
 
 
 
 
Step8:- Now we will create OA Workspace and Project to do Controller Extensions.
 

VO substitution oaf
 
Step9:- Give the Name of OA Workspace. Click Ok.
OAF VO Extension
 
 
Step10:- Now Give the Name of the Project same like OA workspace.
Package Path:- Choose the same like Standard View Object but choose the application Top start with xx like this this change 'xxap'.
VO substitution oaf
 

Step11:- Then Finish this Project.
VO substitution oaf

Step12:- Now you can see your OAF Project has been completed. Now we will do Controller Extension under this Project.
OAF VO Extension



Due to the Length of this Topic , I will split this Topic two Posts. Please find the Second Part of this Post as below

Part2 url:- https://rpforacle.blogspot.in/2018/03/oaf-vo-extension-how-to-add-new-column-in-the-expense-report-summary-home-page.html

1 comments:

Anonymous said...

This article creates a new hope and inspiration within me. Thanks for sharing article like this. The way you have stated, everything above is quite awesome. Keep blogging like this. Thanks. Please contact us for Oracle R12 Financials Training details in our Erptree Training Institute

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *