Adding a zoom using the CUSTOM library

We can use the CUSTOM library to add or modify functionality without making code changes to the standard form. All of the standard forms have calls to the custom library from specific events that occur at runtime. We can add code to the CUSTOM library to capture the events (such as WHEN-NEW-FORM-INSTANCE, ZOOM, and so on) and then add code to perform additional functionality. If you need to see which events are fired on any particular form you can navigate to Help | Diagnostics | Custom Code | Show Custom Events from the menu and you will see a message appear each time an event is triggered (you may be prompted for the apps password when you do this). The message will show the event that was triggered.

Get Oracle E-Business Suite R12 Core Development and Extension Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.