sugarcrm

Creating Custom Module Fields in SugarCRM over SOAP Interface

Hi all, we're using SugarCRM as the back-end for a web application. We automatically generate Java client-side stub SOAP classes using Apache Axis, and using these classes we are able to login through Sugar, create new Contacts, change field values, etc. (All using the SOAP interface.) We will be using a number of different SugarCRM ins...

SugarCRM 6: Overriding default ACL / Teams security

I have created a new field in the Opportunities module that lists all the users in the system. This is a multi-select field. So, all the users selected for a particular Opportunity should have read / write access to that specific Opportunity, whether or not they are in the 'Permission Tree'. How can I make this happen? I already have a...

SugarCRM over SOAP - V2

We're using Apache Axis to generate client-side stubs to communicate with SugarCRM in a Java application. As of a few days ago, we were using the WSDL file at http://.../soap.php?wsdl to generate our stubs. We found the version 2 WSDL file at http://.../services/v2/soap.php?wsdl, and out of necessity to delete relationships, we upgraded...

SugarCRM 5.5.2 Rest api -- login failure

I need to be able to use the API for SugarCRM to exchange information with several other applications. I found the api docs, and some good articles with sample code. The end result of my code is to send this command: http://localhost/sugarcrm/service/v2/rest.php?method=login&input_type=json&response_type=json&rest_data={%2...

Converting a business requirement into a software

I have to map the following relationship into a software. the requirement is pretty standard which makes me believe, there must be already a script / open source solution for it. REGION ---(one to many)--> LOCATION ---(one to many)---> ACCOUNT --(ONE TO MANY)---> TICKETS i need an open source solution which can handle CRUD (create, ret...

PHP SAFE MODE problem on host server when installing Sugar CRM

Hi guys! I am trying to install Sugar community edition to our host server, but I am getting the PHP SAFE MODE ERRROR, and installation can not proceed. I see that the safe mode is turned off/on in the php.ini, but I dont have access to that file on the server..... Are there any work-arounds this??? I tried with editing the htaccess fil...

Integrating SugarCRM with Microsoft Exchange Server

What I need is a connector for integrating SugarCRM with Microsoft Exchange server. I am using SugarCRM CE 6.0.2 ...

Vtiger Client response email for updating ticket

Hello everyone, I could get the following things done.. Client sends e-mail to [email protected] Mail Scanner scans, creates a ticket. A notification is sent that email is received by support team to client. Admin assigns the ticket to someone, client recieves an email that the ticket is being assigned. Client replies to the email, t...

SugarCRM: Adding a variable to the session on user login

Hi, I need to add some information to the session upon user login. Where is the best place to do this in SugarCRM? Thanks. ...

SugarCRM: Create DRAFT Email via SOAP

Hello, Is it possible to create DRAFT emails via SOAP? I've got this custom button which generates an invoice number upon clicking (via AJAX) and updates the Lead screen with the number. Behind the scenes a PDF file bearing the same invoice number is generated and attached to the Lead as a NOTE (with the PDF as note attachment). Howeve...

SugarCRM: Create NOTE with Attachment without SOAP?

Hello all, I've got this custom button on Lead Editview that when clicked on generates (via AJAX) an invoice number and a PDF bearing the same number. In the next step, the routine uses SOAP to loopback to Sugar and creates a Note (along with the PDF as attachment). My question is can I avoid this SOAP call and use some other inter...

problem with SugarCRM get_note_attachment function

When the attachment file is a image or doc file , then the response is not in xml format.not even in human readable format (when seen in soapUI), and if the attachment file is a small text file , in this case the response is in xml format and file is got as base64 format string with the response in tag. I want to download a attached...

Querying on Leads Status in SugarCRM Using NuSOAP

I'm trying to get back an entry list of leads by status. The query I'm using is "leads.status = 'New'" however when I try this in php, I get back leads of other statuses as well. function get_leads_over_x_days($session_id, $days) { $daysAgo = date("m/d/Y", strtotime($days . ' days ago')); $where = "leads.status=...

SugarCRM/MySQL How to auto-generate a randomized alphanumeric number?

Need a field with a 10 character alpha-numberic field for use as a customer ID. I'm going to try and be as specific as possible here, so I have broken it down into a list of questions. How do you create such a field in MySQL? -Needs to be both numbers and letters -Needs to be able to not duplicate -Needs to be auto generated -Needs to ...