Development Tools Part 1 Activity Guide
Development Tools Part 1 Activity Guide
Rel 8.96
Activity Guide
CONTENTS
iii
JD Edwards EnterpriseOne Development Tools 8.96 Part 1 Contents
iv
Preface
JD Edwards EnterpriseOne
Development Tools 8.96 Part 1
• Typographical conventions.
• Visual cues.
• Currency codes.
Typographical Conventions
This table contains the typographical conventions that are used in this guide:
Visual Cues
Training courses contain the following visual cues.
v
JD Edwards EnterpriseOne Development Tools 8.96 Part 1 Preface
Notes
Notes indicate information that you should pay particular attention to as you work with
the JD Edwards EnterpriseOne system from Oracle.
If the note is preceded by Important!, the note is crucial and includes information that
concerns what you must do for the system to function properly.
Warnings
Warnings indicate crucial configuration considerations. Pay close attention to warning
messages.
Cross-References
Training guides provide cross-references either under the heading “See Also” or on a
separate line preceded by the word See. Cross-references lead to other documents, such
as implementation guides, that are pertinent to the immediately preceding documentation.
Example:
Country Identifiers
Countries are identified with the International Organization for Standardization (ISO)
country code. The following country identifiers appear in this guide:
• JPN (Japan)
Region Identifiers
Regions are identified by the region name. The following region identifiers appear in this
guide:
vi
Preface JD Edwards EnterpriseOne Development Tools 8.96 Part 1
• Asia Pacific
• Europe
• Latin America
• North America
Industry Identifiers
Industries are identified by the industry name or by an abbreviation for that industry. The
following industry identifiers appear in this guide:
Currency Codes
Monetary amounts are identified by the ISO currency code. The following currency code
appears in this guide: USD (U.S. dollars).
The following resources are located on the Oracle’s PeopleSoft Customer Connection
website:
Resource Navigation
Application maintenance information Updates + Fixes
Business process diagrams Support, Documentation, Business Process Maps
Hardware and software requirements Implement, Optimize + Upgrade, Implementation
Guide, Implementation Documentation & Software,
Hardware/Software Requirements
Installation guides Implement, Optimize + Upgrade, Implementation
Guide, Implementation Documentation & Software,
Installation Guides and Notes
Integration information Implement, Optimize + Upgrade, Implementation
Guide, Implementation Documentation and
Software, Pre-Built Integrations for PeopleSoft
Enterprise and JD Edwards EnterpriseOne
Applications
Interactive Services Repository Interactive Services Repository
vii
JD Edwards EnterpriseOne Development Tools 8.96 Part 1 Preface
Resource Navigation
Minimum technical requirements (MTRs) Implement, Optimize + Upgrade, Implementation
(JD Edwards EnterpriseOne only) Guide, Supported Platforms
viii
Lesson 1
Course Overview
This lesson has no activities.
1
Course Overview Lesson 1
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
2
Lesson 2
Technology Overview
This lesson has no activities.
3
Technology Overview Lesson 2
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
4
Lesson 3
5
Identifying the Development Foundation Lesson 3
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
6
Lesson 4
7
Describing the Change Management System Lesson 4
• View attachments.
Slide 52 _______________________________________________________________________________________________________
Activity Overview
You have been asked to create an interactive application similar to the Address Book
(P01012) application. In preparation for this custom development, you need to research
how the P01012 application was designed. Move the P01012 application into the default
project, enter design, and review the business view and event rules that are attached.
You will also need a project in which to add objects that are required for the custom
application. In Object Management Workbench, add a project, include DEMO as a
developer on the project, and advance the project to the programming status in
preparation for developing a custom application.
8
Lesson 4 Describing the Change Management System
3. Move the P01012 - Address Book application into the default project by clicking the
Add Object or User to the Project arrow.
Note. Notice that if you focus on the project name when you move an object into the
project, the project collapses. You have to expand the project to view the objects. If you
focus on the Objects node when you move an object into the project, the project remains
expanded.
2. Click the Design button, and select the Design Tools tab.
Note. The system displays a warning that the object is not currently checked out. Click
Yes to continue; the system launches Form Design Aid.
Start Design takes you directly into the appropriate design tool.
9
Describing the Change Management System Lesson 4
2. Use the right-pointing arrow to move the object out of the project.
1. Add projects.
3. Advance projects.
Adding Projects
To add projects:
The Status field is already populated with an 11 and is unavailable for input. The system
administrator defines this beginning project status in the Object Management
Configuration application.
Note. Your company might choose to begin a project at the New Project/Pending Review
status, which allows for a request to be reviewed determining whether the modification or
addition is important to the company.
10
Lesson 4 Describing the Change Management System
The SAR Number field is also unavailable for input. This field is available only if you are
integrated with the JD Edwards SAR system. Again, this integration is defined by the
system administrator in the Object Management Configuration application. This is an
internal only integration feature not supported for customer use.
The system populates the Date Started field with the date that the project is created; this
date might not be the actual date that development begins on the project. You can change
this field if needed.
The Date Entered field is unavailable for input. This value comes from the system and
reflects the date that the project is created.
The Completion Date field is also unavailable for input. The system populates this field
when the project advances through the development cycle and reaches the 01 -
completion status.
Tab Description
Category Codes Enable you to further categorize your development
projects. Your company defines these codes.
5. Select the Attachments tab and enter: The purpose of this project is to demonstrate
Object Management Workbench.
6. Click OK.
Your user ID is the default value for the originator user role on this project. The
Object Management Configuration application defines the user role that is assigned
to a new project. Ensure that you add yourself as a developer on a project before you
make any modifications to objects.
If you need multiple people to work on a project, you can add multiple developers.
The system allows you to designate one of these developers as a lead.
11
Describing the Change Management System Lesson 4
2. To add another user to the project as a developer, select the Owners node of the new
Project Demonstration project and enter the following information on the Search tab:
3. Select the user ID and move it into the project using the Add Object or User to the
Project arrow.
4. On the Add User to Project form, select developer as the user role: 02.
5. Expand the Owners folder to show the new user displayed in the list.
Important! To keep users from adding themselves in a project in any user role, you must
apply security to either the User Role table or the Add User to Project form. We will
discuss security during the Object Management Configuration portion of the class.
6. To return to the project information, select the project name and click Select.
Advancing Projects
Before you can do any development, you must advance the project status.
To advance projects:
1. Select the Objects node of the Project Demonstration project, and enter the following
information on the Search tab:
2. Move the P01012 - Address Book application into the project using the Add Object
or User to the Project arrow at the bottom of the action buttons.
12
Lesson 4 Describing the Change Management System
Question Answer
What is meant when the object’s icon is gray?
4. Try to move the P01012 - Address Book application into the project again from the
Search tab.
Note. A Release Search and Select form appears. This form appears only if the object
is already included in the project. The system assumes that if it already exists in the
project, you must want to modify the object for a different release. This form enables
you to choose a different release if you are maintaining JD Edwards EnterpriseOne
objects in more than one release
5. Search for and move the P4210 - Sales Order Entry application into the Project
Demonstration project.
6. Expand the Objects node to show the new objects displayed in the list.
7. Click the P4210 application and click the Check Out button.
8. Click the P01012 application and click the Check Out button.
Question Answer
What is meant when an object’s icon is colorful
and includes a red check mark?
The Status tab also reveals that the object is checked out and that the project holds
the token.
11. Click the P01012 application and click the Design button.
Tab Description
Summary Displays the general information that was entered
when the object was created. The object name and
object type cannot be modified.
13
Describing the Change Management System Lesson 4
Tab Description
Design Tools Includes links to all of the tools that are necessary for
creating or modifying the related object. Because this
object is an application, we have access to:
Form Design Aid
Browse Event Rules
Run HTML Application
Vocabulary Overrides
View Forms
Visual ER Compare
Versions List
Category Codes Includes fields to further categorize the newly
created or modified object.
Install/Merge Codes Includes information relating to installing, setting up,
and deploying the object.
Attachments Enables the developer to attach text documenting the
creation or modification of the object. You can
attach:
Text
Shortcuts
Files
URLs
12. On the Attachments tab, enter: The ZJDE7001 version of the P01012 Address Book
object requires that the processing option be set to display the CSMS form.
1. On the Design Tools tab, click the Version List button to launch the Work With
Interactive Versions application.
2. Use the query by example (QBE) line to locate the ZJDE7001 version with the title
of Localization Address Book-Protected Tax ID.
5. Click OK.
14
Lesson 4 Describing the Change Management System
7. On the Entry tab of the processing option, enter 1 in the Customer Master field.
8. Click OK.
1. On the Design Tools tab, click the Run HTML Application button.
1. Check in objects.
Checking In Objects
To check in objects:
If a project contains multiple objects, you can check in all of the objects at once by
selecting the project name and clicking Check In.
Question Answer
Why is the icon still colorful?
1. Create a new project, and enter the following information on the Summary tab:
15
Describing the Change Management System Lesson 4
4. Add the DEMO user ID to the project by clicking the Add Object or User to the
Project arrow.
5. On the Add User to Project form, use the visual assist to select the developer role.
1. On the Search tab, locate the P01012 application and move it into the Token
Demonstration project.
Question Answer
The icon is gray with a dark check mark included
with it. What does this mean?
A dialog box prompts you to either queue up for the token or inherit the token.
16
Lesson 4 Describing the Change Management System
1. On the Token Not Available for Project form, select to queue up for the token.
Also you can select Token Queue from the Row menu.
On View Object’s Token Queue, you can see what position you are in the queue. The
project with the check mark currently holds the token. This queue is a first-in, first-
out queue.
Important! If you move an object into a project, select to queue up for the token,
and then decide that you do not need to modify the object, you can remove the object
from the project. Removing the object from the project also removes the project from
the token queue.
6. Use the Remove Object or User from the Project arrow under the action buttons to
remove the object from the project.
9. Verify that the Token Demonstration project is no longer waiting for the token.
2. Click the Release Token button to manually release the token for this object.
4. Review the News/Status tab to see that the object is no longer checked out.
Viewing Attachments
To view attachments:
17
Describing the Change Management System Lesson 4
3. From the Row menu, select Attachments to view the attachments for this project.
4. Select the P01012 Address Book object in the Project Demonstration project.
5. From the Row menu, select Attachments to view the attachments for this object.
2. Review logs.
Note. The action button to advance the project is no longer visible because, if you are
a developer, the system allows actions only at the programming status: 21. The
developer is not allowed any actions at other statuses. Allowed actions are defined by
the system administrator in the Object Management Configuration application
6. Add Demo to the project in the PVC Administrator role using the Search tab:
Question Answer
Notice that you now have a new action button for
Switch Token. Why does it appear now?
18
Lesson 4 Describing the Change Management System
Question Answer
The appearance of the icon has changed. Why?
10. Finish the development cycle by advancing the project to status 01.
12. Change the status filter field to display projects that are currently at status: 01 -
Complete.
Reviewing Logs
To review logs:
For example, on Friday afternoon you have made substantial modifications to your
application but it is not complete or ready to check in. You can save the application to a
predefined location, as defined by the system administrator in the Object Management
Configuration application.
On Monday morning, you use the Restore action button to restore the saved object
specifications to your workstation.
19
Describing the Change Management System Lesson 4
A Save Location must be set up in the JD Edwards EnterpriseOne system and then
configured in the Object Management Configuration application.
This function is useful if you want to view the changes that another developer made to
the object since you last used it.
If you perform a Get and make any modifications to the object, the modifications cannot
be checked in because you never checked out the object.
Get copies the specifications from the same location as checkout based on the Activity
Rules defined for the status of the project.
Non Object Librarian objects reside in a data source; Object Librarian objects reside in a
path code.
Action Description
Delete Object from the Server This option deletes object specifications
from the central object checkout location
based on the activity rules defined for the
project status.
Delete Object from the Save Location This option deletes object specifications
from the save location.
Mark Object to be Deleted from Transfer Location The system displays the object in boldface
type in the project window. It is marked for
deletion from the transfer location. The
system will delete it when a transfer status
change occurs.
Remove Object from All Locations This option deletes from all the preceding
locations. The project must be promoted
through the development cycle to remove
the object from all central object path
codes.
20
Lesson 4 Describing the Change Management System
When you want to remove an object from a project, click on the object and then click the
Remove Object or User from the Project arrow at the bottom of the action buttons. This
removes the object from the list of objects to be modified; all object specifications remain
intact.
21
Describing the Change Management System Lesson 4
Slide 53 _______________________________________________________________________________________________________
Activity Overview
You need two projects in which to add objects that are required for custom applications.
In Object Management Workbench:
• Advance the projects to the programming status in preparation for developing custom
applications.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Project Names:
Name Description
TRN1003 Class Address Book
TRN2003 Class Item Master
22
Lesson 4 Describing the Change Management System
1. Create a project.
Creating a Project
To create a project:
1. In Solution Explorer, from the Tools menu, select Object Management Workbench.
3. On the Add Object to the Project form, select OMW Project in the Object
Management Workbench group box.
6. On the Attachments tab, enter This project was created to add the Class Address
Book application.
Note. Do not make any entries on the Category Codes tab. These codes are used to
further categorize development and modification of objects.
23
Describing the Change Management System Lesson 4
3. Select the DEMO user ID and move it into the project using the Add Object or User
to the Project arrow.
4. On the Add User to Project form, select the developer user role.
1. Create a project.
Creating a Project
To create a project:
1. In Solution Explorer, from the Tools menu, select Object Management Workbench.
3. On the Add Object to the Project form, select OMW Project in the Object
Management Workbench group box.
24
Lesson 4 Describing the Change Management System
6. On the Attachments tab, enter This project was created to add the Class Item Master
application.
Note. Do not make any entries on the Category Codes tab. These codes are used to
further categorize development and modification of objects.
3. Select the DEMO user ID and move it into the project using the Add Object or User
to the Project arrow.
4. On the Add User to Project form, select the developer user role.
25
Describing the Change Management System Lesson 4
26
Lesson 5
27
Creating User Defined Codes and Next Numbers Lesson 5
Activity 3: Creating User Defined Codes for the Class Address Book
In this activity, you will review the activity overview and create the 55|RE UDC.
Slide 64 _______________________________________________________________________________________________________
Activity Overview
The Class Address Book application requires a user-defined code to indicate the valid
values for the region in which an employee, a supplier, or a customer is located. The
codes should represent the following regions:
• Central
• Northeast
• Northwest
• Southeast
• Southwest
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
UDC:
Name Description
RE Region
2. Click the Objects node of the Class Address Book project and click Add.
4. On the User Defined Code Types form, enter the following information:
28
Lesson 5 Creating User Defined Codes and Next Numbers
5. Click OK.
8. Click OK.
Results
55|RE – Region now appears with a UDC icon under the Objects node of the Class
Address Book project.
29
Creating User Defined Codes and Next Numbers Lesson 5
Activity 4: Creating User Defined Codes for the Class Item Master
In this activity, you will review the activity overview and create the 56|PN UDC.
Slide 65 _______________________________________________________________________________________________________
Activity Overview
The Item Master application requires a user defined code to indicate the valid values for
the manner in which a product is stored. The codes should represent the following storage
options:
• Perishable
• Non-perishable
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
UDC:
Name Description
PN Storage Type
30
Lesson 5 Creating User Defined Codes and Next Numbers
1. Click the Objects node of the Class Item Master project and click Add.
3. On the User Defined Code Types form, enter the following information:
4. Click OK.
Question Answer
User defined codes provide a structure to ensure
what?
Explain why you would create a custom list of user
defined code values.
Results
56|PN – Region now appears with a UDC icon under the Objects node of the Class Item
Master project.
31
Creating User Defined Codes and Next Numbers Lesson 5
Activity 5: Creating a Next Numbers Table for the Class Address Book
In this activity, you will review the activity overview and create next numbers for the
Class Address Book.
Slide 69 _______________________________________________________________________________________________________
Activity Overview
Create a next numbers table for the address number in the Class Address Book
application. Since it is likely that a transposition error might occur during data entry,
define the system to use check digits.
Because subsequent activities are dependent on this activity, you must use the following
information:
Next Numbers:
2. On the Work With Next Numbers form, verify that no entries exist for system code
55.
Note. For the system to automatically assign a number for each Address Book record that
you enter, you need to create a table for system 55 and then add Address Number as an
index in that table.
4. On the Set Up Next Numbers by System form, enter the following information:
32
Lesson 5 Creating User Defined Codes and Next Numbers
33
Creating User Defined Codes and Next Numbers Lesson 5
Activity 6: Creating a Next Numbers Table for the Class Item Master
In this activity, you will review the activity overview and create next numbers for the
Class Item Master.
Slide 70 _______________________________________________________________________________________________________
Activity Overview
Create a next numbers table for the item number in the Class Item Master application.
There is no need for the system to check digits.
Because subsequent activities are dependent on this activity, you must use the following
information:
Next Numbers:
34
Lesson 5 Creating User Defined Codes and Next Numbers
2. On the Work With Next Numbers form, verify that no entries exist for system code
56.
Note. For the system to automatically assign a number for each Item Master record that
you enter, you need to create a table for system 56 and then add Item Number as an index
in that table.
4. On the Set Up Next Numbers by System form, enter the following information:
Important! Do not change any next numbers after you start using the applications. Do
not change the sequence of the next numbers in the table.
35
Creating User Defined Codes and Next Numbers Lesson 5
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
36
Lesson 6
37
Creating and Modifying Data Items Lesson 6
Slide 83 _______________________________________________________________________________________________________
Activity Overview
Before you create new data items for an application, you should determine whether an
existing data item meets your specifications. The Class Address Book application
requires these data items:
• Address number
The Address Book system requires that a data item be used to indicate whether an
employee, supplier, or customer is considered active or inactive. You must create an
Address Book Status data item to fulfill this need.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
The following data items can be copied and modified to meet the stated business need.
38
Lesson 6 Creating and Modifying Data Items
1. From the EnterpriseOne Life Cycle Tools task view in Solution Explorer, select
Application Development, Data Dictionary Design, Work With Data Dictionary
Items.
2. On the Work With Data Items form, enter SASAL on the Alias QBE line and click
Find.
4. Modify the Data Item and Alias fields to append 00 to the name and alias as
indicated:
5. Click OK.
6. Follow the same steps to copy and rename these data items:
Note. The copied and renamed data items appear in the default project.
3. Drag these data items from the default project into the Class Address Book project:
Alias Description
SASAL00 Monthly Salary
SAAN8A00 Address Number
SAAC0100 Sample Application - Category Code
39
Creating and Modifying Data Items Lesson 6
2. Click the SASAL00 data item and click the Design action button.
40
Lesson 6 Creating and Modifying Data Items
1. Click the SAAN8A00 data item and click the Design action button.
41
Creating and Modifying Data Items Lesson 6
1. Click the SAAC0100 data item and click the Design action button.
42
Lesson 6 Creating and Modifying Data Items
Product Code 55
Record Type RE
Display Rule No Display Rule
Next Number No Next Numbering
Results
• Class Address Book project:
• The only change for data item SASAL00 is to add glossary text.
Note. The message box asks you if you want to create a glossary data item. The answer is
no, you want to create a regular primary data elements data item.
43
Creating and Modifying Data Items Lesson 6
44
Lesson 6 Creating and Modifying Data Items
Slide 84 _______________________________________________________________________________________________________
Activity Overview
The Class Item Master application must have a data item for a code that specifies whether
an inventory item is perishable or non-perishable. This data item requires an associated
UDC.
Then research the system to ensure that all of the rest of the data items required for
development already exist. You can use either:
• The Work With Data Dictionary Items selection on the Data Dictionary Design menu
in Solution Explorer.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
45
Creating and Modifying Data Items Lesson 6
Note. The copied and renamed data items appear in the default project.
3. Drag this data item from the default project into the Class Item Master project:
Alias Description
SAITMS00 Item Storage
2. Click the SAITMS00 data item and click the Design action button.
46
Lesson 6 Creating and Modifying Data Items
Results
Change the Edit Rule for SAITMS00 to UDC 56|PN.
2. Referencing the table in step 3, enter each alias name in the alias name field of the
QBE line and click Find.
3. Write the data item name next to the corresponding alias in the table:
47
Creating and Modifying Data Items Lesson 6
48
Lesson 7
49
Creating Custom Tables Lesson 7
Slide 98 _______________________________________________________________________________________________________
Activity Overview
The Class Address Book application requires custom tables to be created. Each record in
the Class Address Book can have more than one phone number associated with it. A
customer might have a business number, a home number, and a fax number. To ensure
that the right records are associated from both tables, create the appropriate primary
indices.
It has been determined that two tables are needed and should include the following data
items:
Table One:
• SAAN8A00
• SAAT1
• SAALPH
• SAADD2
• SAADD3
• SACTY1
• SAADDS
• SAADDZ
• SASTAT00
• SACTR
• SAAC0100
• SASAL00
• USER
• PID
• UPMJ
• JOBN
50
Lesson 7 Creating Custom Tables
• UPMT
• SAAddressNumberA00
Table Two:
• SAAN8A00
• SALNID
• SAAR1
• SAPH1
• SAPHTP
• USER
• PID
• UPMJ
• JOBN
• UPMT
• SAAddressNumberA00
• LineNumber
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Name Description
F550100 Class Address Book Master
F551500 Class Phones
2. Create tables.
51
Creating Custom Tables Lesson 7
4. Generate tables.
1. Select the Objects node in the Class Address Book project and click Add.
Creating Tables
To create tables:
1. Access the Design Tools tab and click Start Table Design Aid.
3. Use the Data Dictionary browser to search for the following data items and move
them to the Columns form:
52
Lesson 7 Creating Custom Tables
1. From the Columns form, drag SAAddressNumberA00 to the Indices form and drop it
onto the Class Address Book Master icon.
Note. The index is marked with the letter P to indicate that it is the primary index.
Generating Tables
To generate tables:
Note. Verify that the data source is Business Data Local and that the password is the
same as the object owner ID.
4. Click OK.
2. Create tables.
4. Generate tables.
1. Select the Objects node in the Class Address Book project and click Add.
53
Creating Custom Tables Lesson 7
4. Access the Design Tools tab and click Start Table Design Aid.
Creating Tables
To create tables:
1. Access the Design Tools tab and click Start Table Design Aid.
3. Use the Data Dictionary browser to search for the following data items and move
them to the Columns form:
1. Drag SAAddressNumberA00 the Indices form and drop it onto the Class Phones
icon.
2. Drag SALineNumber to the Indices form and drop it onto the Untitled icon.
54
Lesson 7 Creating Custom Tables
Note. The index is marked with the letter P to indicate that it is the primary index.
Generating Tables
To generate tables:
Note. Verify that the data source is Business Data Local and that the password is the
same as the object owner ID.
4. Click OK.
55
Creating Custom Tables Lesson 7
Slide 99 _______________________________________________________________________________________________________
Activity Overview
The Class Item Master application requires a custom table to be created. Create the
appropriate primary index.
It has been determined that the following data items are required in the table:
• SAITM
• SADSC1
• SADSC2
• SAAN8A00
• SATYPE
• SAPREQ
• SAUOM1
• SAPRRC
• SAPQOH
• SAROP
• SAITMS00
• USER
• PID
• UPMJ
• JOBN
• UPMT
• SAItemNumber
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
56
Lesson 7 Creating Custom Tables
Name Description
F560100 Class Item Master
57
Creating Custom Tables Lesson 7
2. Create tables.
4. Generate tables.
1. Select the Objects node in the Class Item Master project and click Add.
4. Access the Design Tools tab and click Start Table Design Aid.
Creating Tables
To create tables:
2. Use the Data Dictionary browser to search for the following data items and move
them to the Columns form:
58
Lesson 7 Creating Custom Tables
1. Drag SAItemNumber to the Indices form and drop it onto the Class Item Master icon.
Generating Tables
To generate tables:
Note. Verify that the data source is Business Data Local and that the password is the
same as the object owner ID.
4. Click OK.
59
Creating Custom Tables Lesson 7
Activity Overview
Use the Universal Table Browser to locate the tables that were created in the previous
activities: F550100, F551500 and F560100.
60
Lesson 7 Creating Custom Tables
1. Access Universal Table Browser from the EnterpriseOne Life Cycle Tools task view.
Accessing Universal Table Browser from the EnterpriseOne Life Cycle Tools Task View
To access Universal Table Browser from the EnterpriseOne Life Cycle Tools task view:
1. On the Table and Data Source Selection dialog box, enter the following information:
2. Click OK.
61
Creating Custom Tables Lesson 7
Activity Overview
Use the Data Browser to locate the tables that were created in the previous activities:
F550100, F551500 and F560100.
62
Lesson 7 Creating Custom Tables
Note. Accessing EnterpriseOne Menu from Solution Explorer accesses the H4A, or local
web client. In a real-life environment you would want to sign onto the web client. This
training environment is standalone and does not include a web server.
6. Tab into the Data Source field, verify that the system displays Business Data Local,
and then click OK.
If you had data in this table, you could filter the data and display only the records that
you wanted to review.
You can use the up and down arrows in the column headings to sort the data.
63
Creating Custom Tables Lesson 7
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
64
Lesson 8
65
Creating Business Views Lesson 8
Activity 13: Creating Business Views for the Class Address Book
In this activity, you will review the activity overview and:
Activity Overview
You need business views to access each of the tables that you created for the Class
Address Book application. Create three business views over the custom tables to use in
designing the Class Address Book application.
Since these are not text search business views, you can close the two data structure forms
in Business View Design Aid and retile the forms.
It has been determined that the following data items are required in the business views:
Business View 1:
Business View 2:
• SAAN8A00
• SAAT1
• SAALPH
Business View 3:
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Name Description
V550100A Class Address Book – All Columns
V550100S Class Address Book Search & Select
V551500A Class Phones – All Columns
66
Lesson 8 Creating Business Views
4. Access the Design Tools tab and click Start the Business View Design Aid.
Note. Close the Available GT and Selected GT forms. These forms are used in
conjunction with media objects and the work center.
3. On the Available Tables form, enter F550100 in the QBE Object Name field.
5. Focus on the table in the Table Joins form and click Select All Columns from the
Table menu.
6. Save the business view and exit Business View Design Aid.
67
Creating Business Views Lesson 8
Results
The V550100A– Class Address Book – All Columns business view appears as an object
under the Class Address Book project.
4. Access the Design Tools tab and click Start the Business View Design Aid.
1. Enter F550100 in the QBE Object Name field in the Available Tables form.
3. On the Table Joins form, double-click these data items to move them to the Selected
Columns form:
• SASearchType (SAAT1)
• SAAlphName (SAALPH)
5. Save the business view and exit Business View Design Aid.
Results
You should have the following three data items listed in the Selected Columns form:
68
Lesson 8 Creating Business Views
Alias Name
SAAN8A00 Address Number00
SAAT1 Sample Applications – Search Type
SAALPH Sample Application – Alpha Name
The V550100S– Class Address Book Search and Select business view appears as an
object under the Class Address Book project.
4. Access the Design Tools tab and click Start the Business View Design Aid.
1. Enter F551500 in the QBE Object Name field in the Available Tables form.
3. Focus on the table in the Table Joins form and click Select All Columns from the
Table menu.
4. Save the business view and exit Business View Design Aid.
69
Creating Business Views Lesson 8
Results
The V551500A– Class Address Book – All Columns business view appears as an object
under the Class Address Book project.
70
Lesson 8 Creating Business Views
Activity 14: Creating Business Views for the Class Item Master
In this activity, you will review the activity overview and create business view
V560100A.
Activity Overview
You need a business view to access the custom table that you created for the Class Item
Master application. Create a business view to use in designing the Class Item Master
application.
Since this is not a text search business view, you can close the two data structure forms in
Business View Design Aid and retile the forms.
It has been determined that all fields from the F560100 table are required in the business
view.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Name Description
V560100A Class Item Master – All Columns
71
Creating Business Views Lesson 8
4. Access the Design Tools tab and click Start the Business View Design Aid.
1. Enter F560100 in the QBE Object Name field in the Available Tables form.
3. Focus on the table in the Table Joins form and click Select All Columns from the
Table menu.
4. Save the business view and exit Business View Design Aid.
Results
The V560100A – Class Address Book – All Columns business view appears as an object
under the Class Address Book project.
72
Lesson 9
73
Describing Form Design Aid Lesson 9
Activity Overview
This activity is a series of questions that will reinforce what you have learned regarding
form types. One of the most challenging aspects of form design is determining which
type of form to create for an application. You need to understand the available form
types, because each form has characteristics that facilitate different tasks.
Question Answer
To add a new record to a table, which type of form
would you use?
You are adding a new record to a table, but the form
you are using does not have a grid. Which type of
form is it?
Which type of form do you use to locate a record in a
table?
To delete more than one detail record from the same
form, which form would you use?
Which form would you use to locate a value and
return it to the search field?
Use this type of form to display a request or action
from the user:
Which type of form has a tree format?
What is the primary difference between a headerless
detail and a header detail form?
Which type of form is the initial entry point to an
application?
Which is the only form type that has more than one
business view?
74
Lesson 9 Describing Form Design Aid
Example One
Question Answer
What type of form is example one?
Identify one characteristic of this form.
Example Two
75
Describing Form Design Aid Lesson 9
Question Answer
What type of form is example two?
Identify one characteristic of this form.
Example Three
Question Answer
What type of form is example three?
Identify one characteristic of this form.
76
Lesson 9 Describing Form Design Aid
Example Four
Question Answer
What type of form is example four?
Identify one characteristic of this form.
Example Five
Question Answer
What type of form is example five?
Identify one characteristic of this form.
77
Describing Form Design Aid Lesson 9
Example Six
Question Answer
What type of form is example six?
Identify one characteristic of this form.
Example Seven
Question Answer
What type of form is example seven?
Identify one characteristic of this form.
78
Lesson 10
79
Creating Custom Applications Lesson 10
Activity Overview
You are ready to begin creating the Class Address Book application. You need to create a
find/browse form and a fix/inspect form to begin the application design. You will add
controls on forms, grids, and tabs to add functionality to the application. You will also
need menu and toolbar exits for the application.
The interactive application should be created in the Class Address Book project.
It has been determined that the following controls are required on the find/browse form:
• SAAT1
• SAALPH
It has been determined that the following controls are required in the grid of the
find/browse form:
• SAAN8A00
• SAAT1
• SAALPH
• SACTY1
• SAAC0100
It has been determined that the following controls are required on the fix/inspect form:
• SAAN8A00
• SAALPH
• SAAT1
It has been determined that the following controls are required on the Address tab of the
fix/inspect form:
• SAADD2
• SAADD3
80
Lesson 10 Creating Custom Applications
• SACTY1
• SAADDS
• SAADDZ
• SACTR
• SAAC0100
It has been determined that the following controls are required on the Employee tab of
the fix/inspect form:
• SASAL00
When the forms are complete, enter data into the application. Enter the following record
and then verify using UTB that the record exists in the table:
After validating that the F550100 table is being updated by the application, add a
minimum of:
• Three customers
• Three employees
• Three suppliers
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Interactive Application:
Name Description
P550100 Class Address Book
Forms:
81
Creating Custom Applications Lesson 10
4. Select the Design Tools tab and click Start Form Design Aid.
6. Enter the following information for the form properties and click OK:
82
Lesson 10 Creating Custom Applications
1. From the Form menu, select Business View, Add Business View.
2. Use the QBE line to search for and select the V550100A business view.
3. Add Alpha Name as a form control, positioning it below the Search Type control.
Results
Your find/browse form should look as follows:
1. Modify controls.
2. Align controls.
3. Associate a description.
83
Creating Custom Applications Lesson 10
Modifying Controls
To modify controls:
5. Select the Filter tab and modify the filter criteria as follows:
7. Select the Filter tab and modify the filter criteria as follows:
Aligning Controls
To align controls:
1. Using the mouse and the Ctrl key, select first the control with which you want to
align the other control, Search Type.
The system aligns the Name control with the Search Type control.
4. Using the mouse, draw a box around the Search Type and Name fields.
6. While the group box is outlined, right-click on the group box to access the properties
form.
8. Using the little black square on the right side of the group box, drag the box to size
the group box to match the results.
84
Lesson 10 Creating Custom Applications
Associating a Description
To associate a description:
Important! Modifying the associated description helps differentiate it from the form
control in Event Rules Design. Otherwise, both fields display exactly the same.
Results
Your find/browse form should look as follows:
3. Click each of the following business view columns, and click the Insert Column
button after each to add the column to the grid:
85
Creating Custom Applications Lesson 10
Alias Name
F550100.SAAN8A00 SAAddressNumberA00
F550100.SAAT1 SASearchType
F550100.SAALPH SAAlphaName
F550100.SACTY1 SACity
F550100.SAAC0100 SARegion00
7. Move Address Number from the Unsorted Columns list to Sorted Columns and then
click OK.
Note. Pressing the CTRL key and the left or right arrow keys moves the selected grid
column.
8. Increase the width of the grid so that it matches the example in the results section.
9. Double-click each of the following grid columns, click Override Text, modify as
indicated, and click OK:
86
Lesson 10 Creating Custom Applications
Results
The grid of your find/browse form should look as follows:
3. On Menu Exit Properties, select Delete from the Class drop-down list box and click
OK.
5. Select Add from the Class drop-down list box and click OK.
2. Click each control in the order in which you want the user to move through the form.
87
Creating Custom Applications Lesson 10
Results
Your find/browse form should look as follows in the web browser:
1. In Form Design Aid, from the Form menu, select Create, Fix/Inspect.
88
Lesson 10 Creating Custom Applications
7. Click the tab control and from the Insert menu, select Tab Page.
Results
The tab control of your fix/inspect form should look as follows:
1. Insert these business view fields in the top half of the form according to the example
in the results section:
89
Creating Custom Applications Lesson 10
Alias Name
F550100.SAAN8A00 SAAdderssNumberA00
F550100.SAALPH SAAlphaName
F550100.SAAT1 SASearchType
5. Select the Control Options tab and select the Default cursor on add mode option.
6. Click the Search Type control and add an associated description for Search Type.
10. Create a group box around the business view fields and delete the group box name on
the Group Box Properties form.
Results
The header portion of your fix/inspect form should look as follows:
90
Lesson 10 Creating Custom Applications
1. Insert each of the following business view columns onto the Address tab:
Alias Name
F550100.SAADD2 SAAddressLine2
F550100.SAADD3 SAAddressLine3
F550100.SACTY1 SACity
F550100.SAADDS SAState
F550100.SAADDZ SAPostal Code
F550100.SACTR SACountry
F550100.SAAC0100 SARegion00
3. Click the Address Line 3 label and from the Edit menu, click Disconnect.
You must disconnect a label from a control before you can delete the label.
• State
• Postal Code.
7. Move the State and Postal controls next to the City control.
• Country
• Region.
91
Creating Custom Applications Lesson 10
Results
The Address tab of your fix/inspect form should look as follows:
2. Insert this business view field according to the example in the results section:
Alias Name
F550100.SASAL00 SASalary00
4. Enter SAL in the Alias QBE line and click the Search button.
5. Drag the Rate - Salary, Annual data item onto the Employee tab and position it after
the Monthly Salary control.
Note. In a future activity, you will create logic that calculates the annual salary and
updates this field automatically.
92
Lesson 10 Creating Custom Applications
2. Click each control in the order in which you want the user to move through the form.
Results
The Employee tab of your fix/inspect form should look as follows:
93
Creating Custom Applications Lesson 10
4. From Solution Explorer, enter UTB in the Fast Path to access Universal Table
Browser.
7. Verify that Business Data Local appears in the Data Source field.
8. Click Find and verify that the data that you entered in the previous step is included in
the F550100 table.
9. Return to the fix/inspect form and add a minimum of three customers, three
employees, and three suppliers.
Note. If the Monthly Salary is displaying as More Options delete the control and insert it
again.
Results
Your fix/inspect form should look as follows in the web browser:
94
Lesson 10 Creating Custom Applications
Activity Overview
You are ready to begin creating the Class Item Master application. You need to create a
find/browse form and a fix/inspect form to begin the application design. You will insert
controls on forms and grids to add functionality to the application. You will also need
menu and toolbar exists for the application.
The interactive application should be created in the Class Item Master project.
It has been determined that the following controls are required on the find/browse form:
• SATYPE
• SADSC1
It has been determined that the following controls are required in the grid of the
find/browse form:
• SAITM
• SAAN8A00
• SATYPE
• SADSC2
It has been determined that the following controls are required on the fix/inspect form:
• SAITM
• SAAN8A00
• SADSC1
• SATYPE
• SADSC2
• SAUOM1
• SAPRRC
• SAPQOH
95
Creating Custom Applications Lesson 10
• SAPREQ
• SAROP
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Interactive Application:
Name Description
P560100 Class Item Master
Forms:
96
Lesson 10 Creating Custom Applications
1. Add a new interactive application object to the Class Item Master project.
3. Select the Design Tools tab and click Start Form Design Aid.
5. Enter the following information for the form properties and click OK:
6. From the Form menu, select Business View, Add Business View.
97
Creating Custom Applications Lesson 10
Alias Name
F560100.SATYPE SAItemType
F560100.SADCS1 SAItemDescription
3. Position these controls on the form as illustrated in the results section of this task.
4. Modify the filter criteria for the Item Type and Item Description controls to the
following:
5. Select both controls by using the mouse pointer and the control key.
10. Place the control to the right of the Item Type field.
98
Lesson 10 Creating Custom Applications
Results
Your find/browse form should look as follows:
2. Select each of the following data items and click the Insert Column button:
Alias Name
F560100.SAITM SAItemNumber
F560100.SAAN8A00 SAAddressNumberA00
F560100.SATYPE SAItemType
F560100.SADSC2 SACatalogDescription
3. After you have selected all items, close the Business View Columns Browser.
4. Click the grid area and in the Property Browser window, select Column Sort Order.
99
Creating Custom Applications Lesson 10
Results
Your find/browse form should look as follows:
2. On the General tab of the Grid Column Properties form, select the Override Text
option.
4. Draw a box around the Item Type and Item Description fields.
6. Remove the name of the group box by double-clicking the box to access Group Box
Properties.
7. Size the group box and the grid to match the example in the results section.
100
Lesson 10 Creating Custom Applications
Results
Your find/browse form should look as follows:
3. On Menu Exit Properties, select Delete from the Class drop-down list box, and then
click OK.
5. On Menu Exit Properties, select Add from the Class drop-down list box, and then
click OK.
2. Click each control in the order in which you want the user to move through the form.
3. After the sequence is defined, click Tab Sequence again to turn it off.
101
Creating Custom Applications Lesson 10
Results
Your find/browse form should look as follows in the web browser:
102
Lesson 10 Creating Custom Applications
5. Insert the following fields into the form according to the example in the results
section:
6. Align the controls using the Layout toolbar according to the example in the results
section.
• Item Type
• Unit of Measure
103
Creating Custom Applications Lesson 10
Results
Your fix/inspect form should look as follows:
4. Rename the static text to Inventory and the control to Inventory Value.
5. Click and drag the data item onto the form again.
7. Position the data items as indicated by the example in the results section.
8. Double-click each of these controls and select the Disabled option on the General tab
of the properties: form
• Item Number
• Inventory
• Deficit Amount
9. Create three group boxes according to the example in the results section.
104
Lesson 10 Creating Custom Applications
Results
Your fix/inspect form should look as follows:
4. On Override Next Number, select Override and enter the following information:
2. After you define the sequence, click Tab Sequence again to turn it off.
105
Creating Custom Applications Lesson 10
Results
Your fix/inspect form should look as follows in the web browser:
Note. The associated description for Item Type and Unit of Measure do not appear in the
results because inventory has not been added to the table.
106
Lesson 10 Creating Custom Applications
Activity 18: Creating Additional Forms for the Class Address Book
In this activity, you will review the activity overview and:
Activity Overview
The Class Address Book application (P550100) requires a way to display phone number
information. You need to create a headerless detail form to display phone number
information in the grid of the form.
Create a search & select application in the Class Address Book project. Attach the
business view that you designed specifically for this form (V550100S).
Check in the search & select application when it is complete so that it can be used in
future activities.
It has been determined that the following controls are required on the headerless/detail
form:
• SAAN8A00
It has been determined that the following controls are required in the grid of the
headerless/detail form:
• SAAR1
• SAPH1
• SAPHTP
• SALNID
It has been determined that the following controls are required on the search & select
form:
• SAALPH
• SAAT1
It has been determined that the following controls are required in the grid of the search &
select form:
• SAAN8A00
• SAALPH
• SAAT1
107
Creating Custom Applications Lesson 10
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Form:
Name Description
Headerless Detail Phone Numbers - Headerless/Detail
Interactive Application:
Name Description
P550100S Class Address Book Search & Select
Form:
2. Click Design.
3. Select the Design Tools tab, and click Start Form Design Aid.
4. On Form Design Aid, from the Form menu, select Create, Headerless Detail.
108
Lesson 10 Creating Custom Applications
1. Add this business view field as a form control using the Business View Column
Browser.
Alias Name
F551500.SAAN8A00 SAAddressNumber00
6. Select the Filter tab and verify that the equal to (=) option is selected.
8. Size the group box as shown in the example in the results section.
109
Creating Custom Applications Lesson 10
Results
Your headerless detail form should look as follows:
1. Add the following business view fields to the grid using the Business View Columns
Browser:
Alias Name
F551500.SAAR1 SAAreaCode
F551500.SAPH1 SAPhoneNumber
F551500.SAPHTP SAPhoneNumberType
F551500.SALNID SALineNumber
2. From the Property Browser window, select Column Sort Order and sort the grid by
Line Number.
Note. Selecting the Automatically Find on Entry option on the grid replaces the need
to include a Find button on the menu toolbar.
110
Lesson 10 Creating Custom Applications
8. On the Headerless Detail From Properties form, select the Options tab.
Results
Your headerless detail form should look as follows:
111
Creating Custom Applications Lesson 10
Results
Your headerless detail form should look as follows in the web browser:
112
Lesson 10 Creating Custom Applications
6. From the Form menu, select Business View, Add Business View.
7. On the Individual Object Search & Select Form, enter V550100S on the Object Name
QBE line and then click Find.
1. Add these business view fields to the form using the Business View Columns
Browser:
Alias Name
F550100.SAALPH SAAlphaName
F550100.SAAT1 SASearchType
113
Creating Custom Applications Lesson 10
Results
Your search & select form should look as follows:
Search & Select form - Class Address Book Search & Select - P550100S
2. Add these business view fields as grid columns using the Business View Columns
Browser:
Alias Name
F550100.SAAN8A00 SAAddressNumber00
F550100.SAALPH SAAlphaName
F550100.SAAT1 SASearchType
3. From the Property Browser window, select Column Sort Order and sort the grid by
Address Number.
114
Lesson 10 Creating Custom Applications
Results
Your search & select form should look as follows:
Search & Select form - Class Address Book Search & Select - P550100S
After you define the sequence, click Tab Sequence again to turn it off.
1. From the Design Tools tab, click the Run HTML Application button.
The records that you previously entered in the Class Address Book appear.
4. Test the Name Search and Search Type controls to verify that they are working
correctly.
Note. For example, if you select E for the search type, only the employees should
display. A search using the Name Search control should display all names that are equal
to and greater than the criterion that you entered.
115
Creating Custom Applications Lesson 10
Results
Your search & select form should look as follows in the web browser:
Search & Select form - Class Address Book Search & Select - P550100S
Important! The P550100S interactive application must be checked in so that the search
and select form is available for the data dictionary procedures that follow.
116
Lesson 10 Creating Custom Applications
Activity Overview
The purpose of a search & select form is to locate a value and return it to the calling field.
The field in this case is the supplier number field of the Class Address Book application.
In the Class Item Master application, on the Item Master Revisions form, attach the
search & select form (W550100SA) as a visual assist override to the supplier number
control.
117
Creating Custom Applications Lesson 10
1. In Object Management Workbench, click the Class Item Master P560100 application
in the Class Item Master project and click Design.
2. Access the Design Tools tab and click the Start Form Design Aid button.
3. On the Item Master Revisions form, double-click the Supplier Number control.
6. Select the Search Form option and enter W550100SA in the Search Form field.
The system displays a visual assist for the supplier number, which launches the
search and select form when clicked.
Note. If the visual assist were added to the data item in the data dictionary, the visual
assist would appear globally—that is, wherever the Address Number field is used. This
situation is not appropriate in some applications.
118
Lesson 11
119
Enabling Media Object Functionality Lesson 11
Activity 20: Enabling Media Object Functionality for the Class Address
Book
In this activity, you will review the activity overview and:
120
Lesson 11 Enabling Media Object Functionality
Activity Overview
Media objects are used to link information to application transactions. You can use the
attachments feature in an application to attach text, photos, drawings, spreadsheets, video
images, and sounds to forms and grid rows. Applications do not automatically have
media object functionality. If you want to implement this feature, you need to complete
several tasks.
You can enable media objects functionality using standard processing within Forms
Design Aid. If you choose not to use standard processing for a form, you can develop
your own system for handling media objects by using existing event rules or event rules
that you develop.
To enable a form for media objects, you need a GT type data structure to pass arguments
from the form table to the media object table. You can use an existing GT object type or
create a new one. In this activity, you need to create a new GT type data structure, attach
it to an application, and then use the application to add media objects to records.
4. On the Design Tools tab, click the Data Structure Design button.
5. On the Dictionary Items tab, search for the SAAN8A00 data dictionary field and
move it to the Structure Members list.
Note. AN8 is the field on the grid of the Find/Browse form that will be used as the
row key for each record’s media object attachments.
121
Enabling Media Object Functionality Lesson 11
2. Click Design.
2. On the Media Objects Setup form, select the Enable Automatic Media Object
Functionality option.
You select Row Key because you are designing a media object attachment for rows
in the grid of a find/browse form.
6. On the System Functions window, find and select GT550100 under Media Object
Structures.
9. On the Work With Addresses - Find/Browse form, access the grid properties.
10. On the Advanced tab, clear the Hide Row Headers option.
If the Hide Row Headers option is selected, the media object paperclip column does
not appear in the form.
Note. In the Property browser, the Hide Row Headers option is called Hide Row
Numbers. In the Property browser, Hide Row Numbers should be set to No.
122
Lesson 11 Enabling Media Object Functionality
b. The media object paper clip column is shown in the grid portion of the form.
4. In the workspace, enter This employee has successfully completed the CPA exam.
5. Click Save.
4. On the Media Object Viewer Add - File form, click the Select Queue option.
7. Click Add.
123
Enabling Media Object Functionality Lesson 11
Activity Overview
When you add OLE, image, or animation attachments to database records, you can select
available media objects from media object queues. Although the JD Edwards
EnterpriseOne software includes media object queues and media objects, you might find
it necessary to add new media objects for users to select.
You can also select images or attachments from an alternate location. When you create
these media objects as OLE attachments, they are stored in the Media Object queues.
In this activity, you add new OLE objects and images to media object queues and attach
the media objects to the Class Address Book application.
124
Lesson 11 Enabling Media Object Functionality
In the standalone training environment, they can be found in the MediaObj folder on
the E: drive under the E812 folder.
4. On the File menu, select Save As and save the file using the following parameters:
Field Value
Save in E:\E812\ MediaObj\Oleque
File name Excel.xls
Save as type Microsoft® Excel Workbook (*.xls)
6. In Windows Explorer, navigate to E:\E812\ MediaObj\Oleque and verify that the .xls
file that you created is located there.
Note. At your company, there are many ways that you might obtain images to add to the
Misc Images or other queues. You might obtain them from scanned images or from other
sources. In the training environment, you will have to search for an image from another
location to add to the Misc Images queue.
125
Enabling Media Object Functionality Lesson 11
5. Paste the object that you copied into the Misc Images queue.
6. Right-click the object and rename it Image, retaining the existing file extension.
2. Click Design.
4. From the Please choose a queue drop-down list box, select Oleque.
5. On the Insert Object form, select Create from File and then click the Browse button.
8. Click OK.
The Excel spreadsheet appears as a media object for the record that you selected.
126
Lesson 11 Enabling Media Object Functionality
4. On Media Object Viewer Add - File, select Misc Images in the queue drop-down list
box.
5. In the File drop-down list box, select the Image file that you copied and click Add.
6. Click Save.
1. On the row header of the grid, click the attachment search icon.
4. Click Cancel.
127
Enabling Media Object Functionality Lesson 11
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
128
Lesson 12
129
Using Runtime Processing Controls Lesson 12
Activity 22: Creating Form Interconnects for the Class Address Book
In this activity, you will review the activity overview and:
Activity Overview
Form interconnects are required for the user to access the fix/inspect form from the
find/browse form in the Class Address Book application. Create a form interconnect and
pass the address number as a parameter in the data structure. Select the modeless option.
The Class Address Book application contains records for employees, customers, and
suppliers. The following functionality must be defined in the Class Address Book
application:
• When a user is working with an employee record, the Monthly Salary and Annual
Salary controls should appear on the form. Use system functions to show the control
when this condition is met.
• When a user is working with a record that is not an employee, the Monthly Salary
and Annual Salary controls should not appear. Use system functions to hide the
control when this condition is met.
• When the monthly salary field contains a value, the system calculates the annual
salary. Create event rules to calculate the annual salary as 12 times the monthly
salary.
• A Form exit must be added to the Address Book Revisions form so that it can access
the Phone Numbers form. Create a Menu/Toolbar exit called &Phones. Add a form
interconnect to access the Phone Numbers form and pass the address number as a
parameter in the data structure.
Consider what might happen if a record were originally designated as an employee, and
then changed to another search type.
When you added phone numbers to the Class Address Book application you entered the
associated line numbers manually. Set up automatic line numbering for the Phone
Numbers grid.
130
Lesson 12 Using Runtime Processing Controls
1. In the Class Address Book project, click the Class Address Book P550100
application.
2. Click Design.
6. On the Work With Applications form, type P550100 in the Object Name field in the
QBE line, and then click Find.
7. Select P550100.
8. On the Work With Forms form, select the Address Book Revisions form.
Note. Do not change the Data Structure window. When adding a record, no values exist
to pass from the Work With Addresses form to the Address Book Revisions form.
10. Save and exit from the Event Rules Design window.
131
Using Runtime Processing Controls Lesson 12
5. On the Work With Applications form, type P550100 in the Object Name field of the
QBE line, and then click Find.
6. Select P550100.
7. On the Work With Forms form, select the Address Book Revisions form.
10. Save and exit from the Event Rules Design window.
4. Select a record in the grid of the Work With Addresses form to test the form
interconnect that you created for the Select button menu exit.
132
Lesson 12 Using Runtime Processing Controls
2. From the Address Book Revisions form access the Employee tab.
Important. If the Monthly Salary field has changed to More Options, delete the field.
Open up the Business View Columns Browser and add the SASAL00 field again.
3. Right-click the Address Book Revisions form and select Event Rules
4. Select the Post Dialog is Initialized event and enter the following event rules:
If BC Sample Application - Search Type (F550100) is equal to “E”
Show Control(FC Monthly Salary)
Show Control(FC Annual Salary)
Else
Hide Control(FC Monthly Salary)
Hide Control(FC Annual Salary)
End If
5. Save and exit Event Rules Design.
7. Select the Control is Exited/Changed-Inline event and enter the following event rules:
If FC Sample Application - Search Type (F550100) is equal to “E”
Show Control(FC Monthly Salary)
Show Control(FC Annual Salary)
Else
Hide Control(FC Monthly Salary)
Hide Control(FC Annual Salary)
End If
8. Save and exit Event Rules Design.
1. Right-click the Address Book Revisions form and select Event Rules.
2. On the Post Dialog is Initialized event, enter the following event rules:
FC Annual Salary = [FC Monthly Salary]*12
3. Right-click the Monthly Salary control and select Event Rules.
133
Using Runtime Processing Controls Lesson 12
3. On Menu Exit Properties, select Form from the Class drop-down list box, and then
click OK.
5. On Menu Exit Properties, select User Defined from the Class drop-down list box, and
enter the following information:
3. On the Work With Applications form, enter P550100 in the Object Name field of the
QBE line, and click Find.
4. Select P550100.
5. On the Work With Forms form, select the Phone Numbers form and click Select.
Note. Do not change the second entry (mnSALineNumber); it should remain <NOT
Assigned>.
3. From the Form menu of the Address Book Revisions form, select Phones.
134
Lesson 12 Using Runtime Processing Controls
Note. You must enter the line number for each phone number that you add to the form.
2. Right-click the Phone Numbers - Headerless Detail form and select Event Rules.
4. On Event Rules Variables, enter LNID in the DD Item field, and click Add.
2. Initialize the variable upon entering the Phone Numbers form by creating the
following assignment:
VA frm_mnLineNumberCounter_LNID = 0
135
Using Runtime Processing Controls Lesson 12
3. Increment the variable by 1 and assign the new value to the next available line by
entering the following event rules:
VA frm_mnLineCounterNumber_LNID = [VA frm_mnLineCounterNumber_LNID]+1
GC LineNumber = VA frm_mnLineCounterNumber_LNID
4. Save and exit Event Rules Design.
5. Double-click the Line Number control in the grid to access Grid Column Properties.
6. Under Attributes, select Disable Input to disable the Line Number control.
2. Click Find, click a record in the grid, and then click Select.
5. Verify that the system automatically assigns a line number to the new phone
numbers.
136
Lesson 12 Using Runtime Processing Controls
Activity 23: Creating Form Interconnects for the Class Item Master
In this activity, you will review the activity overview and:
Activity Overview
Form interconnects are required to access the fix/inspect form from the find/browse form
in the P560100 Class Item Master application.
The Class Item Master application contains inventory records for purchased items. If a
valid supplier number appears for an item on the Item Master Revisions form, the user
might want to call that supplier.
• Create an &Add Menu/Toolbar exit for the Item Master Revisions form. Define a
form interconnect and pass the item number parameter in the data structure.
• Create a &Form exit to the Phone Numbers form so that the user can access the
supplier’s phone numbers directly from the Item Master Revisions form. Create a
Menu/Toolbar exit named &Phones. Define a form interconnect and pass the supplier
number to the address number field of the Phone Numbers form.
Create event rules to calculate the Unit Cost x Quantity on Hand and populate the
Inventory Value.
Create event rules to calculate the Quantity on Hand + Quantity on Purchase Order –
Reorder Point and populate the Deficit Amount.
• Display controls
Use system functions to show the deficit amount only if it is less than zero.
Create event rules to populate the Catalog Description with the Item Description
value if the Catalog Description field is left blank.
137
Using Runtime Processing Controls Lesson 12
1. In the Class Item Master project, click the Class Item Master P560100 application.
2. Click Design.
6. On the Work with Applications form, enter P560100 in the Object Name field in the
QBE line and click Find.
7. Select P560100.
8. On the Work With Forms form, select the Item Master Revisions form - W560100B.
Note. Do not change the Data Structure window. When you add a record, no values pass
from the Work With Item Master form to the Item Master Revisions form.
138
Lesson 12 Using Runtime Processing Controls
4. On the Work with Applications form, enter P560100 in the Object Name field in the
QBE line, and then click Find.
5. Select P560100.
6. On the Work With Forms form, select the Item Master Revisions form - W560100B.
4. In Solution Explorer, enter UTB (Universal Table Browser) in the Fast Path field and
press Enter.
5. From the File menu, click Open Table and enter the following:
6. Verify that the record that you entered appears in the F560100 table.
7. Click OK.
139
Using Runtime Processing Controls Lesson 12
Note. Do not continue to add records in the Class Item Master application until you
verify that the system is adding the data to the table.
9. Add at least six inventory items to the Class Item Master assigning the Furniture item
type to at least two records.
10. Select one record in the grid of the Work With Item Master form.
11. Verify the form interconnect that you created for the Select button.
Selecting a record in the grid displays the corresponding details on the Item Master
Revisions form.
5. On Menu Exit Properties, select Form from the Class drop-down list box and click
OK.
7. On Menu Exit Properties, select User Defined from the Class drop-down list box and
enter the following information:
10. On the Work with Applications form, enter P550100 in the Object Name field of the
QBE line, and then click Find.
140
Lesson 12 Using Runtime Processing Controls
12. On the Work With Forms form, select the Phone Numbers form.
Note. Do not change the second entry (mnSALineNumber). It should remain <NOT
Assigned>.
2. Add the following event rules before the form interconnect call statement to
condition the form interconnection to occur only if a value is entered in the Supplier
Number field:
If FC Address Number is greater than <Zero>
Call( App:P550100 , Form: W550100C)
End If
3. Save and exit Event Rules Design.
2. On the Post Dialog is Initialized event, create the following event rules:
141
Using Runtime Processing Controls Lesson 12
8. Right click the Quantity on Hand control and select Event Rules.
2. On the Post Dialog is Initialized event, create the following event rules:
FC Deficit Amount = [FC Quantity on Hand]+[FC Quantity on Purchase
Order]-[FC Reorder Point]
3. Save and exit Event Rules Design.
4. Right click the Quantity on Hand control and select Event Rules.
7. Right click the Quantity on Purchase Order control and select Event Rules.
10. Right click the Reorder Point control and select Event Rules.
11. On the Control Exited/Changed-Inline event, create the following even rules:
FC Deficit Amount = [FC Quantity on Hand]+[FC Quantity on Purchase
Order]-[FC Reorder Point]
12. Save and exit Event Rules Design.
142
Lesson 12 Using Runtime Processing Controls
2. On the Post Dialog is Initialized event, create the following event rules:
If FC Deficit Amount is less than <Zero>
Show Control(FC Deficit Amount)
Else
Hide Control(FC Deficit Amount)
End If
3. Save and exit Event Rules Design.
7. Right-click the Quantity on Purchase Order control and select Event Rules.
10. Right-click the Reorder Point control and select Event Rules.
11. On the Control Exited/Changed-Inline event, create the following even rules:
If FC Deficit Amount is less than <Zero>
Show Control(FC Deficit Amount)
Else
Hide Control(FC Deficit Amount)
End If
12. Save and exit Event Rules Design.
2. On the Add Record to DB - Before event, create the following event rules:
143
Using Runtime Processing Controls Lesson 12
4. On Menu Exit Properties, select Row from the Class drop-down list box and then
click OK.
6. On Menu Exit Properties, select User Defined from the Class drop-down list box and
enter the following information:
7. On the Menu Exits form, select the &Phones row and click Event Rules.
9. On Work with Applications, enter P550100 in the Object Name field on the QBE
line, and then click Find.
12. On the Form Interconnections form, change the data structure as follows:
144
Lesson 12 Using Runtime Processing Controls
4. Enter a value in the Reorder Point that is greater than the sum of the Quantity on
Hand and the Quantity on Purchase Order.
145
Using Runtime Processing Controls Lesson 12
Activity Overview
The Class Address Book application requires radio buttons to indicate whether the status
of the address book record is active or inactive. The radio buttons need to be placed on
the fix/inspect form.
• Name the first radio button Active and the second radio button Inactive.
• Create logic on the buttons and on the form to indicate how the radio buttons should
be processed by the system
Create a message form that displays when the user selects a record that is defined as
inactive. Add a form interconnect to the fix/inspect form that calls the message form
when the record is defined as inactive.
146
Lesson 12 Using Runtime Processing Controls
1. In the Class Address Book project, click the Class Address Book P550100
application.
2. Click Design.
6. Position the radio button so that it matches the example in the results section.
7. Click the form (not the radio button) and from the Insert menu, select Radio Button.
8. Position the second radio button so that it matches the example in the results section.
Results
Your fix/inspect form should look as follows:
4. Find and select the Status Active/Inactive Flag (SASTAT00) data item.
147
Using Runtime Processing Controls Lesson 12
5. Click OK.
7. On the General tab, select the Override Text option, and enter Active in the Event
Rules Title field.
4. Find and select the Status Active/Inactive Flag (SASTAT00) data item.
5. Click OK.
7. On the General tab, select the Override Text option, and enter Inactive in the Event
Rules Title field.
Results
Your fix/inspect form should look as follows:
148
Lesson 12 Using Runtime Processing Controls
2. On the Selection Changed event, enter the following logic to update the status
business view field if this radio button is selected:
If FC Active is equal to “A”
BC Status Active/Inactive (F550100) Flag = “A”
End If
3. Save the event rules and exit Event Rules Design.
5. On the Selection Changed event, enter the following logic to update the status
business view field if this radio button is selected:
If FC Inactive is equal to “I”
BC Status Active/Inactive (F550100) Flag = “I”
End If
1. Right-click the Address Book Revisions - Fix/Inspect form and select Event Rules.
2. On the Post Dialog is Initialized event, enter the following logic to ensure that the
default status for a records is set to active if no status is selected:
If BC Status Active/Inactive (F550100) Flag is equal to <Blank>
BC Status Active/Inactive (F550100) Flag = “A”
End If
3. Also on the Post Dialog is Initialized event, enter the following logic to ensure that
the application fetches the appropriate status from the database:
If BC Status Active/Inactive (F550100) Flag is equal to “A”
FC Active = “A”
Else
FC Inactive = “I”
End If
149
Using Runtime Processing Controls Lesson 12
2. On the General tab of the Message Form Form Properties, enter WARNING in the
Title field, and then click OK.
3. Double-click the text portion of the Warning form and in the in the text box enter,
The selected record is in an inactive state.
Note. You must save the application to see the message form in the form interconnect.
7. On the Post Dialog Is Initialized event, add the following event rules:
If BC Status Active/Inactive (F550100)Flag is equal "I"
Call(App:P550100 , Form: W550100D)
End If
8. Compare your results to the results section.
Note. Exiting out to Object Management Workbench allows the serialized objects in
standalone to be updated.
Results
Your warning form should look as follows:
150
Lesson 12 Using Runtime Processing Controls
1. In the Class Address Book project, click the Class Address Book P550100
application.
2. Click Design.
3. From the Design Tools tab, click the Run HTML Application button.
4. Verify that the radio buttons function properly by modifying a record to be inactive.
5. Select the inactive record and verify that you receive the warning message.
Results
Your fix/inspect form should look as follows in the web browser:
151
Using Runtime Processing Controls Lesson 12
Your warning form should look as follows when an inactive record is selected in the web
browser:
152
Lesson 12 Using Runtime Processing Controls
Activity Overview
The Class Item Master application requires radio buttons to indicate whether the
inventory item is perishable or non-perishable. The radio buttons need to be placed on the
fix/inspect form.
• Name the first radio button Perishable and the second radio button Non-perishable.
• Create logic on the buttons and on the form to indicate how the radio buttons should
be processed by the system.
153
Using Runtime Processing Controls Lesson 12
1. In the Class Item Master project, click the Class Item Master P560100 application.
2. Click Design.
6. Position the radio button so that it matches the example in the results section.
7. Click the form (not the radio button) and from the Insert menu, select Radio Button.
8. Position the radio button so that it matches the example in the results section.
154
Lesson 12 Using Runtime Processing Controls
Results
Your fix/inspect form should look as follows:
5. Click OK.
7. On the General tab, select the Override Text option, and enter Perishable in the
Event Rules Title field.
155
Using Runtime Processing Controls Lesson 12
4. Click OK.
6. On the General tab, select the Override Text option, and enter Non-perishable in the
Event Rules Title field..
Results
Your fix/inspect form should look as follows:
2. On the Selection Changed event, enter the following logic to update the status
business view field if this radio button is selected:
If FC Perishable is equal to "P"
156
Lesson 12 Using Runtime Processing Controls
5. On the Selection Changed event, enter the following logic to update the status
business view field if this radio button is selected:
If FC Non-perishable is equal to "N"
BC Item (F560100) Storage = “N”
End If
6. Save and exit Event Rules Design.
2. On the Post Dialog is Initialized event, enter the following logic to ensure that the
default status for a record is set to active if no status is selected:
If BC Item (F560100) Storage is equal to <Blank>
BC Item (F560100) Storage = “P”
End If
3. Also on the Post Dialog is Initialized event, enter the following logic to ensure that
the application fetches the appropriate status from the database:
If BC Item (F560100) Storage is equal to “P”
FC Perishable = “P”
Else
FC Non-perishable = “N”
End If
4. Save and exit Event Rules Design.
1. Draw a rectangle around the two radio buttons, click Insert, and then select Group
Box.
2. Access Group Box Properties and remove the value from the Group Box Title field.
Note: Exiting out to Object Management Workbench allows the serialized objects in
standalone to be updated.
157
Using Runtime Processing Controls Lesson 12
1. In the Class Item Master project, click the Class Item Master P560100 application.
2. Click Design.
3. From the Design Tools tab, click the Run HTML Application button.
Results
Your fix/inspect form should look as follows in the web browser:
158
Lesson 12 Using Runtime Processing Controls
• Create versions.
Activity Overview
The Class Address Book application requires a processing option that enables users to
select a default search type for the Class Address Book application.
• Attach the processing option template to the Class Address Book application.
• Create event rules on the Post Dialog is Initialized event of the find/browse form to
indicate how the system should process the processing option values.
• One version that prompts the user for a search type processing option value.
• One version that defines suppliers as the default search type value.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Name Description
T550100 Class Address Book PO
Versions:
Name Description
VER0001 Class Version – Prompt
VER0002 Class Version – Suppliers
159
Using Runtime Processing Controls Lesson 12
1. Click the Objects node of the Class Address Book project and then click Add.
Field Value
Object Name T550100
Description Class Address Book Processing Option
Product Code 55
Product System Code 55
Object Use 360
Type Processing Option Template
4. On the Design Tools tab, click Start the Processing Option Design Aid.
Field Value
Short Name Default
Long Name Default Search Type
7. In the Data Dictionary Browser area, enter SAAT1 in the Alias column and press
Enter.
8. When the data item appears, drag it to the Default tab of the processing option.
9. Click the Sample Application - Search Type text and change it to the following:
E = Employee
C = Customer
V = Supplier
10. Save the processing option and return to Object Management Workbench.
160
Lesson 12 Using Runtime Processing Controls
1. In the Class Address Book project, click the Class Address Book P550100
application and then click Design.
5. On Select Processing Option Template, enter T550100 in the Object Name field of
the QBE line, and then click Find.
1. Right-click the Work With Addresses - Find/Browse form and select Event Rules.
2. Select the Post Dialog is Initialized event and add the following event rules:
If PO szSASearchType is greater than <Blank>
FC Search Type = PO szSASearchType
End If
Note. Do not select the FC SEARCH TYPE that is in all capital letters. The FC SEARCH
TYPE is the associated description.
Creating Versions
To create versions:
161
Using Runtime Processing Controls Lesson 12
4. Click OK on both the Version Add and the Interactive Version Design forms.
1. On the Work With Interactive Versions form, click the VER0002 version.
162
Lesson 12 Using Runtime Processing Controls
• Create versions.
Activity Overview
The Class Item Master application requires a processing option that enables users to
select a default item type for the Class Item Master application.
• Attach the processing option template to the Class Item Master application.
• Create event rules on the Post Dialog is Initialized event of the find/browse form to
indicate how the system should process the processing option values.
• One version that prompts the user for an item type processing option value.
• One version that defines furniture as the default item type value.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Name Description
T560100 Class Item Master PO
Versions:
Name Description
VER0001 Class Version – Prompt
VER0002 Class Version – Furniture
163
Using Runtime Processing Controls Lesson 12
1. Click the objects node of the Class Item Master project and click Add.
4. On the Design Tools tab, click Start the Processing Option Design Aid.
7. In the Data Dictionary Browser area, enter SATYPE in the Alias column and press
Enter.
8. When the data item appears, drag it to the Default tab of the processing option.
10. Save the processing option and return to Object Management Workbench.
1. In the Class Item Master project, click the Class Item Master P560100 application
and then click Design.
164
Lesson 12 Using Runtime Processing Controls
5. On Select Processing Options Template, enter T560100 in the Object Name field of
the QBE line, and then click Find.
1. Right-click the Work With Item Master - Find/Browse form and select Event Rules.
2. Select the Post Dialog is Initialized event and add the following event rules:
If PO szSAItemType is greater than <Blank>
FC Item Type = PO szSAItemType
Else
FC Item Type = “*”
End If
3. Save the application and exit Form Design Aid.
Creating Versions
To create versions:
4. Click OK on both the Version Add and the Interactive Version Design forms.
165
Using Runtime Processing Controls Lesson 12
1. On the Work With Interactive Versions form, click the VER0002 version.
166
Lesson 13
167
Adding Applications to the EnterpriseOne Menu Lesson 13
Activity Overview
You need to provide end users access to the Class Address Book and the Class Item
Master applications from the web client. In Solution Explorer, you must create a task
view and add the applications to the task view as tasks.
Add the Class Item Master to the task view once defined to prompt the users for a
version.
Because subsequent activities are dependent on this activity, you must use the following
naming conventions:
Task View:
Tasks:
168
Lesson 13 Adding Applications to the EnterpriseOne Menu
1. In Object Management Workbench, check in the Class Address Book and Class Item
Master applications.
2. In Solution Explorer, click the Menu Design button to enter Menu Design mode.
5. Click OK.
6. Select the Class Applications task view from the Views drop down list box.
169
Adding Applications to the EnterpriseOne Menu Lesson 13
170
Lesson 13 Adding Applications to the EnterpriseOne Menu
171
Adding Applications to the EnterpriseOne Menu Lesson 13
3. Launch each of the tasks and verify that they function properly.
c. Class Item Master: Work With Versions form appears to prompt you for
a version.
172
Lesson 14
Troubleshooting Applications
173
Troubleshooting Applications Lesson 14
Activity Overview
You have been asked to create other custom interactive applications. You need to review
the event rules in the Class Address Book and Class Item Master applications to plan out
the event rules for future application development.
174
Lesson 14 Troubleshooting Applications
1. In the Class Address Book project, click the Class Address Book P550100
application.
2. Click Design.
4. Verify that you see three nodes representing the three forms included in the Class
Address Book application.
6. Verify that you see three nodes with plus signs indicating that they contain event
rules.
7. Expand the Form node to view two nodes that include event rules.
10. Verify that the If statement portion of the event rules has been disabled.
1. In the Class Item Master project, click the Class Item Master P560100 application.
2. Click Design.
5. Verify that you see two nodes representing the two forms included in the Class Item
Master application.
7. Expand the RADBTN nodes to review the event rules included on the radio buttons.
175
Troubleshooting Applications Lesson 14
176
Lesson 15
177
Describing the Cross Reference Facility Lesson 15
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
178
Lesson 16
179
Describing Modification Rules Lesson 16
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
180
Lesson 17
181
Final Course Activity Lesson 17
• Create projects.
• Create tables.
Activity Overview
Application Specifications
You have been asked to develop an application for entering purchase orders. Analyze the
design specifications and formulate a plan to build an integrated application. Be prepared
to explain your design decisions and the reasoning behind them.
Design and build a purchase order application that enables users to find, select, add, and
delete purchase orders. Ensure that:
As a part of the application design, determine the objects that are required to successfully
complete the purchase order application, such as:
• Tables
• Business views
• Forms
• Processing options
• Versions
Name the application Class Purchase Orders. The application requires a form that serves
as an entry point to the application. This form enables the user to:
182
Lesson 17 Final Course Activity
If the user selects a specific purchase order record, the form should exit to the Purchase
Order Revisions form, where the user can:
A header detail form is required to work with data from two separate tables. The user can
access this form to add or update a single header record. The form should also enable the
user to add, update, or delete multiple detail records.
Because the header detail form enables the user to update and add records in two
different tables, you must attach two separate business views to the form. Attach one
business view to the grid and the other to the form itself, thereby initiating updates to two
tables from a single form.
In the process of creating a purchase order, the user will need to enter an item number for
each ordered item. To make the entry process more efficient, create an Item Master
Search & Select form and attach it to the Item Number data item. In this way, any time
that the user encounters the Item Number field on a form or in a grid, the user can use the
visual assist to access the Search & Select form to search for an item. When the user
selects an item from the Search & Select form, the system should automatically display
the item number on the calling form.
Project Specifications
Because you will be developing many components that are all related to the development
of an application, create a project to hold the objects that make up the Class Purchase
Orders application.
Table Specifications
The Class Purchase Orders application requires two tables, one for the purchase order
header information and one for the detail information about each item ordered.
Form Specifications
The specifications for the Work With Purchase Orders - Find/Browse form are:
• Users should be able to find, select, add, and delete purchase orders from the form.
• Order Type - with an associated description for the Order Type code.
183
Final Course Activity Lesson 17
• Date Requested.
• Order Number
• Order Type
• Order Company
• Address Number
• Order Date
• Date Requested
• Order Status
• Order Type
• Order Number.
• Define the Add button to call the Purchase Order Revisions form and pass no
parameters.
• Define the Select button to make a modeless call to the Purchase Order Revisions
form and pass these parameters:
• Order Number
• Order Type
• Order Company
• All forms should be designed in accordance with the examples in the results sections
and should adhere to all form standards.
The specifications for the Purchase Order Revisions - Header/Detail form are:
• Enable users to work with purchase order header information from the F570100
table.
• Enable users to add and modify purchase order information and delete individual
purchase order lines.
• Define today's date as the default value for the Order Date field on the header portion
of the form if the user leaves this field blank (null).
184
Lesson 17 Final Course Activity
• Disable next numbering for the Address (Supplier) Number and Ship To Address
Number fields.
• Enable users to work with the purchase order details information from the F571100
table.
185
Final Course Activity Lesson 17
Creating Projects
To create projects:
3. On the Add EnterpriseOne Object to the Project form, select OMW Project in the
Object Management Workbench group box.
These codes are used to further categorize development and modification of objects.
7. On the Attachments tab, enter This project was added to create the Class Purchase
Order application.
186
Lesson 17 Final Course Activity
1. Expand the tree structure for the current project and click on the Owners node.
4. Click DEMO - AB Common and then click the Add Object or User to Project button.
1. Click the project name and click the Advance Project button.
2. On the Confirm Project Change form, change the status to Programming (21).
Creating Tables
To create tables:
187
Final Course Activity Lesson 17
Column Prefix PH
5. Select the Design Tools tab, and then click Start Table Design Aid.
6. Add the following data items from the Data Dictionary Browser window to the
Columns window:
7. Select SADocumentNumber, drag it to the Indices window, and drop it onto the Class
Purchase Order Header name.
8. Drag the following data items and drop onto the Untitled index node:
• SAOrderType
• CompanyKeyOrderNo
11. Select the Table Operations tab and then select Generate Table.
188
Lesson 17 Final Course Activity
5. Select the Design Tools tab, and then click Start Table Design Aid.
6. Add the following data items from the Data Dictionary Browser window to the
Columns window:
7. Drag SADocumentNumber to the Indices window and drop it onto the Class
Purchase Order Header name.
189
Final Course Activity Lesson 17
8. Drag the following data items and drop onto the Untitled index node:
• SAOrderType
• CompanyKeyOrderNo
• SALineNumber
11. Select the Table Operations tab and then select Generate Table.
Results
The Class Purchase Order Header table and Class Purchase Order Detail table appear as
objects under the Class Purchase Orders project.
1. Create the Class Purchase Order Header – All Columns business view.
2. Create the Class Purchase Order Detail - All Columns business view.
Creating the Class Purchase Order Header - All Columns Business View
To create the Class Purchase Order Header - All Columns business view:
5. Select the Design Tools tab, and then click Start the Business View Design Aid.
190
Lesson 17 Final Course Activity
8. Select the table, and then click the Select All button from the menu toolbar to select
all of the columns for the business view.
9. Save the business view and then exit from the Business View Design Aid.
Creating the Class Purchase Order Detail - All Columns Business View
To create the Class Purchase Order Detail - All Columns business view:
3. Select to add a business view object to the Class Purchase Orders project.
5. Select the Design Tools tab, and then click Start the Business View Design Aid.
8. Select the table, and then click the Select All button from the menu toolbar to select
all the columns for the business view.
9. Save the business view and then exit from the Business View Design Aid.
191
Final Course Activity Lesson 17
Field Value
Object Name V560100S
Description Item Master Search & Select
Product Code 56
Product System Code 56
Object Use 300
5. Select the Design Tools tab, and then click Start the Business View Design Aid.
Note. Notice that SAItemNumber (SAITM) already appears in the Selected Columns
window because it is the primary key for the F560100 table.
8. Select the Table Joins window and then double-click the following data items to
move them to the Selected Columns window:
• SAItemDescription (SADSC1)
• SAAddressNumberA00 (SAAN8A00)
• SAItemType (SATYPE)
9. Save the business view and then exit from the Business View Design Aid.
192
Lesson 17 Final Course Activity
3. Select the Design Tools tab, and then click Start Form Design Aid.
4. From the Form menu, select Create and then select Find/Browse.
6. From the Form menu, select Business View, and then select Add Business View.
Alias Name
F570100.SADCTO SAOrderType
F570100.SADRQJ SADateRequested
193
Final Course Activity Lesson 17
7. Insert a group box around the Order Type and Requested Date fields.
Alias Name
SADOCO SADocumentNumber
SADCTO SAOrderType
KCOO CompanyKeyOrderNo
SAAN8A00 SAAddressNumberA00
SATRDJ SAOrderDate
SADRQJ SADateRequested
SASRST SAPOStatusCode
2. In the Column Sort Order property, sort the grid by these fields:
• Order Type
• Order Number
• Delete
• Add
194
Lesson 17 Final Course Activity
Results
Your Work With Purchase Orders form should appear as follows:
1. From the Form menu, select Create and then select Header Detail.
195
Final Course Activity Lesson 17
3. Click on the form and from the Form menu, select Business View, Add Business
View.
5. Click on the grid and from the Form menu, select Business View, Add Business
View.
2. Insert the following controls onto the form according to the example in the results
section:
Alias Name
SADOCO SADocumentNumber
SADCTO SAOrderType
KCOO CompanyKeyOrderNo
SASRST SAPOStatusCode
SAAN8A00 SAAddressNumberA00
SHAN AddressNumberShipTo
SATRDJ SAOrderDate
SADRQJ SADateRequested
SAADDJ SADateShip
AG AmountGross
• Order Type
• Order Company
196
Lesson 17 Final Course Activity
5. Access Event Rules and on the Post Dialog is Initialized event, using system function
calls to disable the Order Type and Order Company fields:
If SV Form_ Mode is equal to CO UPDATE_MODE
Disable Control(FC Order Type)
Disable Control(FC Order Company)
End If
6. Add an associated description to the Status field and revise the name to be in all
capital letters.
7. For the Order Number field, select the following property options:
• Tab Stop
• Disabled
• Order Number
• Order Type
• Order Company
9. For the Requested Date field, on the Control Options tab, select the Required field
option.
10. For the Supplier Number control, on the Overrides tab, click Data Dictionary
Overrides and disable the Next Numbering option.
11. For the Ship To field, on the Overrides tab, click Data Dictionary Overrides and
disable these options:
• Editing
• Next Numbering
12. Still in Data Dictionary Overrides for the Ship To field, in the Overrides section,
click the Visual Assist button.
13. Create an override to the Class Address Book Search & Select (W550100SA) form.
Note. Use the form override for the Class Address Book Search & Select, rather than
changing the item in the data dictionary itself. This data item is used in other applications
where the Class Address Book Search & Select form is not appropriate.
14. From the Form menu, select Menu/Toolbar Exits and add a Delete button to the
toolbar.
15. For the Total Amount of Purchase Order field, on the General tab, select the
following property options:
• Tab Stop
• Disabled
197
Final Course Activity Lesson 17
Results
Your Purchase Order Revisions form should appear as follows in HTML:
Alias Name
SADOCO SADocumentNumber
SADCTO SAOrderType
KCOO CompanyKeyOrderNo
SALNID SALineNumber
SAITM SAItemNumber
SAUORG SAOrderUnits
SAPRRC SAAmountUnit
SATRDJ SAOrderDate
SADRQJ SADateRequested
SAADDJ SADateShip
198
Lesson 17 Final Course Activity
4. On the grid properties, on the Options tab, select the Automatically Find On Entry
option.
5. For the Line Number field, on the General tab of the properties form, select the
Disable Input attribute.
7. On the General tab of the grid column properties for the math01 data item:
1. On the grid, access Event Rules and then access the Row Exit & Changed – Inline
event.
2. Create the following logic to assign default values to the Order Date, Requested Date,
and Actual Ship Date fields if the user leaves these fields blank (null):
If GC OrderDate is equal to <Null Date>
GC OrderDate = FC Order Date
End If
If GC RequestedDate is equal to <Null Date>
GC RequestedDate = FC Requested
End If
If GC Actual ShipDate is equal to <Null Date>
GC Actual ShipDate = FC Actual Ship
End If
3. Click on the last End If and create the following assignments to pass values from the
Order Number, Order Type, and Order Company fields in the header portion of the
form to the same fields in the grid:
GC OrderNumber = FC Order Number
GC OrTy = FC Order Type
GC OrderCo = FC Order Company
4. Access the Delete Grid Rec Verify – After grid event and create the following
assignment:
FC Gross Amount = [FC Gross Amount]-[GC ExtendedCost]
5. Access the grid properties for the following columns and clear the Visible attribute:
• Order Number
• Order Type
199
Final Course Activity Lesson 17
2. On Event Rules Variables, in the DD Item field enter the math numeric data item
LNID and click Add.
5. Access the Add Grid Rec to DB – After event and create the following assignment to
initialize the variable:
VA frm_mnLineNumberCounter_LNID = "0"
6. Access the Add Last Entry Row to Grid event and create the following assignments
to increment the line number and assign the new value to the next available line:
VA frm_mnLineNumberCounter_LNID = [VA frm_mnLineNumberCounter_LNID]+1
GC LineNumber = VA frm_mnLineNumberCounter_LNID
7. On the form, access Event Rules and then access the Grid Record is Fetched event.
8. Create the following assignment to number the lines as the system retrieves each line
from the database:
If BC Line Number (F571100) is greater than VA
frm_mnLineNumberCounter_LNID
VA frm_mnLineNumberCounter_LNID = BC Line Number (F571100)
EndIf
1. On the form, access Event Rules and then access the Add Record to DB—Before
event.
2. Before adding the record to the database, create the following logic to assign the
business view the values of the form keys in the header area:
BC Sample Application – Document (F570100) Number = FC Order Number
BC Sample Application - Order (F570100) Type = FC Order Type
BC OrderCompany (Order) (F570100) Number = FC Order Company
3. Access the Grid Record is Fetched event and create the following assignment to
calculate the extended cost.:
GC ExtendedCost = [BC Sample Application - Order Units (F571100)]*
[BC Sample Application - Amount - Unit Cost (F571100)]
2. Create the following logic to assign today’s date to the Order Date field on the form
when the user leaves this field blank:
200
Lesson 17 Final Course Activity
4. Create the following assignments to calculate the Total Amount of Purchase Order as
the sum of the extended cost for all purchase order lines that appear on the form, and
then disable the field for input:
FC Gross Amount = [FC Gross Amount]-[GC ExtendedCost]
GC ExtendedCost = [GC QuantityOrdered]*[GC UnitCost]
FC Gross Amount = [FC Gross Amount]+[GC ExtendedCost]
5. On Unit Cost in the grid, access the Col Exited & Changed – Inline event and create
the following assignments:
FC Gross Amount = [FC Gross Amount]-[GC ExtendedCost]
GC ExtendedCost = [GC QuantityOrdered]*[GC UnitCost]
FC Gross Amount = [FC Gross Amount]+[GC ExtendedCost]
5. On the Button Clicked event, create the following form interconnect to call the
Purchase Order Revisions form from the Add button:
Call( App:P570100 , Form: W570100B)
6. Do not pass any data structure parameters.
8. On the Button Clicked event, create the following modeless form interconnect:
Call( App:P570100, Form: W570100B)
9. Pass the following data structure parameters:
10. Save the event rules and exit from Event Rules Design.
201
Final Course Activity Lesson 17
Results
Your Purchase Order Revision form should appear as follows:
202
Lesson 17 Final Course Activity
4. Select the Design Tools tab, and then click Start Form Design Aid.
5. On Form Design Aid, from the Form menu, select Create, Search & Select.
6. On the Search & Select form properties, select Entry Point and enter the following
information:
7. From the Form menu, select Business View, Add Business View.
Alias Name
SATYPE SAItemType
SAAN8A00 SAAddressNumberA00
2. Add an associated description to the Item Type field on the form and revise the title
to all capital letters.
3. Create a group box around the Item Type and Address Number fields.
5. Access properties for the Item Type field and define the following properties:
6. Access properties for the Supplier Number field and define the following properties:
203
Final Course Activity Lesson 17
Results
Your Item Master Search & Select form should appear as follows:
Alias Name
SAITM SAItemNumber
SADSC1 SAItemDescription
SATYPE SAItemType
SAAN8A00 SAAddressNumberA00
204
Lesson 17 Final Course Activity
Results
Your Item Master Search & Select form should appear as follows:
1. Click on the Class Purchase Orders application and access Form Design Aid.
6. Select the Search Form option, and then browse for the W560100SA form using the
Form Name field on the QBE line.
8. On Data Dictionary Overrides, Item Master Search & Select appears next to the
Visual Assist button.
10. From the Preview menu, select Run to test the form.
205
Final Course Activity Lesson 17
Results
The Item Number field of your Purchase Order Revisions - Header/Detail form should
appear as follows in HTML:
206
Lesson 17 Final Course Activity
4. On the Design Tools tab, click Start the Processing Option Design Aid.
8. In the Data Dictionary Browser, enter SADCTO in the Alias column and press Enter.
9. Drag the data item onto the processing option template, under the Default tab.
10. Change the Sample Application Order Type text to the following:
1. In the Class Purchase Orders project, click the Class Purchase Orders application,
and then click Design.
2. On the Design Tools tab, then click Start Form Design Aid.
4. On the Application Properties form, click the ellipse at the end of the Processing
Options Template field.
5. On Select Processing Options Template, enter T570100 in the Object Name field of
the QBE line, and then click Find.
9. Access the Post Dialog is Initialized event and add the following logic:
If PO szSAOrderType is greater than <Blank>
FC Order Type = PO szSAOrderType
Else
FC Order Type = “*”
End If
10. Save the application and exit Form Design Aid.
207
Final Course Activity Lesson 17
2. From the Views drop down menu box, select the Class Applications task view.
3. Right-click the Class Applications task view and select Insert New Task.
208
Lesson 17 Final Course Activity
6. Click OK.
7. Click the Menu Design button to exit the menu design mode.
The Processing Options window appears, prompting you to add an Order Type.
Results
Your Class Purchase Order application should look as follows launched from
EnterpriseOne Menu:
209
Final Course Activity Lesson 17
210
Lesson 18
Course Review
This lesson has no activities.
211
Course Review Lesson 18
Notes
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
212