Creating a Simple Form Module Oracle APPS Blog- http://ebiztechnics.blogspot.com
Objectives • Creating a Simple Form Module Using wizards • Types of Blocks • Control Block • Discuss properties of Data Block • Creating a Master-Detail Form • Relationship between data blocks Oracle APPS Blog- http://ebiztechnics.blogspot.com
Crating a New Form Module • Use one of the options to create a new form module 1. Use The Data Block Wizard 2. Build a new form manually 3. Build a form Based on a Template. Oracle APPS Blog- http://ebiztechnics.blogspot.com
Using Wizards.. Use Form Builder Wizards: • Data Block Wizard: Used to create a data block with a data source. • Layout Wizard: Used to display the data block items for Presentation. Oracle APPS Blog- http://ebiztechnics.blogspot.com
Data Block wizard- Type of data block Oracle APPS Blog- http://ebiztechnics.blogspot.com
Data Block wizard- Table or view name Oracle APPS Blog- http://ebiztechnics.blogspot.com
Layout wizard- Changing Prompts Oracle APPS Blog- http://ebiztechnics.blogspot.com
Layout wizard- Layout Style Oracle APPS Blog- http://ebiztechnics.blogspot.com
Layout wizard-Rows Page Oracle APPS Blog- http://ebiztechnics.blogspot.com
Data Block Functionality Once you create a data block with the wizards, Form Builder automatically creates: • A form module with database functionality including query, insert, update, delete • A frame object • Items in the data block • A prompt for each item Oracle APPS Blog- http://ebiztechnics.blogspot.com
Modifying the Layout • You can modify the layout after creating the data block by using re- entrant wizards – Select Tools -> Data block wizard to modify the data block – Select Tools -> Layout wizard to modify the Layout of the form. – Changes can be made manually also. Oracle APPS Blog- http://ebiztechnics.blogspot.com
Types of Blocks Data Block Control Block - Base Table Block - Non Base Table Block Oracle APPS Blog- http://ebiztechnics.blogspot.com
Creating a Control Block • Select the Data Blocks node and click the Create icon. or Select Navigator—>Create. • Select the “Build a new data block manually” option in the New Data Block dialog box. – Invoke the property pallet for the block – Change the name of the block to CONTROL – Set the Database Data block property to No. Oracle APPS Blog- http://ebiztechnics.blogspot.com
Data Block Properties • General • Navigation • Records • Database • Advanced Database • Scrollbar • Font and Color • Character Mode • International Oracle APPS Blog- http://ebiztechnics.blogspot.com
Database Properties for Data block Use properties in the Database group to control: • Type of block—data block or control block • Query, insert, update, and delete operations on the data block • Data block’s data source type and Name • Query search criteria and sort order • Maximum query time • Maximum number of records fetched Oracle APPS Blog- http://ebiztechnics.blogspot.com
Navigation Properties ORDERS Order Next Navigation Data Block Same Record Change Record Previous Navigation Block Oracle APPS Blog- http://ebiztechnics.blogspot.com
Visual Attributes • Visual attributes are font, color and pattern properties applied for form and menu objects. Oracle APPS Blog- http://ebiztechnics.blogspot.com
Data blocks and Relationships Master Detail Master Detail Detail Detail Detail Master Oracle APPS Blog- http://ebiztechnics.blogspot.com
Data block wizard – Master-Detail Relationship Oracle APPS Blog- http://ebiztechnics.blogspot.com
Relation Object • Relationship object is always created on the master block • Triggers and program units are generated automatically by form builder • The default name of the relation object is Masterblock_DetailBlock Oracle APPS Blog- http://ebiztechnics.blogspot.com
Creating Relation Manually Oracle APPS Blog- http://ebiztechnics.blogspot.com
Deletion Behavior • Non-Isolated (default setting) Prevents the deletion of a master record when associated detail records exist in the database. • Isolated Allows the master record to be deleted and does not affect associated detail records in the database. • Cascading Allows the master record to be deleted and automatically deletes any associated detail records in the detail block's base table at commit time. Oracle APPS Blog- http://ebiztechnics.blogspot.com
Block Coordination Immediate Deferred With AutoQuery Without AutoQuery Oracle APPS Blog- http://ebiztechnics.blogspot.com
Text files and Documentation • Convert a binary file to a text file OR text file to birnary. By Selecting File-> Administration -> Convert. • Create a text file for a form module for Documentation. By Selecting File->Administration -> Object List Report .fmb .fmt Oracle APPS Blog- http://ebiztechnics.blogspot.com
Summary • Creating a simple Form module • Types of blocks • Master-Detail Form • Data block relationships • Data block Properties Oracle APPS Blog- http://ebiztechnics.blogspot.com

Oracle Forms Creation

  • 1.
    Creating a SimpleForm Module Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 2.
    Objectives • Creating aSimple Form Module Using wizards • Types of Blocks • Control Block • Discuss properties of Data Block • Creating a Master-Detail Form • Relationship between data blocks Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 3.
    Crating a NewForm Module • Use one of the options to create a new form module 1. Use The Data Block Wizard 2. Build a new form manually 3. Build a form Based on a Template. Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 4.
    Using Wizards.. Use FormBuilder Wizards: • Data Block Wizard: Used to create a data block with a data source. • Layout Wizard: Used to display the data block items for Presentation. Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 5.
    Data Block wizard-Type of data block Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 6.
    Data Block wizard-Table or view name Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 7.
    Layout wizard- ChangingPrompts Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 8.
    Layout wizard- LayoutStyle Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 9.
    Layout wizard-Rows Page OracleAPPS Blog- http://ebiztechnics.blogspot.com
  • 10.
    Data Block Functionality Onceyou create a data block with the wizards, Form Builder automatically creates: • A form module with database functionality including query, insert, update, delete • A frame object • Items in the data block • A prompt for each item Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 11.
    Modifying the Layout •You can modify the layout after creating the data block by using re- entrant wizards – Select Tools -> Data block wizard to modify the data block – Select Tools -> Layout wizard to modify the Layout of the form. – Changes can be made manually also. Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 12.
    Types of Blocks DataBlock Control Block - Base Table Block - Non Base Table Block Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 13.
    Creating a ControlBlock • Select the Data Blocks node and click the Create icon. or Select Navigator—>Create. • Select the “Build a new data block manually” option in the New Data Block dialog box. – Invoke the property pallet for the block – Change the name of the block to CONTROL – Set the Database Data block property to No. Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 14.
    Data Block Properties •General • Navigation • Records • Database • Advanced Database • Scrollbar • Font and Color • Character Mode • International Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 15.
    Database Properties forData block Use properties in the Database group to control: • Type of block—data block or control block • Query, insert, update, and delete operations on the data block • Data block’s data source type and Name • Query search criteria and sort order • Maximum query time • Maximum number of records fetched Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 16.
    Navigation Properties ORDERS Order Next Navigation DataBlock Same Record Change Record Previous Navigation Block Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 17.
    Visual Attributes • Visualattributes are font, color and pattern properties applied for form and menu objects. Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 18.
    Data blocks andRelationships Master Detail Master Detail Detail Detail Detail Master Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 19.
    Data block wizard– Master-Detail Relationship Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 20.
    Relation Object • Relationshipobject is always created on the master block • Triggers and program units are generated automatically by form builder • The default name of the relation object is Masterblock_DetailBlock Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 21.
    Creating Relation Manually OracleAPPS Blog- http://ebiztechnics.blogspot.com
  • 22.
    Deletion Behavior • Non-Isolated(default setting) Prevents the deletion of a master record when associated detail records exist in the database. • Isolated Allows the master record to be deleted and does not affect associated detail records in the database. • Cascading Allows the master record to be deleted and automatically deletes any associated detail records in the detail block's base table at commit time. Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 23.
  • 24.
    Text files andDocumentation • Convert a binary file to a text file OR text file to birnary. By Selecting File-> Administration -> Convert. • Create a text file for a form module for Documentation. By Selecting File->Administration -> Object List Report .fmb .fmt Oracle APPS Blog- http://ebiztechnics.blogspot.com
  • 25.
    Summary • Creating asimple Form module • Types of blocks • Master-Detail Form • Data block relationships • Data block Properties Oracle APPS Blog- http://ebiztechnics.blogspot.com

Editor's Notes

  • #4 Note: Follow Oracle naming rules. Do not give two objects of the same type the same Name. The name cannot include Oracle or Form Builder reserved words.
  • #12 Note: Apply is available only when you reenter the Layout Wizard to modify an existing layout.
  • #23 What happens when you modify a Relation? Changing the Delete Record Behavior property from the default of Non-isolated to Cascading replaces the On-Check-Delete-Master trigger with the Pre-Delete trigger. Changing the Delete Record Behavior property from the default of Non-isolated to Isolated results in the removal of the On-Check-Delete-Master.