Hi,
following the guide:
http://developer.sugarcrm.com/2011/08/31/howto-using-a-relate-field-to-populate-a-custom-field/
I’ve sucessfully autofill a relate field and populating my custom fileds however when the fields are filled in the parent relate field this error coming:
No match for field: My Custom Field
My Code:
Custom field in Leads relate to Contacts:
This is my vardefs
$dictionary[‘Lead’][‘fields’][‘dbgit_contactaccountdir_c’][‘populate_list’] = array(‘name’,‘salutation’,‘first_name’,‘last_name’,‘title’,‘department’,‘email1’,‘phone_work’,‘phone_mobile’,‘phone_fax’,‘dbgit_accountname_hidden_c’);
$dictionary[‘Lead’][‘fields’][‘dbgit_contactaccountdir_c’][‘field_list’] = array(‘name’,‘salutation’,‘first_name’,‘last_name’,‘title’,‘department’,‘dbgit_email1_c’,‘phone_work’,‘phone_mobile’,‘phone_fax’,‘account_name’);
So the contents in parent relate field is not recognized as valid
I need to understand one of this way to solve:
-> clear relate field once selected
or
-> fill the parent relate field with a coherent value.
See Attached image
Thank you