TOPIC: Auto Populate Custom Field in Quotes Module with Information From Accounts Module
Auto Populate Custom Field in Quotes Module with Information From Accounts Module
3 months 1 week ago #75409
Hello Everyone. I am new to SuiteCRM and currently stuck trying to figure out a particular customization. I have searched the forum and the web but still couldn't figure it out as programming is not my forte. Hence, I have opened a new post seeking for help.
In the quotes module, if I click on the Account field, the billing & shipping addresses will auto populate from the Accounts Module.
I have created a custom field PHONE_OFFICE_C and would like to auto populate from the Accounts Module as well (PHONE_OFFICE).
a) I have tried to modify the controller.php (AOS_Quotes) using $bean but it does not work (perhaps my understanding is incorrect).
b) I have also tried to use 'displayParams' but no avail (editviewdefs.php under customs AOS_Quotes). I have used 'key' => 'billing', and have tried to use "field_to_name_array" but neither works. Most likely my coding is incorrect as well.