I have a custom module which has two parts in a parent/child relationship: Kits and Components. I want to be able to update some attributes of the link record (sequence number and quantity) accessed via the child subpanel (Component) of the parent (Kit) detail view. I have added the fields in the db and have copied and modified the code as per the Opportunity/Contact relationship and this is working almost completely except that the record selected on the subpanel is not passed to the edit relationship form. How do I get the subpanel to pass the correct criteria?

TIA for your help