I’ve created a custom module called Target Companies with a one to many relationship to Targets (Prospects). When I edit the target, I can relate a Target Company to the target. Then when I got to view the target I just edited, I can see the related Target Company, and when I click the link it brings me to the Target Company record, as expected.
The problem is when I view the Target Company, I don’t see the the related target in the targets panel. I have to manually select the target to get it to show in the panel.
The quick repair and repair relationships did not help. Which files should I check the permissions of?
What exactly do you mean by this? After I select the related “target company”, and save the the target, when I go to view the target, I can see the link to the selected target company in the detail view of the target record. If I click the link, it takes me to the correct target company record, as expected. But from the target company record, I can not see any related targets in the sub panel.
The only way to get the target to show up in the targets subpanel list on the target company record is to select the target using the button on the subpanel in the target company record (detail view).
I noticed there is a table in the database called ‘target_companies_prospects_1_c’. If I relate the target to the target company from the subpanel, a row relating the two will show up in this table. But when I relate a target company to the target and save the target record, I do not see a row added to this table.