Link a field to retrieve information from another module

Hi, I would ask if is it possibile to have a field in a module (for exemple Meeting) and make happen that field take the value form another field from a different module( for exemple Account).
An exemple is if I want to add a field in Meeting called City (city of meeting) and I want that the value of that field is the value from the field City(city of the account) in the module Account; I have the name of the account in a relateā€™s field in Meeting.
My version of SuiteCRM is 7.11.7 .
Thanks.

All you need to do this.

  1. Create a field in your module A : varchar, length 36 for storing ID of another module B
  2. Create an ā€œafter_retrieveā€ hook to pull target bean and pull your target field value.
  3. create a non-db field and put above field value inside this field.
  4. drag and drop your field in detailView.
  5. if you are looking to show this field value inside listview/popup or subpnael, you need to create a ā€œprocess_recordā€ hook as well. just call same class and function.