variations of module generation manual, semi-automatic, automatic
TRANSCRIPT
Variations of Module Generation
Manual, Semi-Automatic, Automatic
Create a First-Cut Design Manually
1. Set display properties.
2. Create a module.
3. Create module components.
4. Create module data usages.
5. Link data usages.
6. Generate and run the form.
Display Display propertiesproperties
DefinitionDefinitionpropertiesproperties
XX
Action Edit Block Field
++Copies
XX
Action Edit Block Field
++Customers:
Types of Column Property
Other DB
NameData typeOptionality . . .
Display TypeDisplay SequenceLength . . .
• Set display properties Set display properties beforebefore creating modules creating modules
Column Display Properties
• Provide defaults for how modules use the column
• Promote standards• Save time
Where to Set Display Properties
Default Display
Help
Column Properties
Hint
Help Text
Default Display Type
Alignment
Display Length
Display Height
Display Sequence
Format Mask
Prompt
Many Display Properties Also Appear in Dialogs
MON-DD-YYY
Create a Module
Create and Edit Modules
Module Application Guide
Module Wizard
Module Component Data Wizard
OrTools Module App Guide
Radio button
Create a Module Component
ModulesACC0010
Module Component Data Wizard
Options Run WindowTools
. . .. . .
Design EditorDesign Editor
Module Component Data Wizard
Link Module Components• Table usages
must exist.
• A foreign key must exist.
• You must link base table usages.
• You can turn linked base table usages into lookup usages.
Data ViewData View
Setting Generator Options• Use the Generator Options screen
for automatic compile and run:
Customize...
Generator Options
Forms Design Rec...
. . .. . .Window HelpOptions
. . .. . .
Forms...Reports...Graphics...
Destination Directory,Run automatically,etc.
Generate and Run1. Start the generation
2. Watch the messages
Generating the binary...Generating the executable...
3. Save or revert changes
Generation complete.You can save, revert, . . .
xGenerate Form
Start
Start
There may be questions
Create a First-Cut Design Semi-Automatically
1. Set display properties.
2. Create a module.
3. Link the module to a function.
4. Run the Create Module Data Usages utility.
5. Generate default links.
6. Generate and run the form.
An alternative to running ADT. This starts in the RON not the DE.
Create a Module in the RONHOLLYWOOD(1): NavigatorHOLLYWOOD(1): Navigator
++
HOLLYWOOD (1)
Module Design
Modules+
-+-
. . .
…
Create Object
HOLLYWOOD(1): Module PropertiesHOLLYWOOD(1): Module Properties
+
Short Name
Purpose
Module Type
REN0040
Default
Rent a video
Assumptions
• System and Data analysis performed.
• Data usages mapped• DDT has been run• Column display set
Link Module to Business Functions
. . .- REN 0040
- Usages
Implementing Business Functions
. . .
+f
Create Association
Create Module Function Usages
Business function 2
Business function 3
Business function 1
OK
Business function 1
Link Module to Business Functions
. . .REN 0040
- Usages
Implementing Business Functions
. . .
-Business Function1
. . .
-
. . .
Create Default Module Data Usages
. . .Utilities
Create Function Attribute Matrix
Map unbound items
Run the Default Module Data Usages Utility
Client Server
InitializingCreating Module Components and Table usages...Creating Data Bound Items...Creating Argument Item usages…Creating Module Table usages...Creating Module Column usages...Generate data usages has completed successfully.
100%
LANGUAGE property of module must be defined
Run the Default Module Data Usages Utility
MKT0070FArgumentsWindows
Module ComponentsCATALOGSPUBLICATIONSREVIEWS
Generate Default LinksParent Link
ITEMS
Generate Default Links...
Find Second ParentAllow Foreign Keys Against...
Parent linkParent Link
ITEMS
ORDERS
Generate Default LinksFind Second Parent
CUSTOMERS
Generate Default Links...
Find Second ParentAllow Foreign Keys Against...
Parent linkParent Link
MEMBERSHIPS
ORDERS
ITEMS
ORDERS
ITEMS
Generate Default LinksAllow Foreign Keys
CUSTOMERS
Generate Default Links...
Find Second ParentAllow Foreign Keys Against Master Components..
Parent linkParent Link
This is rare. Was not working in early releases.
Create a First-Cut Design Automatically
1. Set the display properties.
2. Run the Application Design Transformer.
3. Accept candidate modules.
4. Generate default links.
5. Generate and run the form.
Application Design Transformer
FHDFHD
ModuleModule
Application Design TransformerApplication Design Transformer
Identical Entities. . .. . .
ModulesGenerate Options
Module Options
Merge Granularity
Then Generate Default Links