SlideShare a Scribd company logo
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
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. Lets say, 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
First find the name of the page. This can be done by examining the URL or by clicking on Personalize
link or by using about this link page
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
The document name in question is /oracle/apps/icx/icatalog/shopping/webui/ShoppingHomePG
For extension, create a new OA Workspace and a new OA Project.
Create a project named xxgnm01
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Give it any default package [does not really matter]
To find out the name of the view object being used, open this page in jDeveloper.
The View object being used can be seen as below
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
View object being used is MyReqsGlanceVO
Edit server.xml to retain only those vo’s that we wish to extend
This step is optional, but helps sometimes when you have too many BC4J
components within the server.xml
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Copy the query from above View object in ClipBoard
Create the custom bc4j xxgnm.oracle.apps.icx.por.reqmgmt.server
Inside this package we will be creating an Extended View Object
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Click on finish
Create a new view object
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Change newly created attribute name to something meaningful.
This view object attribute will be named xxgnmGetVendorNameConcat
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Now that we have done substitution, we need to tell jDeveloper that this substitution should be picked
up during runtime of the page. This is required if you wish to test your VO Extension from the
jDeveloper. For testing BC4J extensions from jDeveloper, we need to modify Runner property, and
append a text as shown below, which is –Djbo.project=<name of your project>
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Add above directive, so that extensions can be tested from jdeveloper itself
If you wish deploy the extension to the server, then use the above command
jpximport.bat OAProject1.jpx -username apps
-password apps -dbconnection "(description=(address_list=
(address=(community=tcp.world)(protocol=tcp)(host=focusthreadServer.com)
(port=1555)))(connect_data=(sid=FOCUSR12)))"
Now, lets personalize the iProcurement page and add a new field
This can be done by clicking on Personalize Paege link
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com
As shown below, we can see the new item that you added via personalization.
Anil Passi http://apps2fusion.com
FocusThread Consultancy Limited –
A fast growing Oracle ERP Consultancy
http://focusthread.com

More Related Content

What's hot

Oracle R12 SCM Functional Interview Questions - Order Management
Oracle R12 SCM Functional Interview Questions - Order ManagementOracle R12 SCM Functional Interview Questions - Order Management
Oracle R12 SCM Functional Interview Questions - Order Management
Boopathy CS
 
Oracel inventory and purchasing exam guide
Oracel inventory and purchasing exam guideOracel inventory and purchasing exam guide
Oracel inventory and purchasing exam guide
Adil Arshad
 
Oracle Sourcing Setup
Oracle Sourcing SetupOracle Sourcing Setup
Oracle Sourcing SetupAjay Singh
 
White paper service procurement
White paper service procurementWhite paper service procurement
White paper service procurement
Hamdy Elbana
 
Enhancing Oracle Outside Processing Functionality
Enhancing Oracle Outside Processing FunctionalityEnhancing Oracle Outside Processing Functionality
Enhancing Oracle Outside Processing Functionality
KPIT
 
R12 purchasing presentation oa
R12 purchasing presentation oaR12 purchasing presentation oa
R12 purchasing presentation oa
Suresh Mishra
 
Oracle procurement contracts
Oracle procurement contractsOracle procurement contracts
Oracle procurement contractssivakumar046
 
Oracle EBS: ATO with Outside Processing
Oracle EBS: ATO with Outside ProcessingOracle EBS: ATO with Outside Processing
Oracle EBS: ATO with Outside Processing
Eric Guether
 
How to Close Period in Oracle Apps Inventory
How to Close Period in Oracle Apps Inventory How to Close Period in Oracle Apps Inventory
How to Close Period in Oracle Apps Inventory
Bizinsight Consulting Inc
 
iSupplier
iSupplieriSupplier
iSupplier
ravisagaram
 
Oracle Applications R12 Sourcing Training
Oracle Applications R12 Sourcing TrainingOracle Applications R12 Sourcing Training
Oracle Applications R12 Sourcing Training
Dharmalingam Kandampalayam Shanmugam
 
Elshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order ManagementElshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order Management
Ahmed Elshayeb
 
Oracle Inventory - Difference between Cycle Count and Physical Inventory
Oracle Inventory - Difference between Cycle Count and Physical Inventory Oracle Inventory - Difference between Cycle Count and Physical Inventory
Oracle Inventory - Difference between Cycle Count and Physical Inventory
Boopathy CS
 
R12 inventory features
R12 inventory featuresR12 inventory features
R12 inventory features
Suresh Mishra
 
Oracle iProcurement
Oracle iProcurementOracle iProcurement
Oracle iProcurement
Baker Khader Abdallah, PMP
 
Oracle SCM Purchasing R12
Oracle SCM Purchasing R12Oracle SCM Purchasing R12
Oracle SCM Purchasing R12Zabi Khan
 
Cross charge and Inter Company billing
Cross charge and Inter Company billingCross charge and Inter Company billing
Cross charge and Inter Company billing
Atul Sadanand
 
Organization Setup in R12
Organization Setup in R12Organization Setup in R12
Organization Setup in R12
eprentise
 
oracle order management
oracle order managementoracle order management
oracle order management
Souvik Chakraborty
 

What's hot (20)

Oracle R12 SCM Functional Interview Questions - Order Management
Oracle R12 SCM Functional Interview Questions - Order ManagementOracle R12 SCM Functional Interview Questions - Order Management
Oracle R12 SCM Functional Interview Questions - Order Management
 
Oracel inventory and purchasing exam guide
Oracel inventory and purchasing exam guideOracel inventory and purchasing exam guide
Oracel inventory and purchasing exam guide
 
Oracle Sourcing Setup
Oracle Sourcing SetupOracle Sourcing Setup
Oracle Sourcing Setup
 
White paper service procurement
White paper service procurementWhite paper service procurement
White paper service procurement
 
Enhancing Oracle Outside Processing Functionality
Enhancing Oracle Outside Processing FunctionalityEnhancing Oracle Outside Processing Functionality
Enhancing Oracle Outside Processing Functionality
 
R12 purchasing presentation oa
R12 purchasing presentation oaR12 purchasing presentation oa
R12 purchasing presentation oa
 
Oracle procurement contracts
Oracle procurement contractsOracle procurement contracts
Oracle procurement contracts
 
Oracle EBS: ATO with Outside Processing
Oracle EBS: ATO with Outside ProcessingOracle EBS: ATO with Outside Processing
Oracle EBS: ATO with Outside Processing
 
How to Close Period in Oracle Apps Inventory
How to Close Period in Oracle Apps Inventory How to Close Period in Oracle Apps Inventory
How to Close Period in Oracle Apps Inventory
 
iSupplier
iSupplieriSupplier
iSupplier
 
Oracle Applications R12 Sourcing Training
Oracle Applications R12 Sourcing TrainingOracle Applications R12 Sourcing Training
Oracle Applications R12 Sourcing Training
 
Elshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order ManagementElshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order Management
 
Oracle Inventory - Difference between Cycle Count and Physical Inventory
Oracle Inventory - Difference between Cycle Count and Physical Inventory Oracle Inventory - Difference between Cycle Count and Physical Inventory
Oracle Inventory - Difference between Cycle Count and Physical Inventory
 
R12 inventory features
R12 inventory featuresR12 inventory features
R12 inventory features
 
Oracle iProcurement
Oracle iProcurementOracle iProcurement
Oracle iProcurement
 
Oracle SCM Purchasing R12
Oracle SCM Purchasing R12Oracle SCM Purchasing R12
Oracle SCM Purchasing R12
 
Cross charge and Inter Company billing
Cross charge and Inter Company billingCross charge and Inter Company billing
Cross charge and Inter Company billing
 
58528447 oracle-e am
58528447 oracle-e am58528447 oracle-e am
58528447 oracle-e am
 
Organization Setup in R12
Organization Setup in R12Organization Setup in R12
Organization Setup in R12
 
oracle order management
oracle order managementoracle order management
oracle order management
 

Similar to Extend oa-framework-add-new-field

Developing RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdfDeveloping RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdf
sheriframadan18
 
M365 global developer bootcamp 2019 PA
M365 global developer bootcamp 2019  PAM365 global developer bootcamp 2019  PA
M365 global developer bootcamp 2019 PA
Thomas Daly
 
Summer ‘14 Release Training by Astrea
Summer ‘14 Release Training by AstreaSummer ‘14 Release Training by Astrea
Summer ‘14 Release Training by Astrea
priyanshi_astrea
 
O365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side RenderingO365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side Rendering
Riwut Libinuko
 
Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...
Md Ahmad Ali
 
Smart view for-planning
Smart view for-planningSmart view for-planning
Smart view for-planningAmit Sharma
 
St Hilaire Ajax Start Odtug Nov 2009
St Hilaire   Ajax Start Odtug Nov 2009St Hilaire   Ajax Start Odtug Nov 2009
St Hilaire Ajax Start Odtug Nov 2009
ruiruitang
 
Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Amit Sharma
 
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionSharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
Ifeanyi I Nwodo(De Jeneral)
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentalsAmit Sharma
 
Deep into Drupal Theming Layer
Deep into Drupal Theming LayerDeep into Drupal Theming Layer
Deep into Drupal Theming Layer
insready
 
Visualforce controllers
Visualforce controllersVisualforce controllers
Visualforce controllersAmit Sharma
 
Summer '16 Realease notes
Summer '16 Realease notesSummer '16 Realease notes
Summer '16 Realease notesaggopal1011
 
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
James Jara Portfolio 2014  - Enterprise datagrid - Part 3James Jara Portfolio 2014  - Enterprise datagrid - Part 3
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
James Jara
 
How We Built the Private AppExchange App (Apex, Visualforce, RWD)
How We Built the Private AppExchange App (Apex, Visualforce, RWD)How We Built the Private AppExchange App (Apex, Visualforce, RWD)
How We Built the Private AppExchange App (Apex, Visualforce, RWD)
Salesforce Developers
 
AngularJS Fundamentals + WebAPI
AngularJS Fundamentals + WebAPIAngularJS Fundamentals + WebAPI
AngularJS Fundamentals + WebAPI
Eric Wise
 
M365 global developer bootcamp 2019
M365 global developer bootcamp 2019M365 global developer bootcamp 2019
M365 global developer bootcamp 2019
Thomas Daly
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interfaceAmit Sharma
 
Spring '16 Release Preview Webinar
Spring '16 Release Preview Webinar Spring '16 Release Preview Webinar
Spring '16 Release Preview Webinar
Salesforce Developers
 
Extensions in OAF
Extensions in OAF Extensions in OAF

Similar to Extend oa-framework-add-new-field (20)

Developing RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdfDeveloping RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdf
 
M365 global developer bootcamp 2019 PA
M365 global developer bootcamp 2019  PAM365 global developer bootcamp 2019  PA
M365 global developer bootcamp 2019 PA
 
Summer ‘14 Release Training by Astrea
Summer ‘14 Release Training by AstreaSummer ‘14 Release Training by Astrea
Summer ‘14 Release Training by Astrea
 
O365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side RenderingO365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side Rendering
 
Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...
 
Smart view for-planning
Smart view for-planningSmart view for-planning
Smart view for-planning
 
St Hilaire Ajax Start Odtug Nov 2009
St Hilaire   Ajax Start Odtug Nov 2009St Hilaire   Ajax Start Odtug Nov 2009
St Hilaire Ajax Start Odtug Nov 2009
 
Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1
 
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionSharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
 
Apex code-fundamentals
Apex code-fundamentalsApex code-fundamentals
Apex code-fundamentals
 
Deep into Drupal Theming Layer
Deep into Drupal Theming LayerDeep into Drupal Theming Layer
Deep into Drupal Theming Layer
 
Visualforce controllers
Visualforce controllersVisualforce controllers
Visualforce controllers
 
Summer '16 Realease notes
Summer '16 Realease notesSummer '16 Realease notes
Summer '16 Realease notes
 
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
James Jara Portfolio 2014  - Enterprise datagrid - Part 3James Jara Portfolio 2014  - Enterprise datagrid - Part 3
James Jara Portfolio 2014 - Enterprise datagrid - Part 3
 
How We Built the Private AppExchange App (Apex, Visualforce, RWD)
How We Built the Private AppExchange App (Apex, Visualforce, RWD)How We Built the Private AppExchange App (Apex, Visualforce, RWD)
How We Built the Private AppExchange App (Apex, Visualforce, RWD)
 
AngularJS Fundamentals + WebAPI
AngularJS Fundamentals + WebAPIAngularJS Fundamentals + WebAPI
AngularJS Fundamentals + WebAPI
 
M365 global developer bootcamp 2019
M365 global developer bootcamp 2019M365 global developer bootcamp 2019
M365 global developer bootcamp 2019
 
Customizing sales force-interface
Customizing sales force-interfaceCustomizing sales force-interface
Customizing sales force-interface
 
Spring '16 Release Preview Webinar
Spring '16 Release Preview Webinar Spring '16 Release Preview Webinar
Spring '16 Release Preview Webinar
 
Extensions in OAF
Extensions in OAF Extensions in OAF
Extensions in OAF
 

Recently uploaded

Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 

Recently uploaded (20)

Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 

Extend oa-framework-add-new-field

  • 1. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com 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. Lets say, 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 First find the name of the page. This can be done by examining the URL or by clicking on Personalize link or by using about this link page
  • 2. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com The document name in question is /oracle/apps/icx/icatalog/shopping/webui/ShoppingHomePG For extension, create a new OA Workspace and a new OA Project. Create a project named xxgnm01
  • 3. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com Give it any default package [does not really matter] To find out the name of the view object being used, open this page in jDeveloper. The View object being used can be seen as below
  • 4. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com View object being used is MyReqsGlanceVO Edit server.xml to retain only those vo’s that we wish to extend This step is optional, but helps sometimes when you have too many BC4J components within the server.xml
  • 5. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com
  • 6. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com Copy the query from above View object in ClipBoard Create the custom bc4j xxgnm.oracle.apps.icx.por.reqmgmt.server Inside this package we will be creating an Extended View Object
  • 7. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com Click on finish Create a new view object
  • 8. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com
  • 9. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com
  • 10. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com Change newly created attribute name to something meaningful. This view object attribute will be named xxgnmGetVendorNameConcat
  • 11. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com
  • 12. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com Now that we have done substitution, we need to tell jDeveloper that this substitution should be picked up during runtime of the page. This is required if you wish to test your VO Extension from the jDeveloper. For testing BC4J extensions from jDeveloper, we need to modify Runner property, and append a text as shown below, which is –Djbo.project=<name of your project>
  • 13. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com Add above directive, so that extensions can be tested from jdeveloper itself If you wish deploy the extension to the server, then use the above command jpximport.bat OAProject1.jpx -username apps -password apps -dbconnection "(description=(address_list= (address=(community=tcp.world)(protocol=tcp)(host=focusthreadServer.com) (port=1555)))(connect_data=(sid=FOCUSR12)))" Now, lets personalize the iProcurement page and add a new field This can be done by clicking on Personalize Paege link
  • 14. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com
  • 15. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com As shown below, we can see the new item that you added via personalization.
  • 16. Anil Passi http://apps2fusion.com FocusThread Consultancy Limited – A fast growing Oracle ERP Consultancy http://focusthread.com