Technical Training
Oracle Apps 11iOracle Apps Template Form
Oracle Apps 11i : Template Form in Oracle Apps 11i
This document provides an overview of the template form. This form derives its importance from the fact that this form is the starting point of all development involving forms. The document highlights the importance of Template.fmb in forms development and also provides a detailed explanation of the various components of the Template form.

Figure -1 Template.fmb
Overview of the Template Form
The TEMPLATE form is the starting point for all development of new forms. The first step in creating a form for use in Oracle Applications is to copy the template form from $AU_TOP/forms/US, to a local directory and renaming it.
The Template form is unique because it contains some special libraries and triggers that render the application using the template form some standard characteristics. The components of the template form are:
- References to object groups: The template form contains platform–independent references to predefined standard object groups in the APPSTAND form (STANDARD_PC_AND_VA,STANDARD_TOOLBAR, and STANDARD_CALENDAR).
- Libraries: The template form contains platform–independent attachments of several libraries (including FNDSQF, APPCORE, and APPDAYPK).
- Special triggers: The template form contains several form–level triggers with required code. These are responsible for standard the behavior of the form.
- Predefined Program Units: The template form contains predefined program units that include a spec and a body for the package APP_CUSTOM, which contains default behavior for window opening and closing events.
- Applications Color Palette: The template form contains the application color palette. This gives the forms developed using the template form the look and feel of Oracle applications.
- Many referenced objects (from the object groups) that support the Calendar, the toolbar, alternative regions, and the menu. These objects include LOVs, blocks, parameters, and property classes, and so on.
- The TEMPLATE form contains sample objects that can be seen as examples for the expected layout cosmetics. These samples can be completely removed from the form later as they are only examples and are not required. The following objects are the samples and can be removed:
- Blocks: BLOCKNAME, DETAILBLOCK
- Window: BLOCKNAME
- Canvas–view: BLOCKNAME
Hence, the template form comes along with many attachments, predefined program units, and defined visual attributes as well as examples that not only give the forms that are developed using the template.fmb a standard look and feel, but also make t easier to develop forms with consistent and standard functionality.
Libraries in the Template form
As stated above, the template form contains platform–independent attachments of several libraries. These libraries are used while running the form as a part of Oracle Applications. Hence, these libraries should not be changed or modified. There are three main libraries that are attached to the template form:

Figure -2 Template Form attached libraries
APPCORE
APPDAYPK
FNDSQF
Each of these libraries is explained in detail below.
APPCORE
APPCORE contains the packages and procedures that are responsible for the standard ‘Oracle Applications’ behavior of the forms. The forms have to support the menu, toolbar, and other required standard behaviors in compliance with oracle applications.
The Oracle Applications forms also have to display specific runtime behaviors in accordance with the Oracle Applications User Interface Standards, such as the way in which fields are enabled, behaviors of specific types of windows etc. APPCORE contains the procedures to support this standard runtime behavior.
APPCORE also contains various other utilities for exception handling, message levels, and so on.
Oracle Apps 11i
- ERP Overview
- Oracle Apps 11i: Overview of popular ERP Products
- Oracle Apps 11i: Advantages of Oracle E-Business Suite
- Oracle Apps 11i : Getting started with Oracle Applications
- Oracle Apps 11i: Internationalization Support and Multiple Reporting Currencies
- Oracle Apps 11i : File System
- Oracle Apps 11i Installation - System Requirements
- Oracle Apps 11i - Using Rapid install and the Steps Before Apps Installation
- Single Node and Multi Node Installation Part 1
- Single Node and Multi Node Installation Part 2
- Oracle Apps Application Framework
- Oracle Apps Table Registration API
- Oracle Apps Concurrent Processing
- Oracle Apps Concurrent Library Window
- Oracle Apps Message Dictionary
- Oracle Apps Flex fields
- Oracle Apps Implementing Key Flex field and Descriptive Flex field
- Oracle Apps Template Form
- Special Triggers in the Template Form in Oracle Apps 11i
- Creating New Forms in Oracle Apps 11i
- Creation of Master Detail Block in Oracle Apps 11i
- Registering New Forms in Oracle Apps 11i
- Oracle Apps 11i: Setting up Chart Of Accounts (COA)
- Oracle Apps Sys Admin - Users and Responsibilities
- Oracle Apps 11i : Creating Journals through Oracle GL
- Oracle Apps 11i : Suppliers
- Oracle Apps 11i : Asset Management - Asset Book Positioning
- Oracle Apps 11i : Asset Management - Asset Books Regions
- Oracle Apps 11i : Asset Management - Manual and Quick Additions
- Oracle Apps 11i : Asset Management - Mass Additions
- Oracle Apps 11i : Asset Management - Asset Adjustments
- Oracle Apps 11i : Asset Management - Mass Transfers
- Oracle Apps 11i : Asset Management - Depreciation
- Oracle Apps 11i : Asset Management - Retirements
- Oracle Apps 11i : Asset Management - Journal Entries
- Oracle Reports 6i







