Beruflich Dokumente
Kultur Dokumente
2
© 2003 Solution Beacon, LLC. All Rights Reserved.
Outline
• Why Follow Standards?
• Assumptions
• Getting Started
• Property Classes
• Development Standards
• Additional Resources
• Summary
3
© 2003 Solution Beacon, LLC. All Rights Reserved.
Why follow standards?
• Faster development
• Web compatibility
• Easier maintenance
4
© 2003 Solution Beacon, LLC. All Rights Reserved.
Assumptions/Scope
• Development environment is Applications Release
11i/Forms 6i
5
© 2003 Solution Beacon, LLC. All Rights Reserved.
Getting Started
Download from $AU_TOP/forms/US
•TEMPLATE.fmb
•APPSTAND.fmb
6
© 2003 Solution Beacon, LLC. All Rights Reserved.
Property Classes
• Provide visual and behavioral attributes for objects
7
© 2003 Solution Beacon, LLC. All Rights Reserved.
Logical Order of Development
Module
Libraries
Triggers
Windows
Canvases
Data Blocks
Layout
Add’l Code
8
© 2003 Solution Beacon, LLC. All Rights Reserved.
Module
Module Property class = Module
Libraries
Triggers
Windows
Canvases
Data Blocks
Layout
Add’l Code
9
© 2003 Solution Beacon, LLC. All Rights Reserved.
Libraries
Module
Libraries Core
Triggers App Specific
Windows
Canvases
Data Blocks
Layout
Add’l Code
10
© 2003 Solution Beacon, LLC. All Rights Reserved.
Libraries - Core
• APPCORE.pll Application Standards
• FNDSQF.pll Descriptive Flexfields, Currency,
Concurrent Request Submission,
Record History, Message Dictionary
• APPDAYPK.pll Calendar popup
• CUSTOM.pll Customizations of standard forms
• VERT.pll Specific industry features
• GLOBE.pll Global or regional features
• JA.pll Asia/Pacific features
• JE.pll Europe/Middle East/Africa features
• JL.pll Latin America Code
11
© 2003 Solution Beacon, LLC. All Rights Reserved.
Libraries – Application Specific
• FV.pll
• HRKPI.pll
• GHR.pll
• GMS.pll
• IGILUTIL.pll
• IGILUTIL2.pll
• PSAC.pll
• PQH_GEN.pll
• PSA.pll
• PSB.pll
• OPM.pll
• APPCORE2.pll
• APPFLDR.pll
12
© 2003 Solution Beacon, LLC. All Rights Reserved.
Triggers
Module
Libraries
Triggers Required
Windows Restricted
Canvases Optional
Data Blocks
Layout
Add’l Code
13
© 2003 Solution Beacon, LLC. All Rights Reserved.
Triggers - Required
• PRE-FORM must be modified
14
© 2003 Solution Beacon, LLC. All Rights Reserved.
Don’t Touch This!
• STANDARD_ATTACHMENTS
• ZOOM
• FOLDER_ACTION
• KEY-HELP
• KEY-EXIT
• KEY-EDIT
• KEY-COMMIT
• WHEN-WINDOW-CLOSED
• CLOSE_WINDOW
15
© 2003 Solution Beacon, LLC. All Rights Reserved.
Triggers - Optional
• Execution Hierarchy = Before
• WHEN-NEW-RECORD-INSTANCE
• WHEN-NEW-BLOCK-INSTANCE
• WHEN-NEW-ITEM-INSTANCE
• Execution Hierarchy = After
• POST-QUERY
• Execution Hierarchy = Override
• KEY-DUPREC
• KEY-MENU
• KEY-LISTVAL
• QUERY-FIND
• ACCEPT
16
© 2003 Solution Beacon, LLC. All Rights Reserved.
Window
Module
Libraries
Triggers
Windows Modal
Canvases Non-Modal
Data Blocks
Layout
Add’l Code
17
© 2003 Solution Beacon, LLC. All Rights Reserved.
Modal Windows
• Property class = WINDOW_DIALOG
• Center window using
APP_WINDOW.SET_WINDOW_POSITION
• Explicitly write code to close the window
• Code OK and Cancel buttons in advance
• Use dialog blocks with property class =
BLOCK_DIALOG
• Disable key triggers
18
© 2003 Solution Beacon, LLC. All Rights Reserved.
Non-Modal Windows
• Property class = WINDOW
• Each window should contain one logical entity
• Do not attach scroll bars to windows
• Size between 2”x2” and 7.8”w x 5.0”h
• Size only as large as necessary
• No text on top and bottom lines
• Blank left and right edge character cell except for
boundary lines
• Unique title for each window in a form
19
© 2003 Solution Beacon, LLC. All Rights Reserved.
Canvases
Module
Libraries
Triggers
Windows
Canvases Basics
Data Blocks Ruler
Layout
Add’l Code
20
© 2003 Solution Beacon, LLC. All Rights Reserved.
Canvas - Basics
• Property class = CANVAS, TAB_CANVAS or
CANVAS_STACKED
21
© 2003 Solution Beacon, LLC. All Rights Reserved.
Canvas - Ruler
• Ruler Settings
22
© 2003 Solution Beacon, LLC. All Rights Reserved.
Data Blocks
Module
Libraries
Triggers
Windows
Canvases
Data Blocks Basics
Layout Items
Add’l Code ADA Items
23
© 2003 Solution Beacon, LLC. All Rights Reserved.
Data Blocks - Basics
• Base data blocks on views, not tables
• Navigation style:
• One block: Current Record
• More blocks: Next Block
24
© 2003 Solution Beacon, LLC. All Rights Reserved.
Data Block - Items
• Enable the calendar for every date field
ENABLE_LIST_LAMP
Call calendar_show from KEY-LISTVAL
• Control valid dates
• Validate from List = Yes for items with LOVs
• Maximum size = size of database column
• Check boxes always have a default value
• Buttons belong to the block in which they appear to
sit.
• Base LOVs on views
25
© 2003 Solution Beacon, LLC. All Rights Reserved.
Data Block - Items
Compliance with American Disabilities Act
26
© 2003 Solution Beacon, LLC. All Rights Reserved.
Layout
Module
Libraries
Triggers
Windows
Canvases
Data Blocks Regions
Layout Tabs
Add’l Code Items
27
© 2003 Solution Beacon, LLC. All Rights Reserved.
Layout - Regions
Stacked
Alignment
Coordination
Check Box
Scroll Bar
Current
Record
Indicator
Region Frame
28
© 2003 Solution Beacon, LLC. All Rights Reserved.
Layout - Tabs
• Tab Pages
One
Line
1 character cell
29
© 2003 Solution Beacon, LLC. All Rights Reserved.
Layout - Items
• Items
• The leftmost button in the window should be the
default unless it is a help button.
• Allow 30% additional text space for language
translation
• Set alignment to start
• Tabbed regions
• One character space between fixed and alternating
regions
• Place coordination check box outside the tabbed
region
• Navigation: Left to right, top to bottom
30
© 2003 Solution Beacon, LLC. All Rights Reserved.
Additional Code
Module
Libraries
Triggers
Windows
Canvases
Data Blocks
Layout
Add’l Code Use program units!
31
© 2003 Solution Beacon, LLC. All Rights Reserved.
Other Sources of Information
• Oracle Applications User Interface Standards for
Forms-Based Products
32
© 2003 Solution Beacon, LLC. All Rights Reserved.
Summary
• Start with TEMPLATE.fmb
• Make it pretty!
33
© 2003 Solution Beacon, LLC. All Rights Reserved.
Thank you!
If you have any questions or comments please contact me:
www.solutionbeacon.com
34
© 2003 Solution Beacon, LLC. All Rights Reserved.