Customisable Flex Relate Fields / Multiple Flex Relate Fields

Because the field names are hard coded for parent_name, parent_type, parent_id in the depths of SugarCRM it would be hugely beneficial to be able to add multiple flex relate fields (perhaps by linking them to the other relevant field names when “adding field”), also the current flex relate fields do NOT work with custom modules. You can use the vardefs customisation as detailed in the forum posting below, and it works; BUT then it doesnt allow you to set the value using the AOW.