Modifying the template code

In this recipe, we are going to modify the code in the TEMPLATE.fmb form. There are certain triggers that need to be modified when creating a new form. The shell is there, we just need to modify the code to make the form function properly. We need to modify code in the following objects:

  • Modifying the PRE-FORM trigger
  • Modifying the WHEN-NEW-FORM-INSTANCE trigger
  • Modifying the APP_CUSTOM procedure

Modifying the PRE-FORM trigger

The PRE-FORM trigger stores version information about the form and it also dictates the first window of the form.

How to do it...

To modify the PRE-FORM trigger, perform the following tasks:

  1. Navigate to the form level PRE-FORM trigger and open it.
  2. Make the following changes to the FND_STANDARD.FORM_INFO ...

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.