Book Image

Oracle E-Business Suite R12 Core Development and Extension Cookbook

By : Andy Penver
Book Image

Oracle E-Business Suite R12 Core Development and Extension Cookbook

By: Andy Penver

Overview of this book

Oracle's suite of applications is used by many major businesses and public sector organizations throughout the world. The book will show you how to build different types of extensions with different toolsets with Oracle E-Business Suite R12. It will take you from start to finish with fully working examples. This book will show you how to extend Oracle E-Business Suite Release 12. You will learn highly desirable skills on how to extend the application and develop your expertise. The book will provide detailed information about why things have to be done in certain ways, and will take you through the process of how to get started, what tools are needed, how to develop working examples, and how to deploy them within the application. Learn how to extend Oracle E-Business Suite (EBS) Release 12. There are detailed examples to work through, such as how various components are configured and how we can extend standard functionality. The book focuses on core development and extension and each chapter will introduce a topic before going through working examples from start to finish. There are plenty of detailed screen shots throughout each chapter giving clear instructions of what we are doing and why. Each recipe will develop a solution that will utilize core components to that topic. The Oracle E-Business Suite R12 Core Development and Extension Cookbook focuses on starting an extension right from the beginning, to deploying it within E-Business Suite. At the end of each chapter the reader will have a good understanding of what they need to do for each area to take away, and start using it in practice. Each chapter will detail how to build an extension in the supported manner and also comes with complete fully tested code, and scripts that can be downloaded.
Table of Contents (12 chapters)
Oracle E-Business Suite R12 Core Development and Extension Cookbook
About the Author
About the Reviewers

Installing the database objects

We are going to create the database objects for the next examples, by using a script provided called In the next examples we will be configuring a concurrent program that calls a host program. The script we are going to run will create a sequence, synonym, and package for our host program call. We will also create a package that will handle all of the database transactions such as insert, update, and delete. Finally, we will create a sequence that will be used to generate a unique number for new filenames. The following provides details of how to run the script.

How to do it...

To create the database objects required for this chapter perform the following tasks:

  1. 1. Create a local directory c:\packt\scripts\ch1 where the scripts are downloaded and extracted to.

  2. 2. Open Putty and connect to the application tier user.

  3. 3. Create a new directory on the application tier under $XXHR_TOP/install as follows:

    cd $XXHR_TOP/install
    mkdir ch1
  4. 4. Navigate to the new directory ch1 as follows:

    cd ch1
  5. 5. Open WinSCP and transfer the files from c:\packt\scripts\ch1 on your local machine to the $XXHR_TOP/install/ch1 directory on the application server, as shown in the following screenshot:

  6. 6. In Putty, change the permissions of the script with the following command:

    chmod 775
  7. 7. Run the following script to create all of the objects by issuing the following command:

    ./ apps/apps
  8. 8. The script checks that all of the files are present in your $XXHR_TOP/install/ch1 directory and will prompt you to continue if they are all there, so type Y and press return.

  9. 9. After the script has completed, check the XXHR_4842_01_01.log file for errors. (It will be created in the same directory $XXHR_TOP/install/ch1.)

  10. 10. Run the following query to check that all of the objects have been created successfully:

    ORDER BY 1, 2
  11. 11. This is shown in the following screenshot:

How it works...

We have created a number of objects that we are going to use in the coming recipes. We have created a synonym to the apps user as all of our objects need to be accessed by this user. The sequence we have created will generate a unique number each time a new file is created. Finally, the package we have created contains all of the procedures and functions relating to database activity for calling our host program.