Step 1 Define New Business Objects

VLF Windows Application Development

Step 1. Define New Business Objects

VFW100 – Define a Parent/Child Instance List

In this step you will create two new business objects and define a number of actions for each, using the Instant Prototyping Assistant.

1. Open the Framework as Designer, and start the Instant Prototyping Assistant from the Framework menu.

a.  Define two new business objects: _Departments and _Sections. Note the underscore which avoids a clash with existing demo application objects.

b.  Define actions Transfers, Copy, Resources, Images and Picture.

c.  Attach Details, Transfers, Copy and New to the _Departments business object

d.  Attach Details, Resources, Images, Picture, Transfers and New to the _Sections business object

e.  Attach _Departments and _Sections to the iii HR Application.

f.  Click Next then the Finish button to update your iii HR Application

Your extended Framework should look like the following:

2.  Save your Framework.

3.  In this step you will refine the new prototype objects which will be used in a number of the following exercises:

a.  Open the _Departments Business Object Properties dialog. Select the Commands Enabled tab. Select the Copy action and make it a Business Object Command.

     When the Please Note….. dialog appears, unselect the "Warn me…." Checkbox and Close the dialog. You will save and restart the Framework in a later step.

b.  Select the Command Display tab, and change the Object Command Display setting to Separate Stay on top window.

c.  Select the Icons tab and give the _Departments any suitable icon.

d.  Close the Business Object Properties dialog.

e.  Open the Properties dialog for the _Sections business object. Select the Icons tab and give the _Sections business object any suitable icon.

f.  Save and Restart the Framework.

4.  In this step you will define the instance list relationship and additional columns.

a.  Open the Properties dialog for the _Departments business object.

b.  Select the Instance List / Relationships tab.

c.  In the list of business objects, select _Sections. Define it as a Child or Descendant.

d.  Unselect Allow Selection from Navigation Pane.

e.  Unselect Side by Side Display. Close the Please Note…. dialog.

f.  Define the following additional Instance List columns in the sequence shown:

Type Column

Caption

AColumn1

Address Line 1

AColumn2

Address Line 2

AColumn3

Address Line 3

NColumn1

Post Code

AColumns4

Phone Number

 

g.  Change the VISUALID1 column Caption to Code.

h.  Close the Properties dialog and Save and Exit the Framework.

i.  Execute the Framework as an End User. Click the Emulate Search button and expand the Instance List tree view.

     Your design should now look like the following:

5.  Validate your prototype _Departments and _Sections business objects.

6.  Confirm the Instance list columns and the commands available for the new business objects.

7.  Close the Framework.