Step 2 Define Accounts Subtypes

VLF Windows Application Development

Step 2. Define Accounts Subtypes

VFW124 – Using Business Object SubTypes

1.  Open the Properties dialog for business object Accounts.

2.  Select the Instance List / Relationships tab.

3.  Set up the instance list columns as per the table:

Seq

Type

Caption

Width

Decimals

Edit Code

10

VisualID1

Account Number

15

 

 

20

VisualID2

Account Name

30

 

 

30

AColumn1

Account Type

15

 

 

40

NColumn1

Account Balance

40

2

2

 

4.  Save and Restart your Framework. Select Accounts business object and fill the instance list using the Emulate Search button, to confirm your instance list definition

5.  Account Subtypes will be defined based on the following:

Account Type

Subtype

CHECK

CHK

SAVINGS

SAV

INVESTMENT

INV

 

6.  Open the Properties dialog for Accounts and select the Subtypes tab.

7.  Select each Command and enable and disable it for Subtypes based on the following table:

Command

Enable for Subtypes

Disable for Subtypes

Details

ALL

NONE

Approve

CHK

OTHERS

Dates

CHK

OTHERS

History

ALL

NONE

Transactions

CHK, INV

OTHERS

Charges

SAV

OTHERS

Schedules

INV

OTHERS

 

8.  Save and Restart your Framework. In the next step you will create a hidden filter to populate the instance list, which will enable you to see your Subtypes working.