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

Add Record To Relationship table – SugarCRM / SuiteCRM

SugarCRM, SuiteCRM Navin Rakhonde
Here there is one to many relation ship between Target(Prospect) to LeadAnd the relation is ‘prospects_leads_1’So we can add relationship table entry using following code. $object = BeanFactory::getBean(‘<module_name>’, $bean->id); $object->load_relationship(‘<relationship_module_name>’); $object->prospects_leads_1->add($bean-><module_id>); Note :1. Here, <module_name> means the module name you see in the URL, for example, Contacts, Leads, Accounts, etc.2.…
Read More