Professional Documents
Culture Documents
• Database: 11.2.0.4.0
Objective
• The Purchasing department requires Supplier maintenance access in order to promote
‘one-stop’ service and an enhanced customer experience to iSuppliers.
• The Payables department requires data related to payments and tax reporting be
maintained by a separate Supplier Administration team.
• Supplier Address records are visible to all agencies, as there is no org_id at the
address level
• Board will maintain (Update, Manage or Delete) their own supplier address
records but cannot alter addresses used for payment or reporting.
• Create VO extensions
• Page Personalizations
Supplier Address Book Page Before changes
About This Page
Click
“About
this
Page” to
get the
VO and
Page
details
About This Page – Page Path
About This Page – Finding the VO
• Click on the VO name to get the VO path where we can find the VO from server
to extend
VO Details
• You can see the query and available attributes in this screen.
• But better to get the query from VO in JDeveloper
Available Attributes
View Object (VO) Files from Server
• Copy the folder from server to local drive with exact same path
$JAVA_TOP/oracle/apps/pos/supplier
• Note: Oracle’s known issue extending this VO.
• Apply Patch 21047856
VO File Path in Server and Local Drive
New OA Workspace in JDeveloper 10.1.3.3.0.3
• Create new workspace
OA Workspace Details
Project Details
• Fill the Project Name and leave default values in rest of the fields
JDeveloper VO Extension Steps
• Right click on Project and select New
JDeveloper Steps for VO Extension
• Select ADF Business Component and View Object in items
VO Extension Details
• Fill the Package Name, where you are creating this VO Extension and
Extension name, Then click on Browse on Extends field
Selecting Seeded VO to Extend
VO Extension Details
VO Extension Details
• Select default values from steps 2 to 6
VO Extension Details
• Check the Check Box “Generate Java File” and click Finish
Getting the Query from VO
• Copy the VO query from VO into toad or SQL developer and modify query
according to the requirements
Creating Transient Variable in VO Extension
• Create a Boolean variable in the Attributes
Java Code Modifications
Details of Java Code
Steps After Java code Modification in JDeveloper
• After code modification, compile the code (Make and Rebuild)
Errors and Warnings in JDeveloper
Implementation
• Save All and move the code to appropriate directory in the server
• Import the project into test instance with import command, shown below
• jpximport
C:\MY_JDEVELOPER\jdevhome\jdev\myprojects\xxAddrBkVOexNP3Proj.jpx -
userId 1 -username XXXX -password XXXX -dbconnection
"(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YE
S)(ADDRESS=(PROTOCOL=tcp)(HOST=vmohshctf009.oracleoutsourcing.com
)(PORT=XXXX)))(CONNECT_DATA=(SID=DHCTFI)))"
Session ID:
10989
Remember to complete your evaluation for this session within the app!