Apps To Fusion

.......Our Journey from Apps To Fusion

 
  • Increase font size
  • Default font size
  • Decrease font size



Extend View Object to Add new Field In OA Framework

E-mail
User Rating: / 0
PoorBest 

In this article you will learn from a working example, how to extend view object in OA Framework to add a new field to standard page.
This article will also teach you how this extension can be tested from both jDeveloper and also how this can be deployed to eBusiness Suite.
In the iProcurement shopping home page, we need to add Supplier Number field in the “My Requisitions” region.
My requisition region primarily displays the data from PO_REQUISITION_HEADERS_ALL Table.
However it is the table po_requisition_lines_all that contains the vendor id.
 

In order to add a Supplier Name field here :-

  1. Create a PL/SQL function that returns comma separated list of Supplier Names against a requisition.
  2. Extend the View object being used which is MyReqsGlanceVO.  
    Hence new view object xxgnmMyReqsGlanceVO will be created. xxgnmMyReqsGlanceVO will extend from standard view object MyReqsGlanceVO.
  3. Create substitution in jDeveloper, so that new/extended view replaces standard view object MyReqsGlanceVO
  4. Run the page from jDeveloper or from eBusiness Suite, so as to personalization the existing region.
    By personalization, a new field will be added.
    This new field will have a prompt Supplier number. And also, this new field will be mapped to the new view object attribute.
  5. Deploy the changes to application tier
 

Before making the changes, screen will look as below

 

After making the extension change, screen will look as shown below

Use this link to view the complete article in pdf

http://www.apps2fusion.com/training_demo/anilpassi/oa-framework/extension/Extend-OA-Framework-Add-New-Field.pdf

 

Comments (9)add
nice
written by jyo , October 30, 2008
Really nice article , step by step.
I cant execute it though because we dont have iprocurement installed in our company. I tried using any other application but , its hard to find a VO, with server.xml in the root folder.Oracle doesnt supply server.xml for all the projects
I wasnt able to create server.xml successfully. gave me errors.
May be you could write an article about how to create a server.xml, if its not provided .
Thanks
Jyo
report abuse
vote down
vote up
Votes: +1
...
written by sohbet , November 01, 2008
thank you

sohbet
report abuse
vote down
vote up
Votes: +0
efsdf
written by df , February 15, 2009
????? - ??? -??? -??????? ??? - ????? ????? / ?????? ????? ???????? ????? ?????? ????? ????? ????? ??????? ????? ?????

report abuse
vote down
vote up
Votes: +0
HRMS R12- Core HR and absence management
written by Shiva Sharma , May 20, 2009
We ar implementing one R12 project. Here we need to show net entielemnet balance on manager notification page.
manager want to see balance for every employee so that he can take a decsion for approval or not approval.
We add a new text field by personlaization on notifiction page. now i want to modify view pbject behind this so that i can
add new query for returning balance.
Please advise how to modify this page.

Thanks
Shiva
report abuse
vote down
vote up
Votes: +0
Need to add 2 fields in custom page
written by sakthivel , October 14, 2009
Hi Anipassi,
I need to add 2 new fields in my custom OAF page.
My custom page is very simple like one data entry filed then Go button.
Once i enter any data (like %) enter click on the 'Go' its display records.
Now i need to add 2 more filed to display in the same page.
How i can add , what are the files i need to modify( since its already in custom page no need to extend any standard page)
report abuse
vote down
vote up
Votes: +0
Finding files on the server
written by Roy F. , November 17, 2009
Hi Anil,

I need to add two fields to the SSHR page “Personal Information”.

I have been looking at UNIX to se what files I could find.

I navigated to /oracle/apps/per/selfservice/personalinformation.

What kind of files do I need to get from here?

Is there any other files I would have to get as well?

Thanks and regards,
Roy
report abuse
vote down
vote up
Votes: +0
...
written by Anil Passi- , November 17, 2009
Hi Roy

Did you add those fields using personalziation? If so, then information goes into JDR% tables.

Cheers,
Anil
report abuse
vote down
vote up
Votes: +0
What about saving the field?
written by Keith , February 23, 2010
Hi Anil,
I am able to follow all that you've outlined above. However, I'm struggling with trying to save input data in the field into the database.
The original AM has a method to update the VO. It currently calls a PL/SQL API that updates the field into a table. It is however saving null to the field that I have just made available in my extended VO.
To change that, I extended the AM. Unfortunately, I am lost when I tried to call the getter in my extended VO to put into the setter of the method that calls the API.
Any hints is greatly appreciated.

Keith
report abuse
vote down
vote up
Votes: +0
What about validation before save?
written by antonio fernandez , January 31, 2011
Hi Anil,
I am a completely fan of you.

I have a question. In Forms personalizations, we can launch validations before record,... for implementing our validations about some fields in the form.
That is possible in OAF Framework?

Sorry about my english.

Regards,

Antonio,
report abuse
vote down
vote up
Votes: +0
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy
Last Updated ( Saturday, 24 October 2009 12:49 )  

Related Items

Search apps2fusion