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
4
votes
1 answer

How to integrate web services with custom module in SugarCRM?

I'm using SugarCRM to develop a software for customers management. I created a custom module from basic template with custom fields. Is it possible to get rid of SugarCRM db and perform CRUD operations through external web serivices? Actually I was…
scatolone
  • 733
  • 1
  • 5
  • 21
4
votes
2 answers

Multi-tenancy in SugarCRM

I am looking for a multi tenant solution with sugarcrm. Please note that,I don't like to go with creating multiple Sugarcrms instances. In fact, I want to offer a solution for multiple organizations with different contacts, clients ... etc. I am…
edaklij
  • 4,121
  • 11
  • 31
  • 43
3
votes
1 answer

Use SugarCRM Beans to retrieve data

I needed to convert this SQL query to bean format. "SELECT first_name, last_name FROM leads INNER JOIN contacts_leads_1_c ON leads.id=contacts_leads_1_c.contacts_leads_1leads_idb where…
John Dcruz
  • 61
  • 1
  • 8
3
votes
1 answer

REST Api for Sugarcrm

Sugarcrm is providing Restful API support.So how can i check json response using rest client(browser plugin to check restful web services)?. I am developing a web-app using spring MVC(Restful API).I want to use sugarcrm as my crm module.how can i…
rplg
  • 232
  • 3
  • 12
2
votes
1 answer

sugarcrm Sidecar and clients tutorial

I am not good at sugarcrm sidecars framework and clients also try to get from lot of tutorial but can't find explanatory tutorial of it. can anyone guide me for the same
Deepesh
  • 180
  • 16
2
votes
1 answer

Rendering a record view using drawer in sugarcrm

I am new to sugarcrm. I need to make a create and edit drawer view for a sugar module from another view. so i worked with drawer. i implemented the create view but i am struggling with the record view. Any suggestions would be helpful. Code for…
Parithiban
  • 1,656
  • 11
  • 16
2
votes
1 answer

Implementing a custom filter in SugarCRM based on relationship ID

I've defined a many-to-many relationship between Accounts and a custom module (Tags). Tags have a subpanel in Accounts; however, I need a custom filter on Accounts that will show all the Accounts records related to the Tag name you type…
Karl Hill
  • 12,937
  • 5
  • 58
  • 95
2
votes
1 answer

Sugarcrm Dependent Field Formula

In SugarCRM I'm trying to make a dependent field that will be visible if the Dropdown is equal to "Specialist". But I see the dependent field while loading the page itself in that tab. The Dependent field is in different TAB is that a problem? My…
DonOfDen
  • 3,968
  • 11
  • 62
  • 112
2
votes
0 answers

SugarCRM: Subpanel - Enable Create Button

I am new to sugarcrm. I am working with subpanel linking Accounts & Users module with Many-To-Many relationship. After ccreating subpanel My create button in subpanel is not working. Why was this not working? can some one guide me to make it…
DonOfDen
  • 3,968
  • 11
  • 62
  • 112
2
votes
1 answer

Set the default value for a module field in SugarCRM

I have a module named Cases in my SugarCRM environment which has several fields like name, id, account_name, date_created, description and so on, and one custom field named custom_account_number. I want to set its value to the one of the…
hemanth kumar
  • 529
  • 1
  • 6
  • 25
2
votes
2 answers

How to change Currency Fields on the DetailView using the Sugar Bean - SugarCRM

I am using SugarCRM 6.5.20 CE Problem: Add the '$' sign before fields that contain currency. Solution: $this->bean->final_sale_amount_c = '$' . $this->bean->final_sale_amount_c; This solution works on all fields that are text fields. It will change…
Josh Whitlow
  • 481
  • 6
  • 25
2
votes
1 answer

How to access other module data table SugarCRM

I am writing logic hook and I need to update 1 module fields by using other module elements. ignore_update_c)||$bean->ignore_update_c…
2
votes
1 answer

Restricting Access to Edit in SugarCRM

I want to restrict editing of a record based on custom rules. I was able to restrict the list view, but cannot seem to get the edit restriction working. In the custom controller, I have class CustomOpportunitiesController extends SugarController {…
Chloe
  • 25,162
  • 40
  • 190
  • 357
2
votes
4 answers

Programmatically set Start Date & Time in calls Edit view

I am trying to set the Start Date & Time automatically to the users current date and time when logging a call. This is to be set prior to loading the view. The code is working but it is not taking into account my time zone, it is an hour behind and…
user794846
  • 1,881
  • 5
  • 29
  • 72
2
votes
0 answers

Explanation of Sugar CRM's `field_arrays.php`

In SugarCRM, every code module with a bean has a field_arrays.php file. ex. #File: modules/Accounts/field_arrays.php These files define an array which is merged by code in the base SugarBean class, and appear to create four special designations…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
1
2 3 4