Posts

Showing posts with the label Oracle Application Framework

Steps to setup jDeveloper for OAF Projects

Image
Step1: Identify the OAF Version required to install 1.1) First step is to identify the compatible version of OAF for your e-business suite. Not every version of OAF is compatible with every version of e-business suite. Also Note that OAF is only to be used with oracle e-business suite. You can not develop stand alone applications with OAF just the way we can do with ADF. Log in to Oracle Applications. Navigation: Application Developer responsibility -> Profiles -> Find Profile option: “FND:Diagnostics” should be set to “Yes”. 1.2) Click on “About this Page” link which can be seen at the page footer. 1.3) OAF version can be seen under “Technology Components” tab. Step2: Download jDeveloper  2.1) You can download the jDeveloper from the below link. (You need to have oracle account, If you don’t have you can register for free) http://www.oracle.com/technetwork/developer-tools/jdev/downloads/ 2.2) Place the jDeveloper extract at D:/OAF/ Step3: C...

Register OAF Page in Oracle Applications

Image
Register OAF page in Oracle Applications We have already seen in our earlier articles about how to configure the OAF and steps to build Hello World page using OAF. In this Tutorial we are going to see how to attach a Hello World Page to Oracle E-Bussiness Suite. 1. Move OAF files to Oracle Apps Server 2. Register the OAF page to Oracle E-Business suite Step: 1  Follow below steps to move OAF project files into Oracle Apps server. 1. Find the server path where exactly to place the OAF project files into Oracle Applications server I. Login to Putty II. Execute cd $JAVA_TOP command to go to the JAVA TOP directory III. Now execute pwdcommand to get the path where exactly the JAVA TOP is located in your sever. example: /home/apps/apps/apps_st/comn/java/classes 2. Copy OAF Project Files into Oracle APPS Server IV. Login to SecureFX or Winscpand go to the JAVA_TOP directory V. Copy all the classfiles from local machine to appropriate $JAVA_TOP directory u...

How to Debug OAF page Errors (or) How to generate logs for tracing OAF page Errors

Image
Steps to Debug OAF page Errors (or) How to generate logs for tracing OAF page Errors. Step:1 You can see the log by using the below code in the Controller Syntax: pageContext.writeDiagnostics(Object,String,int); Example: pageContext.writeDiagnostics(this,”Enter into CO:=”+assnum,OAFwkConstants.STATEMENT); For bc4j objects(AM, View Object Impl ,Entity Object Impl) use the below code as Syntax: getOADBTransaction().writeDiagnostics(Object,String,int); Example: getOADBTransaction().writeDiagnostics(this,”customerid in AM =”+customerid,1); Step:2 Set the profile Option Values Go to System Administrator responsibility and set the profile options to enable the log. Navigation : System Administrator-Profile-System Set FND: Debug Log Enabled to Yes Save the Record. Set FND: Debug Log Level to Statement Save the Record. Bounce the Apache. When you login to EBS you can see Logging is enabled. Step:3 Query FND_LOG_MESSAGES in the database for all the debugging m...

Employee detail entry page

Image
Inserting Data Create EmpEO Step1: Right click on Resources and select New Entity Object Step2: Specify the name = EmpEO, Package=trng2.oracle.apps.ak.emp.schema.server (as EO will be in schema.server). Extends Entity will be given if we are customizing so leave blank Under database objects check “Synonyms” check box so schema objects will be populated to select. It will take some time to generate this list. Select Schema Object as “FWK_TBX_EMPLOYEES” Step3: It shows all available attributes. If required we can create new transient attributes. Transient attributes are those which we can refer only in application but doesn’t exist in database. We can learn more about transient attribute down the line Step4: In next step you can see properties of all attributes. They will by default will get generated as per table definition. Please note that there should be one primary attribute in order to create EO. Also there should who columns Step5: Under Entity Obje...