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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.