Questions tagged [sugarbean]

SugarBean is the base class for all business objects in Sugar CRM. It implements the primary functionality needed for manipulating business objects: create, retrieve, update, delete. It allows for searching and retrieving list of records. It allows for retrieving related objects (e.g. contacts related to a specific account).

SugarBean is the base class for all business objects in Sugar CRM. It implements the primary functionality needed for manipulating business objects: create, retrieve, update, delete. It allows for searching and retrieving list of records. It allows for retrieving related objects (e.g. contacts related to a specific account).

53 questions
1
vote
0 answers

Default relate to field in meetings module

In the sugarcrm old version. there is a advance search in the meetings module. in that the relate to field (drop-down) is always defaulted to account. (field name is parent_name_advanced or parent_type) So if we do search by opps or tasks or any…
user3054077
  • 49
  • 2
  • 7
1
vote
2 answers

SugarCRM 7 SugarQuery() join statement with custom modules

I'm trying to write a simple query in Sugar 7.2 that will join a table. This SQL is what I'm trying to create in the Sugar framework using SugarQuery(). SELECT * FROM keyname_table_a LEFT JOIN keyname_table_b So what I've created is the following.…
darkhorizon
  • 530
  • 6
  • 12
1
vote
1 answer

SugarCRM Custom Dropdown Field

I have made a custom dropdown field in leads module. Its a dynamically fetching users from users table from the leads module as key => value pair. The field works fine but when in the edit mode (create a new lead)...the value is not getting stored…
user3054077
  • 49
  • 2
  • 7
1
vote
1 answer

How can I remove the "unlink relationship" either permanently, user based or amount of relationships?

On SugarCRM 7+ how can I remove the "unlink relationship" either permanently, user based or amount of relationships? My problem is that I have two custom modules with a many-to-many relationship between them and I can't limit a user from editing,…
Jake Armstrong
  • 569
  • 4
  • 21
1
vote
2 answers

SubPanel Displays Records but Reverts to 10 on Deletion

I have increased the number of records that is shown in a SubPanel for a custom module I created:
user794846
  • 1,881
  • 5
  • 29
  • 72
1
vote
1 answer

SugarCRM over ride the edit view buttons in custom view that extends ViewEdit?

I have created a custom view in Calls that is based on the editview but I want to change the save button to post back to a custom action in my custom controller. I think I basically need to overide the editview defs with my own defs. I have tried…
user794846
  • 1,881
  • 5
  • 29
  • 72
1
vote
1 answer

I can not resolve this error in SugarCRM

In SugarCRM (program management) module called "projects" by default does not come with the "import", it added eh following programming steps: http://forums.sugarcrm.com/f148/how-add-importación-opción-custom-modules-45612/ Now I throw the error…
0
votes
1 answer

Adding user input into Edited field

I want to add an edit function if user decides to change the field value but i cant seem to find the right way to do this. Ive tried searching through google but it doesn't give any answer related for this problem. code here:
s0m3d3v
  • 177
  • 1
  • 13
0
votes
1 answer

What is the best approach to get all records related to a team in SugarCRM

Suppose that we have a team named 'Team A' having an id 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' and we want to get all the records where this team have been related for example all related Accounts, Leads, Contacts etc There is also a possibility…
Sheikh Rahat Ali
  • 1,293
  • 8
  • 37
  • 61
0
votes
2 answers

How to make sure that Sugar field validation has enough time to run

I'm trying to create a field validation in the Opportunity module that will throw an error when a user tries to change a commit stage from "Upside" or "Commit" back to "Funnel". The validation function in record.js runs as the user attempts to save…
yvoloshin
  • 378
  • 6
  • 18
0
votes
1 answer

How can I create custom file upload field in opportunities

I'm working with sugar 8.3. I'm trying to create custom field for upload documents. I have create vardef file, but when I click on save record, file uploaded properly but not display in…
0
votes
0 answers

Exporting relationship fields in Leads Module

In Leads module, I have One-to-Many relationships called leads_assigned_user and campaign_leads. The first one is a user assigned to a lead and the second one is a campaign associated with a lead. In List view, the assigned user is shown as a column…
yvoloshin
  • 378
  • 6
  • 18
0
votes
2 answers

SugarCRM Get an effective TimeDate from a SugarBean field

I must be missing something obvious, but it seems that I'm unable to find a way to get the TimeDate object from the value of a SugarBean field. Let's say I get a specific Lead with this kind of call: $lead = BeanFactory::retrieveBean('Leads',…
0
votes
3 answers

Logic Hook on Emails synced from IMAP Server

I am trying to add a Logic Hook for Emails synced from IMAP Mail server. In the end i want trigger a hook when a new mail gets synced and check the senders mail if its saved in one of the accounts. The problem is that the Synced Mails dont get saved…
Velrest
  • 300
  • 1
  • 3
  • 18
0
votes
1 answer

Want to call Webapi set entry Suite CRM 6.5

I have a Login form with three fields. I want to post the data into a specific module of sugar through API. Where do I write that API? I set the entry point and the call but don't know how to hit that API.
anila
  • 119
  • 2
  • 3
  • 8