Book Image

Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook

By : Andy Penver
Book Image

Oracle E-Business Suite R12 Integration and OA Framework 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. Oracle E-Business Suite is the most comprehensive suite of integrated, global business applications that enable organizations to make better decisions, reduce costs, and increase performance. The book will show you how to build different types of extensions with different toolsets. It will take you from start to finish with fully working examples.This book will show readers a wide variety of step-by-step examples of how to extend Oracle E-Business Suite Release 12 in a number of areas. The book focuses on OA Framework personalization and development, WebADI, and BI Publisher. It will take readers through the process of how to get started and what tools are needed. It will explain how to develop working examples and how to deploy them within Oracle E-Business Suite Release 12. Learn how to extend Oracle E-Business Suite (EBS) Release 12, using detailed examples to work through how various components are configured and how we can extend standard functionality. The book focuses on OA Framework personalization and development, desktop integration (formerly WebADI), and BI Publisher and each chapter will introduce the topic before going through working examples from start to finish. There are plenty of detailed illustrations throughout each chapter giving clear instructions of what we are doing and why. Each topic will develop a solution that will utilize common core components of a subject area. It 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 (15 chapters)
Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding tool tips


A tool tip is used to add text to a screen to provide information about a region or item. In this recipe, we are going to add some tips to the screen. We will be adding a simple tool tip to a page and we will also add text that we retrieve from a message stored in the message repository. We will also show the difference between a short tip type and a long tip type. We will perform the following tasks in this recipe:

  • Adding a tool tip to a page

  • Creating new messages

  • Adding a short tip type

  • Adding a long message tip type

Adding a tool tip to a page

We are now going to add a tool tip to a page. It could relate to anything and really does depend on what we are trying to achieve. Common uses for tool tips are providing information about a region and instructions about an item on a page.

How to do it...

To add a tooltip, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Absence Management.

  3. Click on the Action icon.

  4. Click on the Personalize Page link at the top-right corner of the page.

  5. Click on the Complete View radio button.

  6. Click on the Expand All link.

  7. On the top line of the page (Page Layout: Oracle Self Service Human Resources: Absence Management), select the Create Item icon as shown in the following screenshot:

  8. From the Level drop-down list, select Site.

  9. From the Item Style drop-down list, select Tip.

  10. Complete the properties of the item as per the following table:

    Property

    Value

    ID

    XX_ABS_TIP

    Text

    XX Absence Management region tip

  11. Click on the Apply button.

  12. Scroll down to the bottom of the application and click on the Return to Application link.

How it works...

We have just added a tip to a page and can see the results in the following screenshot:

Creating new messages

We can also use the message dictionary to use as a tip. This will allow us to modify the screen tip or merge data into the message, if required. We will now define two messages in Oracle EBS, which we will use to create a short tip and a long tip on a page. Each message, by default, displays this text before each message: APP:<application short name>-<Number> unless the number field is null or 0.

How to do it...

To create a message, perform the following steps:

  1. Log in to Oracle with the Application Developer responsibility.

  2. Navigate to Application | Messages and the Messages window will open.

  3. Create a new message with the following data:

    Item name

    Item value

    Name

    XX_ABS_TYPE_ST

    Language

    US

    Application

    Application Object Library

    Number

    0

    Current Message Text

    Absence Type Short Tip

  4. Save the form.

  5. Create the second message with the following data:

    Item name

    Item value

    Name

    XX_ABS_TYPE_LT

    Language

    US

    Application

    Application Object Library

    Number

    0

    Current Message Text

    This is a longer tip that may span multiple lines.

  6. Save and exit the form.

The form should appear as shown in the following screenshot (the image has been amended to remove blank lines):

How it works...

We have now configured our message that we will use to create our short and long tip personalizations.

Adding a short tip type

We are now going to create a personalization that will add a short tip to a self-service screen. The short tip called XX_ABS_TYPE_ST will reference the message that we have just created.

How to do it...

To add a short tooltip on an item, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Absence Management.

  3. Click on the Action item.

  4. Under the Absence Summary tab, click on the Personalize Search link in the Search region.

  5. Click on the Personalize icon for the Message Choice: Absence Type item.

  6. Click on the Choose Levels Displayed button.

  7. Shift all of the items other than Site and Responsibility back to the Available Levels side as summarized in the following screenshot:

  8. Click on the Apply button.

  9. Set Tip Message Name at responsibility level of XX_ABS_TYPE_ST.

  10. Set Tip Type at the Responsibility level to shortTip as shown in the following screenshot:

  11. Click on the Apply button.

  12. Click on the Return to Application link.

How it works...

We can see that the message is displayed as a tip underneath the Absence Type field as shown in the following screenshot:

Adding a long message tip type

We are now going to create a personalization that will add a long tip to a self-service screen. The short tip will reference the message we have just created called XX_ABS_TYPE_LT. We will see the difference between the tips we have created and how they are displayed on the screen.

How to do it...

To add a long tool tip on an item, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Home | Absence Management.

  3. Click on the Action icon for an employee record.

  4. Under the Absence Summary tab, click on the Personalize "Search" link in the Search region.

  5. Click on the Personalize icon for the Message Choice: Absence Type item.

  6. Click on the Choose Levels Displayed button.

  7. Shift all of the items other than Site and Responsibility back to the Available Levels side.

  8. Click on the Apply button.

  9. Set Tip Message Name to the responsibility level XX_ABS_TYPE_LT.

  10. Set Tip Type to the responsibility level longMessage, as shown in the following screenshot:

  11. Click on the Apply button.

  12. Click on the Return to Application link.

How it works...

We can see an icon next to the Absence Type field and when clicked, it opens a new window with the message text from the XX_ABS_TYPE_LT message we created earlier, as shown in the following screenshot: