Summary

VLF Windows Application Development

Summary

VFW100 – Define a Parent/Child Instance List

Important Observations

  • You can create instance lists that contain more than one type of object. You do this by defining relationships between business objects. The relationships can either be peer-to-peer or parent-child.
  • In situations where you want to completely fill the business object instance list programmatically, the filter has no meaningful interaction with the end-user and can be hidden from view.
  • A relationship handler is an RDML function that is called to dynamically expand the relationship between a parent and child object. By doing this you can improve filter performance by only adding root or parent objects to the instance list initially.
  • The Framework instance list can display up to 10 alphanumeric and/or 10 numeric additional columns in an instance list.

Tips & Techniques

  • The shipped framework demo applications contain many examples. The Advanced section of the Programming Techniques sample application has examples of advanced instance lists.
  • LANSA supplies a sample relationship handler to copy from when you create your relationships. The source is stored in function DF_REL01 in the process DF_PROC.

What I Should Know

  • How to create a parent-child relationship between business object.
  • How to create a hidden filter.
  • How to write a relationship handler.
  • How to add additional columns to the instance list.