Skip to content


Using Restrictions in the CRM Query Builder

The CRM query builder won’t allow you to do everything you can do in SQL, but you can get close.

Here are some of the common issues encountered when creating a CRM Query.

How do I say not equal to, ‘<>’ will not work?

This is correct, the CRM FetchXML won’t accept  <>. It will accept !=  so you will want your query to look like the one below.

Using multiple ‘Or’ statements are not being grouped correctly.

Here is a picture of the incorrect way to use multiple ‘Or’ statements.

This method won’t work, because the SQL statement will be put together as:

SELECT account.*, account.address1_shippingmethodcode,
FROM account
WHERE (account.address1_shippingmethodcode = 1 AND
  account.address1_addresstypecode = ‘Primary’) OR
  (account.address1_shippingmethodcode = 2 AND account.address1_addresstypecode
  = ‘Secondary’)

Notice that the 1 is only with Primary, and the 2 is only with Secondary. I want the statement to look like this:

SELECT account.*, account.address1_shippingmethodcode,
FROM account
WHERE (account.address1_shippingmethodcode = 1 OR
account.address1_shippingmethodcode = 2) AND
  (account.address1_addresstypecode = ‘Primary’ OR
account.address1_addresstypecode = ‘Secondary’)

Here is how you enter multiple ‘Or’ statements in the query builder.

If you are encountering something not listed here, email


Salesforce Error: Unable to create/update fields check security settings
How to Access Registration Keys, Account Codes, & Customer IDs
This server has rejected the client credentials.
Business Central Phone No. must not contain letters Error
not-null property references a null or transient value eOne.SmartConnect.Connectors.Crm2011.MsCrm2011Connector.ClientID


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site



Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock promotions release SalesForce SmartConnect SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.