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.
- Create a field in your module A : varchar, length 36 for storing ID of another module B
- Create an āafter_retrieveā hook to pull target bean and pull your target field value.
- create a non-db field and put above field value inside this field.
- drag and drop your field in detailView.
- 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.