SugarCRM 7 – Apply initial filter in relate fields and relationship fields with quick(popup) search

SugarCRM 7 Navin Rakhonde
In this article,I will be explaining how to apply initial filter in relationship fields including quick(popup) search in Sugarcrm7.x.Lets say we have accounts module(sugarcrm out of the box module),is having one-to-many relationship with accounts module,for the purpose of linking new records to old(parent) record.This is not sugar out of the…
Read More

SugarCRM: Populating fields using a Relate field

SugarCRM, SuiteCRM Navin Rakhonde
This will enable you to populate a field/fields when a value is selected in a relate field. Steps are as below, Step 1:  Go to <sugar>/custom/Extension/modules/<MODULE_NAME>/Ext/Vardefs/ and create a new file (ex. vardef.ext.php) Step 2:  Add the following codes to the file: (This is for the quicksearch) $dictionary['<MODULE_NAME>']['fields']['<RELATE_FIELD>']['populate_list'] = array('name', 'id',…
Read More