Is it possible to change a Relate field (not relationship or Flex Relate) using a logic hook in Sugar Enterprise 184.108.40.206? If so, how? Thanks!
Yes sure, you can, but you must be aware that there are two different fields created for related fields - a name holding field and a link holding field - and they have special naming conventions.
E.g. if you create e new field mylink referring to bugs, the two different fields are created:
1st the name holding non-db field mylink_c and 2nd the link holding field bug_id_c.
In the hook you have to change the link holding field if you want to store it in the database.
It is senseless to change the name holding field.
If you have a second related field to the same module it is enumerated after the id-part, so a second link to bugs would be stored in bug_id1_c, a third in bug_id2_c.
Hi John Bievenour
Can you clarify what changes would you like to implement?
Thank you very much for the detailed reply. It helped me with the Relate Field issue and also helped me figure out how to create a Dependency on a field (which was something I had be wrestling with for a few days). Thanks again!
Retrieving data ...