As a developer it may be useful to understand how the actual instance list data content is physically stored and processed.

Some basics of the physical side of instance lists (also see Programmatic Identifiers earlier in this section):

In the shipped SECTIONS business object the key usage protocol is defined as AKey1 = Department Code and AKey2 = Section Code.

In the shipped EMPLOYEES business object the key usage protocol as AKey1 = Department Code, AKey2 = Section Code and AKey3 = Employee Number.

This means there is a structured key relationship between a parent SECTION and child EMPLOYEE. 

If you are trying to visualize the physically mixed SECTIONS/EMPLOYEES instance list in your mind, imagine the entries looking something like this:


Business Object TypeAKey1AKey2AKey3Visual ID1Visual ID2

SECTIONS

ADM01


ADM

01

EMPLOYEES

ADM01 A1001

A1001

BEN JONES

EMPLOYEES

ADM01 A1012

A1012

PATRICK PAUL

SECTIONS

ADM02


ADM

02

EMPLOYEES

ADM02A0090

A0090

FRED BLOOGS

EMPLOYEES

ADM02A1014

A1014

JOHN MOORE

SECTIONS

LEG01


LEG

01

EMPLOYEES

LEG01A1019

A1019

CHARLES DICKENS

etc.







This key structure relationship between parent SECTIONS and child EMPLOYEES is absolutely vital to being able to process instance lists sensibly, and to displaying them in Visual LANSA tree controls.  Also see Planning parent-child relationship in VLF-WIN.

There are some things about this physical instance list that are worth noting: