pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API Master-Detail Page in OA Framework Master-Detail page is a very common requirement for OAF based project.This tutorial is based on Oracle's Toolbox tutorial,it has been redone and explained step by step to help beginners.Below are the step by step by approach to implement the Master Detail Page using PPR.Source code for this tutorial is available as attachement. Note: Only registered users can download the source code and registration is free. Have a Look at Oracle Forms Style Master Detail Page License: {tab=Initial Steps -->} 1. Right click Workspaces and click create new OAworkspace and name it as "CholaMasterDetail". Automatically a new OA Project is also created. Name the project as CholaMasterDetailand package as chola.oracle.apps.fnd.master. Sudhakar Mani Published on 12 May 2009 Hits: 12804 Advertisements OA Framework Book Covers java basics,OAF customization and extensions Learn More OA Framework Training Learn OAF from the experts.Start at $299 Learn More Oracle SOA Training Learn SOA 11G from the industry leading professional trainer Learn More
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Master-Detail Page in OA Framework
Master-Detail page is a very common requirement for OAF based project.This tutorial is based on Oracle's Toolboxtutorial,it has been redone and explained step by step to help beginners.Below are the step by step by approach toimplement the Master Detail Page using PPR.Source code for this tutorial is available as attachement.
Note: Only registered users can download the source code and registration is free.
Have a Look at Oracle Forms Style Master Detail Page
License:
{tab=Initial Steps -->}1. Right click Workspaces and click create new OAworkspace and name it as "CholaMasterDetail". Automatically a new OAProject is also created. Name the project as CholaMasterDetailand package as chola.oracle.apps.fnd.master.
Sudhakar Mani Published on 12 May 2009 Hits: 12804
Advertisements
OA Framework Book Covers javabasics,OAFcustomization andextensions
Learn More
OA Framework TrainingLearn OAF from theexperts.Start at $299
Learn More
Oracle SOA Training Learn SOA 11G fromthe industry leadingprofessional trainer
pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
SELECT SupplierSiteEO.SUPPLIER_ID,
SupplierSiteEO.SUPPLIER_SITE_ID,
SupplierSiteEO.SITE_NAME,
SupplierSiteEO.PURCHASING_SITE_FLAG,
SupplierSiteEO.START_DATE,
SupplierSiteEO.END_DATE
FROM FWK_TBX_SUPPLIER_SITES SupplierSiteEO
Click Next and Finish.
6.Right click on cholamd.oracle.apps.fnd.master.server and click on new View Object.
Name - SuppliersVOPackage - cholamd.oracle.apps.fnd.master.server.
Click Next.Go to the query page and paste the following query:
SELECT SupplierEO.SUPPLIER_ID,
SupplierEO.NAME,
SupplierEO.ON_HOLD_FLAG,
SupplierEO.START_DATE,
SupplierEO.END_DATE
FROM FWK_TBX_SUPPLIERS SupplierEO
WHERE SupplierEO.SUPPLIER_ID <= 100
Note : Add a new attribute SelectFlag as a transient attribute.Do not forget to do this step.
Edit the AM and shuttle the SuppliersVO and SupplierSitesVO to the right side and click ok. Only then the VO instances willbe accessible.{tab=VL -->}7.Right click on cholamd.oracle.apps.fnd.master.server and click on new View Link.
Name - SuppliertoSitesVLPackage - cholamd.oracle.apps.fnd.master.server.
pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Name * Email *
Subscribe to None
Sort by: Date Rating
41 Comments
Submit comment
evivek 44 Months Ago (0) Vote
Reply Quote
Hi Aarthi,
I'm using 10.1.3.1.0 and its navigation seems to be different from that shown in the screenshot.
When i right click on .jpr, i cant view the "New Business Components package" option.
Thanks,
Vivek
aarthi 10 Months Ago (0) Vote
Vivek,
It is done in 11i jdev.you can right click on your project and then goto business tier-ADF business components and then select VO or EO.you can straight away specify the package name there.In r12 jdev it is not needed to create bc4j package explicitly.
pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
contactriteshsharma 18 Months Ago (0) Vote
Reply Quote
Hi Aarathi,
My requirement is to develop a Oracle Form style Master-Detail data entry Form, is it possible in OAF or Not?
I developed a sample form and created all required BC4J components like EO, VO, viewlink and entity association but it is not picking up the foreign key value. What may be the reason? I have set the newly created row as current row for Master VO.
Thanks in advance
Regards,
Reetesh Sharma
aarthi 18 Months Ago (0) Vote
Reply Quote
Reetesh,
No it is not straight forward in OAF. However you can achieve this by tweaking a little.Can you attach your project zip file in the forums so that I can have a look at it.
pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
contactriteshsharma 33 Months Ago (0) Vote
Reply Quote
Hi Arathi,
Thanks for your propmt response.
I've already compeleted that project and handelled Master-Detail Relationship manually means I created two regions while querying I was firing query on both the regions simultaneously and while saving the data I will pass foreign key value manually to child block.
I just want to know if any better approach is there.
pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Akila 40 Months Ago (0) Vote
Reply Quote
Hi Aarthi,
I created a Master-Detail OAF page following the steps you listed in the document. But I am not getting any data when I attach the detail region. If I just run the the page with the Master Region alone, I could see the data.
I am fairly new to OAF and I am having hard time to figure out what I missed.
Could you please help me out on this.
Thanks,
Akila.
admin 33 Months Ago (-1) Vote
Hi Akila,
Please post your query in the forum to get a prompt response as well as it is easy to troubleshoot from there.Do attach your myprojects as a zipped file.