Physical Instance Lists

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 Type AKey1 AKey2 AKey3 Visual ID1 Visual ID2

SECTIONS

ADM 01

 

ADM

01

EMPLOYEES

ADM 01 A1001

A1001

BEN JONES

EMPLOYEES

ADM 01 A1012

A1012

PATRICK PAUL

SECTIONS

ADM 02

 

ADM

02

EMPLOYEES

ADM 02 A0090

A0090

FRED BLOOGS

EMPLOYEES

ADM 02 A1014

A1014

JOHN MOORE

SECTIONS

LEG 01

 

LEG

01

EMPLOYEES

LEG 01 A1019

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: