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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Creating pop-up menu items


We are going to add some entries to the default pop-up menu. This is standard in all forms and is activated by right-clicking the mouse. We are going to add three different types of pop-up menu items as follows:

  • A pop-up menu item

  • A pop-up menu item with a line separator

  • A pop-up menu item that is disabled

To achieve this we need to perform the following tasks:

  • Adding items to a pop-up menu

  • Compiling the form

  • Capturing pop-up menu events

Adding items to a pop-up menu

We are going to modify the pop-up menu, which is activated by a right mouse click when in the block. We therefore need to create the additional pop-up menu items in a PRE-POP-UP trigger at block level.

How to do it...

To add a PRE-POPUP-MENU trigger, perform the following steps:

  1. 1. In Forms Developer navigate to Data Blocks | PER_SOCIETIES | Triggers.

  2. 2. Create a new trigger at block level called PRE-POPUP-MENU.

  3. 3. In the PL/SQL Editor, initiate the pop-up menu items with the following lines of code:

    APP_POPUP...