Follow us: Connect on YouTube Connect on YouTube Connect on YouTube

Pages

Showing posts with label OAF. Show all posts
Showing posts with label OAF. Show all posts

Sunday, 15 January 2017

Types of Packages which are Used in the OAF

4 comments

There are six package used in the OA Frame Work Applications.

1) <3rd party identifier > .oracle.apps.<application_short_name>.<component>.[<sub-component>]
.webui

2) <3rd party identifier > .oracle.apps.<application_short_name>.<component>.[<sub-component>]
lov.webui

3) <3rd party identifier > .oracle.apps.<application_short_name>.<component>.[<sub-component>]
.server

4) <3rd party identifier > .oracle.apps.<application_short_name>.<component>.[<sub-component>]
lov.server

5) <3rd party identifier > .oracle.apps.<application_short_name>.<component>.[<sub-component>]
poplist.server

6) <3rd party identifier > .oracle.apps.<application_short_name>.<component>.[<sub-component>]
Schema.server
Continue reading >>

Tuesday, 3 January 2017

Comparison of D2k ,OAF and ADF

0 comments


D2k
OAF
ADF
Desk Top Application
It is Frame with MVC Architecture
It is a Frame work with MVC Architecture
It is a Client and Server Architecture
It is a 3-Tier Architecture
It is a N-Tier Architecture
From Builder used to develop the applications
JDeveloper is used to develop the applications
JDeveloper is used to develop the applications
PL/SQL
JAVA
JAVA
Drag and Drop features
No Drag and Drop features
Drag and Drop features
Client and  Server Application
Web Application
Enterprise Application
Continue reading >>

Tuesday, 19 April 2016

How to Enable Personalization link for OAF Pages

0 comments
We will enable “Personalize page” on following screen


Go To “System Administrator “Responsibility  
Navigation: Profile>System
Set below profiles as ‘YES’
FND: Personalization Region Link Enabled ----- Yes
Personalize Self-Service Defn-----Yes

You can refresh application or logout and login, you can find the “Personalize Page” link as below



Continue reading >>

Saturday, 16 April 2016

How to remove substitution/extension to a VO object in OAF

1 comments
   As part of OA Framework extensibility it is possible to substitute a VO definition, which allows to satisfy business requirements such as adding additional conditions to it as well as to retrieve additional columns.

Such extensions, however, are not shown on the personalization catalog available under the System Administration responsibility and thus are not easily disabled in case something is wrong with them.

In order to remove the substitution definition, you have to identify the customization path and then use the jdr API to remove it.

In order to identify the customization, use the following call:

begin
jdr_utils.listCustomizations('/oracle/apps/ap/oie/server/TrackExpenseReportsVO' ) ;
end ;
/

It will output the path of the customization, which is the one to remove.

/oracle/apps/ap/oie/server/customizations/site/0/TrackExpenseReportsVO

In order to check customization VO and Base VO  use the following call, using the output from the previous command as a parameter.

begin jdr_utils.printdocument('/oracle/apps/ap/oie/server/customizations/site/0/TrackExpenseReportsVO');
end;

In order to delete the customization definition, use the following call, using the output from the previous command as a parameter.

begin
jdr_utils.DeleteDocument('/oracle/apps/ap/oie/server/customizations/site/0/TrackExpenseReportsVO' ) ;
end ;
/

Note: Explicit commit after the deletedocument procedure

You will get the following message if everything is ok, otherwise you could get an error if document is not found in case you did not properly copy the path or if you execute the command a second time.
Succesfuly deleted document /oracle/apps/ap/oie/server/customizations/site/0/TrackExpenseReportsVO.
Now, be careful not to pass the base document path to the delete call, otherwise you will remove the actual seeded VO or page definition and you will panic (I did) when the page no longer opens when called on the application.
Worry not, you will find the xml either on $JAVA_TOP or under the mds folder of the corresponding application and XMLImporter can be used to restore it.


Need to do Bounce the Apache Server if you don't have permissions you can ask to DBA

Steps to Bounce the Apache Server

1) login to your instance with putti or any other software
2) cd $ADMIN_SCRIPTS_HOME
3) adapcctl.sh stop
4) adoacorectl.sh stop
5) adapcctl.sh start

6) adoacorectl.sh start
Continue reading >>

Oracle Application Framework(OAF) Architecture

5 comments
OAF Architecture


   VO ---View Object            
   EO---Entity Object   
  AM---Application Module

Controller:
It is a Java Class.
OAControllerImpl is a  parent of all Controller  Classes.
Controller performs data base transactions through the Application Module interface.
It will get the data through the Application Module and Push into the View.

View:
It is JSP with GUI Components.
It populates data into it’s GUI components from VO.

Model:
          It is to interact with Database through the BC4J Components.
          It is a combination of Application Module, View Object and Entity Object.

Application Module:
It is an interface given to the Controller Classes.
It is Mandatory for OAF Applications
It can be shared by multiple controllers.
It performs DQL operations through the View Object
It performs DML operations through the Entity Object.
OAApplicationModuleImpl (Generic AM) is a parent of Application Module Class.
It is mandatory for all applications

View Object:
SQL Query (SELECT statement to project the data in the form )
It should be stored in .server package
View Object can be developed manually or BC4j wizard
OAViewObjectImpl : is the parent of all view objects
All APIs starts with OA

Entity Object:
It is database object such as table, view and etc
DML operations will be performed on the Entity Object
It should be stored in schema.server package
OAEntityImpl : is the parent of all Entity Objects
Onion Architecture of OA Framework
OA Framework can be extracted into a series of concentric layers, like an onion.
Each layer communicates with it top and bottom Layers
Continue reading >>

Friday, 15 April 2016

OAF JDeveloper Installation and Setting Environment

3 comments
1)       Get the JDeveloper software ( ZIP File  : p8431482_R12_GENERIC.zip )

2)       Copy  into required drive ( folder ) / ( C:\)
Eg: C:\ JDEV  ( create JDEV ( name can be any one ) folder in C-drive

3)       Extract the ZIP file name p8431482_R12_GENERIC.zip )
Right click à WinZip à ExtractToHere
                After extracting it generates following
              
JDEV---- ( user created folder )
                                                |____      jdevbin
                                                |____      Jdevdoc
                                                |____   jdevhome

4)       Take the shortcut of  C:\JDEV\jdevbin\jdev\bin\ jdevW.exe     to desktop

5)       Copy the  vis.dbc file form Oracle Apps Server to JDeveloper

Source Oracle Apps path:   /u03/ERPDEV1/applmgr/inst/apps/ERPDEV_erpdev1/appl/fnd/12.0.0/Secure/ERPDEV1.dbc

See below screen shot (You can find the below screen shot by press "About the page" on any OAF page in apps)


JDevelopre Path: C:\JDEV\jdevhome\jdev\dbc_files\secure

6)       Set the Environment variables of O/S
My Computer -> Advanced ->Environment Variables-> New
Variable Name : JDEV_USER_HOME
Variable Value : C:\JDEV\jdevhome\jdev
OK > OK >OK

Testing Functionality of Jdeveloper

 1)  Open Jdeveloper and go to connection  Right Click  New database connection 
Next
Connection Name : test ( as desired )
Connection Type : Oracle ( JDBC )
Next :

2)       User Name            : apps
          Password               : apps
                Next

3)       Driver  : thin
   Host Name : localhost ( if database is on the local system, else URL of DB server )
   JDBC Port : 1521(your database port Number)
   SID            : VIS (Your Database SID)
For details see the vis.dbc located in the folder :

/u03/ERPDEV1/applmgr/inst/apps/ERPDEV_erpdev1/appl/fnd/12.0.0/Secure/ERPDEV1.dbc

APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=tcp)(HOST\=APPS.ora.com)(PORT\=1521)))(CONNECT_DATA\=(SID\=VIS)))
                Next

4)       Test Connection
          Result : success
          Next

5)       Finish
Continue reading >>