Author Archives: greysagecrm

EOleException error while executing Procedure

You must have seen this irritating error while executing Stored Procedure from Workflow Action. EOleException: Procedure or function TESTSP has too many arguments specified. Solution: The point is that, when Stored Procedure gets executed from the Workflow action, CRM appends default parameters to the Execute Procedure statement. So we have to declare these parameters at… Read More »

Interesting fact about Values () collection:

Let’s consider the case of creating new opportunity as an example. Consider that you want to set value of oppo_description field based on oppo_type field i.e. say you want to set description field to “Hello World” if oppo_type is set to parts. Now normally what comes in our head to incorporate this is something like,… Read More »

Create Same Company in another Database

When you create a company in your CRM database and at the same time looking to create the same company in another CRM database, then you can do this by defining below trigger for your source database: CREATE TRIGGER trig_insert_CompanyON [CRMSOURCEDB].[dbo].[Company]FOR INSERTAS DECLARE @Company_Id AS INTEXEC @Company_Id = [CRMDESTDB].dbo.eware_get_identity_id ‘Company’ INSERT [CRMDESTDB].dbo.Company (comp_companyid,comp_name,comp_type)SELECT @Company_Id,comp_name,comp_typeFROM inserted

Adding tooltip to hyperlink

Description:Now in SageCRM, if any one wants to display tooltip on mouse over on hyperlink to view any details. It can also be customize to view image in the tooltip. Solution:To achieve this, you only need to call function on mouse over and mouse out event on the anchor tag. We have also customized this… Read More »

Sage CRM Product Import

Greytrix released a new tool that will import the products from an excel sheet into Sage CRM and Sage CRM.com. Like most of the other integration products, the product import tool uses Sage CRM web-services to import data in Sage CRM. Along with the installation, Greytrix provides the user with the excel spreadsheet template. The… Read More »