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

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