Executing Stored Procedures using COM API methods

This is developer specific technical tip which can be used in CRM customizations. In customizations we usually execute sql statements using CreateQueryObj function. For Eg. SqlQuery = “Select comp_name from company (nolock) where comp_compname=”+sCompId; SqlObj = eWare.CreateQueryObj(SqlQuery); SqlObj.SelectSQL(); Here to retrieve the value of comp_name we can use SqlObj(“comp_name”). The above example is for the… Read More »

Error while writing scripts on OnChange script section

Recently I came across a problem with OnChangeScript in sage CRM version 7.1. Somehow OnChangeScript for search select advanced fields doesn’t like the script to be on multiple lines! i.e. Below written script doesn’t work: id = document.EntryForm.comp_type.value; alert (‘comp_type:’+id); and Below written script works: id = document.EntryForm.proj_companyid.value;alert (companyid :’+id); First script gives the following… Read More »

Desktop Size Limitation

In my earlier post I had explained the different workarounds if the user gets the below error. https://www.greytrix.com/blogs/sagecrm/2010/04/error-exporting-reports-to-excel-in-crm Recently, I faced the same issue while exporting the Sage CRM standard report into Excel. However when I run the report by setting Display Options as Screen/ Print Preview, then the report runs without any error. Looking… Read More »

User Select field Selection or Finder?

We know how to add user select fields on the screen and use them for assigning users in various business processes. Sometimes you can observe strange behavior of User select fields on some screens. Sometimes you see them as selection fields and sometimes as a text box with magnifying glass. Well, it’s not a strange… Read More »

Enable Sage CRM Entity for WebService

Sage CRM has very well implemented Entity structure to address the concerns of many business modules and efficient methods to access them from COM API as well as external utilities. We can design and implement Primary as well as secondary entities on the fly based on the requirement. All these entities are consolidated under single… Read More »

Alignment of buttons on custom filter screens

When we add new custom screens in Sage CRM, we always make sure that the look and feel of the screen is in synch with the standard screens in CRM. List and filter screen are amongst the common screens which we create for the custom entities. However there can be a little catch in adding buttons… Read More »