SugarCRM: retrieve a record ID using name and other fields

Use the function retrieve_by_string_fields to retrieve a record using multiple search filters.
See Example below:

$call = new Call();
$call->retrieve_by_string_fields(array('name'=>'NAMETOSEARCH','deleted'=>0,'assigned_user_id'=>'USER_ID'));
echo $call->description;

Advertisements
SugarCRM: retrieve a record ID using name and other fields

4 thoughts on “SugarCRM: retrieve a record ID using name and other fields

  1. That is a important point, I am very willing to read this article, and I consent with the opinions of this text. I think this is the best opinion. I would like to do something after reading it.

    Like

  2. Aw, this was a very nice post. In concept I wish to put in writing like this additionally ? taking time and precise effort to make a very good article? however what can I say? I procrastinate alot and on no account appear to get one thing done.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s