Category: OAF

  • Create Page to input Employee details

    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.…

  • Integrating Search, Delete, Update

    Adding button and calling Create page from search Step1: Right click on “ResultsTable” under QueryRN which created in previous exercise of Search page and select New > tableActions   It Automatically creates a flowLayout region and change region ID to ButtonLayout Right click on ButtonLayout and select New > Item and set properties as below…

  • OAF Introduction

    OAF Model & Architecture 1. Model View Controller   OA Framework is based on the industry-standard J2EE MVC design pattern. The MVC architecture is a component-based design pattern with clean interfaces between the Model, View, and Controller. The Model is where the application implements its business logic. The View is where the application implements its…

  • Basics of Java

    JAVA JDK: Java development Kit for java development. This freeware can be downloaded from downloads.oracle.com. Setup you PATH and CLASSPATH system variables. PATH should point to where java exits. It need to point to jdk\bin. So that java compiler and executable can be called from any directory. CLASSPATH need to point to all those directories…

  • Create Hello World Page

    Step1: Right click on trng2 project and select “New” Step2: Select  OA Components and Page Step3:  Specify Page name and package. Page names with PG and they will be in webui folder. It being a custom page, the page  and package should be <company/customname>.oracle.apps.<application>.<module>.webui Here for custom objects we are using trng2 as starting custom…

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

    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…

  • H-Tree or Tree Hierachy structure example.

    Step:1 Create a New OAProject Name the Default Package as xxtree.oracle.apps.fnd.treestr and click on next.     Now Connect to Database and Click on Next   Now attach Dbc file and give Username and Password of apps. Step:2 Create AM Right Click on Project—->New Click on ADF Business Component and create a Application Module Click…

  • Create Search Page in OAF

    Creating Search Page in OAF: Below is the page we are going to create using which you can search for an employee either by name or number or both. Create EmpSummaryVO with below query Step1: Right click on resources in application navigator and select New View Object Specify package=trng2.oracle.apps.ak.emp.server Name=EmpSummaryVO Step2: skip next steps and…

  • Create Application Module and Controller in OAF

    Create Application Module and Controller in OAF: Creating Application Module (AM): Step1: Right click on Resources under project and select “New Application Module” Step2: Specify package “trng2.oracle.apps.ak.hw.server” (AM will be in server) and name “HelloWorldAM” Extends will be used for customizations when to extend seeded objects Step3: You need to select VO if AM need…

  • OAF Architecture

    OAF Architecture: 1. Model View Controller: OA Framework is based on the industry-standard J2EE MVC design pattern. The MVC architecture is a component-based design pattern with clean interfaces between the Model, View, and Controller. The Model is where the application implements its business logic. The View is where the application implements its user interface and…

  • Register OAF Page in Oracle Applications

    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…

  • OAF Hello World Example

      Please refer to “3 Steps to setup jDeveloper for OAF Projects” If you haven’t setup your jDeveloper yet. This article, “oaf hello world example” will help you learn how to Develop Hello world page OAF Page. Create new OA Workspace and Project Set Project properties Create Application Develop OAF Helloworld page Run OAF Page…

  • 3 Steps to setup jDeveloper for OAF Projects

    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…