List2 with multiple parent relations to the same table [message #1770] |
Wed, 29 October 2008 14:18 |
ikatz
Messages: 40 Registered: December 2007 Location: Durham, NH
|
Member |
|
|
I have a table for organizations, and a table for vehicles. There are 3 links from the vehicle table to the organization table:
vehicle.manuf_organization_id ==> organization.organization_id
vehicle.owner_organization_id ==> organization.organization_id
vehicle.operator_organization_id ==> organization.organization_id
I am trying to set up a vehicle(list2) navigation button from my organization(list1) screen, so that the owner_organization_id is taken from the organization_id of the selected organization record. The controller for the vehicle(list2) is using the aliased organization table:
$outer_table = 'owner_organization';
The organization details are correctly displayed at the top of the list2 page.
However, executing an add2 from this list2 transaction produces a "No parent has been selected yet."
I assume I need to do something to the controller file for either the vehicle(list2) or organization(list1) to make the translation between organization_id and owner_organization_id work. But what is it?
|
|
|