CData Python Connector for Microsoft Dynamics CRM

Build 26.0.9655

CData Python Connector for Microsoft Dynamics CRM

Overview

The CData Python Connector for Microsoft Dynamics CRM allows developers to write Python scripts with connectivity to Microsoft Dynamics CRM. The connector wraps the complexity of accessing Microsoft Dynamics CRM data in an interface commonly used by Python connectors to common database systems.

Key Features

  • WHL installation packages that enable installation with "pip install".
  • Supported for Python 3.10 or newer on Windows, Linux, and macOS.
  • Write and execute SQL queries to fetch and update data in Microsoft Dynamics CRM.
  • Custom dialect class that enables SQLAlchemy 1.3 and 1.4 to use this connector.

Getting Started

See Getting Started to install the connector to your Python distribution and to create a basic connection to Microsoft Dynamics CRM.

Using the Python Connector/Using from Tools

See Using the Connector for examples of executing basic SELECT, INSERT, UPDATE, DELETE, and EXECUTE queries with the module's provided classes.

See Using from Tools to connect Microsoft Dynamics CRM data to tools such as Pandas or Petl.

SQLAlchemy ORM

SQLAlchemy can be leveraged to model the tables in Microsoft Dynamics CRM with mapped classes. See From SQLAlchemy for instructions for configuring the Python connector with SQLAlchemy.

Pandas

Pandas' DataFrames can be used alongside the connector to generate analytical graphics. See From Pandas for a guide.

Schema Discovery

See Schema Discovery to query the provided system tables, which allows users to discover the available tables, views, and stored procedure, alongside additional information about their columns or parameters.

Advanced Features

Advanced Features details additional features supported by the connector, such as defining user defined views, ssl configuration, remoting, caching, firewall/proxy settings, and advanced logging.

SQL Compliance

See SQL Compliance for a syntax reference and code examples outlining the supported SQL.

Data Model

See Data Model for the available database objects. This section also provides more detailed information on querying specific Microsoft Dynamics CRM entities.

Connection String Options

The Connection properties describe the various options that can be used to establish a connection.

CData Python Connector for Microsoft Dynamics CRM

Getting Started

Connecting to Microsoft Dynamics CRM

For information on the available WHL files for supported environments, and how to install the appropriate file for your Python distribution, see Package Installation.

For information on the module to import, and how to configure the necessary connection properties in a connection string, see Establishing a Connection.

Other available connection properties can be used to configure other aspects of the connector capabilities.

Python Version Support

The CData Python Connector for Microsoft Dynamics CRM can be installed and used in Python 3.10 or newer.

Microsoft Dynamics CRM Version Support

The connector models CRM on-premise or hosted Microsoft Dynamics 365 instances as read/write, relational databases. The connector uses versions 2011+ of the CRM Web Services APIs to connect to Dynamics CRM data. The connector supports forms-based and claims-based authentication to the API.

See Also

  • Using the Connector: Establish connections and query Microsoft Dynamics CRM through Python code.
  • From SQLAlchemy: Use SQLAlchemy to establish a connection with dialect URL, and interact with Microsoft Dynamics CRM data using mapped classes and Sessions.

CData Python Connector for Microsoft Dynamics CRM

Package Installation

Dependencies

The Python connectors require that Python 3.10 or newer be installed.

Installation

The CData Python Connector for Microsoft Dynamics CRM is available as a WHL file for Windows, Linux, and Mac. Each connector is built using the Python 3.10 Stable ABI (indicated by the abi3 tag in the filename), so a single wheel supports any Python 3.10 or newer installation — there is no need to match your exact Python minor version. Use the "pip install" command with the appropriate WHL file for your platform.

Windows:

pip install cdata_dynamicscrm_connector-26.0.9655-cp310-abi3-win_amd64.whl

Linux:

pip install cdata_dynamicscrm_connector-26.0.9655-cp310-abi3-linux_x86_64.whl

macOS:

pip install cdata_dynamicscrm_connector-26.0.9655-cp310-abi3-macosx_12_0_arm64.whl

The macOS wheel supports arm64 (Apple Silicon) architectures only on macOS 12 and newer.

Regardless of the environment, certain distributions might require that the "pip3 install" command be used instead, to differentiate from a Python 2 distribution that might exist already. After installation, confirm whether the connector is successfully installed by running the "pip list" command. If "cdata_dynamicscrm_connector" is present in the list output by the command, then the installation was successful.

Upgrading

When upgrading, "pip install" does not automatically clean up old JRE files. To avoid leftover files that could cause JVM errors, uninstall the previous version before installing the new one.

Licensing

After the installation is complete, a separate step is needed to activate a license for the connector. Among the CData assets in the distribution's site packages, there is an install-license tool that activates this license. From within the distribution's site-packages folder, after navigating to the "cdata/installlic_dynamicscrm" folder, simply use a command like the below to activate the license. Omitting the <key> argument activates a trial license:

  • Windows:
    ./install-license.exe <key>
  • Linux / Mac:
    ./install-license.sh <key>

Sometimes, file access issues may cause pip to install the connector in a fallback file path that is not the python distribution's main or primary site-packages location. This can make it difficult to find where the connector was installed, and from there, the license activator. In that event, this python script below will print out the full file path of the connector's native file. This file will be stored in the mentioned cdata folder, from which the installlic_dynamicscrm folder is trivial to find:

import os
import cdata.dynamicscrm
path = os.path.abspath(cdata.dynamicscrm.__file__)
print(path)

Uninstallation

If the connector needs to be uninstalled for any reason, do so by running the pip uninstall command, as in the example below:

pip uninstall cdata-dynamicscrm-connector

CData Python Connector for Microsoft Dynamics CRM

Establishing a Connection

The objects available within our connector are accessible from the "cdata.dynamicscrm" module. To use the module's objects directly:

  1. Import the module as follows:
    import cdata.dynamicscrm as mod
  2. To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
    mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

Connecting to Microsoft Dynamics CRM

To connect, set the root URL of your organization.

Authenticating to Microsoft Dynamics CRM On-Premise

To authenticate to Microsoft Dynamics CRM On-Premise, set CRMVersion = CRM2011+.

NTLM

To use SPNEGO over NTLM authentication on a CRM On-Premise deployment, set these parameters:

Example NTLM connection string:

AuthScheme=NTLM;Url='https://myOrg.crm.dynamics.com/';User=username;Password=password;CRM Version='CRM2011+'

Kerberos

To use SPNEGO over Kerberos authentication on a CRM On-Premise deployment, set these parameters:

Example Kerberos connection string:

AuthScheme=Kerberos;Url='https://myOrg.crm.dynamics.com/';User=username;Password=password;CRM Version='CRM2011+'

Internet-Facing Deployments (IFDs)

To authenticate via an IFD, set InternetFacingDeployment to true.

Example IFD connection string:

AuthScheme=NTLM;Url='https://myOrg.com/';User=username;Password=password;InternetFacingDeployment=True;CRM Version='CRM2011+'

Authenticating to Microsoft Dynamics CRM Online

You can authenticate to Microsoft Dynamics CRM Online via either Azure AD (for user-based authentication) or Azure Service Principal (for Service Principal-based authentication).

To authenticate to Microsoft Dynamics CRM Online, set CRMVersion = CRMOnline.

Entra ID (Azure AD)

Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".

Microsoft Entra ID is a multi-tenant, cloud-based identity and access management platform. It supports OAuth-based authentication flows that enable the driver to access Microsoft Dynamics CRM endpoints securely.

Authentication to Entra ID via a web application always requires that you first create and register a custom OAuth application. This enables your application to define its own redirect URI, manage credential scope, and comply with organization-specific security policies.

For full instructions on how to create and register a custom OAuth application, see Creating an Entra ID (Azure AD) Application.

After setting AuthScheme to AzureAD, the steps to authenticate vary, depending on the environment. For details on how to connect from desktop applications, web-based workflows, or headless systems, see the following sections.

Desktop Applications

You can authenticate from a desktop application using either the driver's embedded OAuth application or a custom OAuth application registered in Microsoft Entra ID.

Option 1: Use the Embedded OAuth Application

This is a pre-registered application, included with the driver. It simplifies setup and eliminates the need to register your own credentials and is ideal for development environments, single-user tools, or any setup where quick and easy authentication is preferred.

Set the following connection properties:

  • AuthScheme: AzureAD
  • InitiateOAuth:
    • GETANDREFRESH – Use for the initial login. Launches the login page and saves tokens.
    • REFRESH – Use this setting when you have already obtained valid access and refresh tokens. Reuses stored tokens without prompting the user again.

When you connect, the driver opens the Microsoft Entra sign-in page in your default browser. After signing in and granting access, the driver retrieves the access and refresh tokens and saves them to the path specified by OAuthSettingsLocation.

Option 2: Use a Custom OAuth Application

If your organization requires more control, such as managing security policies, redirect URIs, or application branding, you can instead register a custom OAuth application in Microsoft Entra ID and provide its values during connection.

During registration, record the following values:

  • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
  • OAuthClientSecret: The client secret that was that was generated when you registered your custom OAuth application.
  • CallbackURL: A redirect URI you defined during application registration.

For full instructions on how to register a custom OAuth application and configure redirect URIs, see Creating an Entra ID (Azure AD) Application.

Set the following connection properties:

  • AuthScheme: AzureAD
  • InitiateOAuth:
    • GETANDREFRESH – Use for the initial login. Launches the login page and saves tokens.
    • REFRESH – Use this setting when you have already obtained valid access and refresh tokens. Reuses stored tokens without prompting the user again.
  • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
  • OAuthClientSecret: The client secret that was generated when you registered your custom OAuth application.
  • CallbackURL: A redirect URI you defined during application registration.

After authentication, tokens are saved to OAuthSettingsLocation. These values persist across sessions and are used to automatically refresh the access token when it expires, so you don't need to log in again on future connections.

Web Applications

To authenticate from a web application, you must register a custom OAuth application in Microsoft Entra ID (formerly Azure Active Directory). Embedded OAuth apps are not supported in this context because web-based flows require a registered redirect URI and centralized credential management.

This approach is designed for hosted, multi-user environments where access must be delegated through a secure, standards-compliant OAuth workflow. It gives your organization control over the OAuth client, redirect URI, branding, and permissions scope.

Before you begin: Register a custom OAuth application in the Azure portal. During registration, collect the following values:

  • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
  • OAuthClientSecret: The client secret that was generated when you registered your custom OAuth application.
  • CallbackURL: A redirect URI you defined during application registration.

For full instructions on how to register a custom OAuth application and configure redirect URIs, see Creating an Entra ID (Azure AD) Application.

To authenticate using AzureAD in a web application, configure the following connection properties:

  • AuthScheme: AzureAD
  • InitiateOAuth: OFF – Disables automatic login prompts.
  • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
  • OAuthClientSecret: The client secret that was generated when you registered your custom OAuth application.
  • CallbackURL: A redirect URI you defined during application registration.

Because web applications typically manage OAuth flows manually on the server-side, InitiateOAuth must be set to OFF. This allows you to explicitly control when and how tokens are retrieved and exchanged using stored procedures.

After configuring these properties, follow the steps below to obtain and exchange OAuth tokens:

  1. Call the GetOAuthAuthorizationUrl stored procedure:
    • CallbackURL: Set to your registered redirect URI
  2. Open the returned URL in a browser. Sign in with a Microsoft Entra ID account and grant access.
  3. After signing in, you are redirected to your CallbackURL with a code parameter in the query string.
  4. Extract the code and pass it to the GetOAuthAccessToken stored procedure:
    • AuthMode: WEB
    • Verifier: The authorization code from the CallbackURL
  5. The procedure returns:
    • OAuthAccessToken: Used for authentication.
    • OAuthRefreshToken: Used to refresh the access token.
    • ExpiresIn: The lifetime of the access token in seconds.

To enable automatic token refresh, configure the following connection properties:

When InitiateOAuth is set to REFRESH, the driver uses the provided refresh token to request a new access token automatically.

After a successful connection, the driver saves the updated access and refresh tokens to the file specified by OAuthSettingsLocation.

You only need to repeat the full OAuth authorization flow if the refresh token expires, is revoked, or becomes invalid.

For more background on OAuth flows in Microsoft Entra ID, see Microsoft Entra Authentication Overview.

Headless Machines

Headless environments like CI/CD pipelines, background services, or server-based integrations do not have an interactive browser. To authenticate using AzureAD, you must complete the OAuth flow on a separate device with a browser and transfer the authentication result to the headless system.

Setup options:

  • Obtain and exchange a verifier code
    • Use another device to sign in and retrieve a verifier code, which the headless system uses to request tokens.
  • Transfer an OAuth settings file
    • Authenticate on another device, then copy the stored token file to the headless environment.

Using a Verifier Code

  1. On a device with a browser:
    • If using a custom OAuth app, set the following properties:
      • InitiateOAuth: OFF
      • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
      • OAuthClientSecret: The client secret that was generated when you registered your custom OAuth application.
    • Call the GetOAuthAuthorizationUrl stored procedure to generate a sign-in URL.
    • Open the returned URL in a browser. Sign in and grant permissions to the driver. You are redirected to the callback URL, which contains the verifier code.
    • After signing in, save the value of the code parameter from the redirect URL. You will use this later to set the OAuthVerifier connection property.
  2. On the headless machine:
    • Set the following properties:
    • After tokens are saved, reuse them by setting:
      • InitiateOAuth: REFRESH
      • OAuthSettingsLocation: Make sure this location grants read and write permissions to the driver to enable the automatic refreshing of the access token.
      • For custom applications:
        • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
        • OAuthClientSecret: The client secret that was generated when you registered your custom OAuth application.

Transferring OAuth Settings

  1. On a device with a browser:
    • Connect using the instructions in the Desktop Applications section.
    • After connecting, tokens are saved to the file path in OAuthSettingsLocation. The default filename is OAuthSettings.txt.

  2. On the headless machine:
    • Copy the OAuth settings file to the machine.
    • Set the following properties:
      • AuthScheme: AzureAD
      • InitiateOAuth: REFRESH
      • OAuthSettingsLocation: Make sure this location grants read and write permissions to the driver to enable the automatic refreshing of the access token.
      • For custom applications:
        • OAuthClientId: The client Id that was generated when you registered your custom OAuth application.
        • OAuthClientSecret: The client secret that was generated when you registered your custom OAuth application.

After setup, the driver uses the stored tokens to refresh the access token automatically, no browser or manual login is required.

Azure Service Principal

Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".

Service principals are security objects within a Microsoft Entra ID (Azure AD) application that define what that application can do within a specific tenant. Service principals are created in the Entra admin center, also accessible through the Azure portal. As part of the creation process we also specify whether the service principal will access Entra resources via a client secret or a certificate.

Depending on the service you are connecting to, a tenant administrator may need to enable Service Principal authentication or assign the Service Principal to the appropriate roles or security groups.

Instead of being tied to a particular user, service principal permissions are based on the roles assigned to them. These roles determine which resources the application can access and which operations it can perform.

When authenticating using a service principal, you must register an application with an Entra tenant, as described in Creating a Service Principal App in Entra ID (Azure AD).

This subsection describes properties you must set before you can connect. These vary, depending on whether you will authenticate via a client secret or a certificate.

Authentication with Client Secret

Authentication with Certificate

CData Python Connector for Microsoft Dynamics CRM

Configuring JNI

Java Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the Java virtual machine into native applications.

The connector leverages the JNI for improved performance on Mac and Linux.

Configure the Config INI File

The Linux and Mac editions of the Microsoft Dynamics CRM python connector are configured with an ini file. This file is used to set several parameters, including JNI behavior. This file is to be located in:

{path_to_distribution_site-packages}/cdata/config.ini

Ensure that any configuration properties you set in the ini file fall under the following section name (adjust the 311 number if you are using an different python version from 3.11):

  • For Linux:
    [dynamicscrm.cpython-311-x86_64-linux-gnu.so]
  • For Mac:
    [dynamicscrm.cpython-311-darwin.so]

Configure the JNI connector's behavior by editing the properties in the connector's config.ini file. The connector can be configured as follows:

  • LOGFILE: Set this the same way as the CDATA_LOGFILE envrionment variable below.
  • JAVA_HOME: Configure the path to the JVM library location used to launch the JVM.
  • CLASS_PATH: Use a colon-separated list to configure the paths to the third-party jar libraries.

Configure Environment Variables

Additionally, set the following environment variables:

  • CDATA_JAVA_HOME: Configure the path to the JVM library location used to launch the JVM.
  • CDATA_JVM_OPTIONS: Place JVM options here.
  • CDATA_LOGFILE: Set this in the following scheme: <SCHEME>://<TAG>[|<LEVEL>]

    • SCHEME: The options are STDOUT, FILE.
      • STDOUT: Both the native wrapper and odbc core log into stdout. The Logfile and Verbosity properties can override the behavior of ODBC core.
      • FILE: The native wrapper logs into <FILENAME> while the odbc core logs into <FILENAME>.driver.log. The Logfile and Verbosity properties can override the behavior of ODBC core.
    • TAG
      • For STDOUT, set this to 1. For FILE, set this to the filename.
    • LEVEL
      • Set to one of: FATAL | ERROR | WARNING | INFO | DEBUG

The following are some examples of this syntax:

  • STDOUT://1|DEBUG
  • FILE:///tmp/my_py.log|DEBUG

Custom Logger

The Python connector supports a custom logging mechanism for redirecting log output to any destination, such as a cloud storage service or logging framework. Use setCustomLoggerFactory() to register a factory function that creates a logger instance for each connection.

The factory function receives the context string from the Logfile connection property (the portion after CUSTOM://) and must return an object with a writeLog(verbosity, message) method.

To enable custom logging:

  1. Call setCustomLoggerFactory() with your factory function before opening connections.
  2. Set Logfile to CUSTOM:// followed by a context string to identify the connection.
  3. Set Verbosity to the desired log level.

The following example demonstrates a custom logger factory that creates a separate logger instance per connection:

import cdata.dynamicscrm as mod
import time

class MyLogger:
    def __init__(self, loggerId):
        self.loggerId = loggerId
    def writeLog(self, verbosity, message):
        print("[MyLogger " + self.loggerId + "] " + message)

def createLogger(context):
    return MyLogger(context[len("MyLoggerId="):])

mod.setCustomLoggerFactory(createLogger)

conn1 = mod.connect("...;Logfile=CUSTOM://MyLoggerId=1;Verbosity=2;")
# do something with conn1
time.sleep(1)  # Wait for logs to flush from conn1

conn2 = mod.connect("...;Logfile=CUSTOM://MyLoggerId=2;Verbosity=2;")
# do something with conn2
time.sleep(1)  # Wait for logs to flush from conn2

CData Python Connector for Microsoft Dynamics CRM

Creating an Entra ID (Azure AD) Application

Creating an Entra ID (Azure AD) Application

Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".

Microsoft Dynamics CRM supports OAuth-based authentication using Microsoft Entra ID. If you will connect via a web application and want to authenticate via Entra ID, you must first register a custom OAuth application in the Entra Admin Center, as described below.

If you will connect via a desktop application or headless machine, you can authenticate using Microsoft Dynamics CRM's built-in embedded application credentials, which use CData branding. However, custom OAuth applications are also compatible with desktop and headless authentication flows, and may be preferable for production deployments or environments requiring strict policy control.

Registering the Application

To register an OAuth application in Microsoft Entra ID, follow these steps:

  1. Go to https://portal.azure.com.
  2. In the left-hand navigation pane, select Microsoft Entra ID > App registrations.
  3. Click New registration.
  4. Enter a name for the application.
  5. Specify the types of accounts this application should support:
    • For private-use applications, select Accounts in this organization directory only.
    • For distributed applications, select one of the multi-tenant options.

    Note: If you select Accounts in this organizational directory only, when you connect with CData Python Connector for Microsoft Dynamics CRM, you must set AzureTenant to the tenant's ID (either GUID or verified domain). Otherwise, authentication will fail.

  6. Set Select a platform to Web, and set the redirect URI to http://localhost:33333 (default), or use another URI appropriate for your deployment. When using a custom redirect URI set a CallbackURL connection property; in those cases, set it to match this URI exactly.
  7. Click Register. The application management screen opens. Record these values for later use:
  8. Go to Certificates & Secrets. Click New Client Secret, set the desired expiration, and save the generated value. This value will only be shown once — record it to use with OAuthClientSecret.

  9. To locate the user_impersonation permission, go to API permissions, select Add a permission, search for Dynamics CRM, choose Delegated Permissions, and then select user_impersonation.
  10. To confirm, click Add permissions.

CData Python Connector for Microsoft Dynamics CRM

Creating a Service Principal App in Entra ID (Azure AD)

Creating a Service Principal App in Entra ID (Azure AD)

Note: Microsoft has rebranded Azure AD as Entra ID. In topics that require the user to interact with the Entra ID Admin site, we use the same names Microsoft does. However, there are still CData connection properties whose names or values reference "Azure AD".

Microsoft Dynamics CRM supports Service Principal-based authentication, which is role-based. This means that the Service Principal's permissions are determined by the roles assigned to it. The roles specify what resources the Service Principal can access and which operations it can perform.

If you want to use a Service Principal to authenticate to Microsoft Dynamics CRM, you must create a custom application in Microsoft Entra ID.

To enable Service Principal authentication:

  • Confirm that you have permission to register applications and assign roles in your tenant.
  • Register a new application and configure credentials and permissions in the Entra Admin Center.

Registering the Application

  1. Go to https://portal.azure.com.
  2. In the left-hand navigation pane, select Microsoft Entra ID > App registrations.
  3. Click New registration.
  4. Enter a name for the application.
  5. Select the desired tenant setup. Since this custom application is for Service Principal use, choose Any Microsoft Entra ID tenant – Multitenant.

  6. Click Register. The application management screen opens. Note the value in Application (client) ID as the OAuthClientId and the Directory (tenant) ID as the AzureTenant

  7. To locate the user_impersonation permission, go to API permissions, select Add a permission, search for Dynamics CRM, choose Delegated Permissions, and then select user_impersonation.
  8. Navigate to Certificates & Secrets and define the application authentication type. Two types of authentication are available: certificate (recommended) or client secret

    • For certificate authentication: In Certificates & Secrets, select Upload certificate, then upload the certificate from your local machine. For more information on creating a self-signed certificate, see Create a self-signed certificate
    • For creating a new client secret: In Certificates & Secrets, select New Client Secret for the application and specify its duration. After the client secret is saved, Microsoft Dynamics CRM displays the key value. This value is displayed only once, so be sure to record it for future use. Use this value for the OAuthClientSecret

  9. Navigate to Authentication and select the Access tokens option.
  10. Save your changes.

Consent for Client Credentials

OAuth supports the use of client credentials to authenticate. In a client credentials authentication flow, credentials are created for the authenticating application itself. The authentication flow acts just like the usual auth flow, except that there is no prompt for an associated user to provide credentials. All tasks accepted by the application are executed outside of the context of a default user.

Note: Since the embedded OAuth credentials authenticate on a per-user basis, you cannot use them in a client authentication flow. You must always create a custom OAuth application to use client credentials.

  1. Log in to https://portal.azure.com
  2. Create a custom OAuth application, as described above.
  3. Navigate to App Registrations.
  4. Find the application you just created, and open API Permissions.
  5. Select the Microsoft Graph permissions. There are two distinct sets of permissions: Delegated and Application.
  6. For use with Service Principal, specify Application permissions.
  7. Select any additional permissions you require for your integration.

CData Python Connector for Microsoft Dynamics CRM

Fine-Tuning Data Access

Fine Tuning Data Access

Use the following connection properties to control column name identifiers and other aspects of data access useful in more advanced integrations:

  • IncludeCalculatedColumns: This option controls whether the driver returns the Calculated Columns defined on a table. Only applicable for CRM 2015+.
  • UseNameForPicklistValue: Whether the string value should be used for picklist field values instead of integers.
  • UseDisplayNames: Whether the display names for the columns should be used instead of the API names
  • UseSimpleNames: Simplify the names of tables and columns returned. It will enforce a naming scheme such that only alphanumeric characters and the underscore are valid for the displayed table and column names.
  • DefaultPrecision: The currency precision that is used for pricing throughout the system. Valid values are 0-4 and Auto.
  • CallerId: The Id of a user to impersonate when inserting or updating new records.

CData Python Connector for Microsoft Dynamics CRM

Changelog

General Changes

DateVersionSourceCategoryTypeDescription
2026-05-2726.0.9643GeneralConnectionRemoved
  • Removed the deprecated ReplaceInvalidTypesWithNull connection property. Use the ReplaceInvalidValuesWithNull property instead.
2026-05-2726.0.9643Microsoft Dynamics CRMConnectionReplaced
  • Replaced the deprecated OAuth option in favor of AzureAD in the AuthScheme connection property.
    • Updated the CRM Online default value from OAuth to AzureAD.
2026-05-2226.0.9638PythonRemoved
  • Remove support for Intel x64 architecture on macOS
2026-05-2126.0.9637Microsoft Dynamics CRMData ModelAdded
  • Added a new stored procedure, UpdateEntityMetadata.
2026-05-0726.0.9623GeneralData ModelAdded
  • Added the ColumnCapabilities column to the sys_tablecolumns system table. This column is a bit mask denoting the column's write capabilities.
2026-05-0726.0.9623PythonChanged
  • Updated embedded JRE to jre-17.0.19+10 (Linux x64 / MacOs x64).
2026-04-3026.0.9616Microsoft Dynamics CRMData ModelChanged
  • Renamed the following parameters in the AssociateRequest and DisassociateRequest stored procedures:
    • RelatedEntityId# to RelatedEntityId
    • RelatedEntityLogicalName# to RelatedEntityLogicalName
2026-04-3026.0.9616Microsoft Dynamics CRMData ModelAdded
  • Added a required input parameter, RelatedEntitiesTempTable, to the AssociateRequest and DisassociateRequest stored procedures. Users must provide a temporary table for this parameter containing RelatedEntityId and RelatedEntityLogicalName values.
2026-04-1526.0.9601GeneralQuery ExecChanged
  • String comparisons using GREATER, LESS, and CONTAINS operators are now case-insensitive by default.
2026-01-1325.0.9509GeneralAdded
  • Added support for the REGEXP_REPLACE() string function.
2025-12-2125.0.9486PythonAdded
  • Added support for custom loggers in Python connectors on Linux and macOS.
2025-12-0525.0.9470GeneralAdded
  • Added support for the INSERT INTO SELECT statement, with driver-side execution for providers that do not support the operation natively.
2025-10-3025.0.9434PythonChanged
  • Updated embedded JRE to jre-17.0.17+10 (Linux x64 / MacOs x64).
2025-10-0625.0.9410GeneralAdded
  • Support for parsing datetime formats using ".S" and ",S" for milliseconds and nanoseconds.
2025-09-1225.0.9386GeneralAdded
  • Added the IsInsertable, IsUpdateable, and IsDeleteable columns to the sys_tables table.
2025-09-1025.0.9384GeneralChanged
  • All columns in statically defined Views are now reported as read-only.
2025-09-0325.0.9377GeneralChanged
  • Corrected the behavior when IN criteria with NULL values are used in the projection part. It now returns NULL instead of 0. For example, "NULL IN (1,2)" returns "NULL".
2025-09-0125.0.9375GeneralAdded
  • Added support for using the CAST function with infinity values. This function can cast "inf" and "-inf" to DOUBLE, FLOAT, or REAL.
2025-08-2125.0.9364GeneralChanged
  • Report behavior change:
    • Fixed inconsistent string value comparisons in non-table queries.
    • For example, "SELECT 'A' = 'a'" previously returned false, but it now returns true.
2025-08-1325.0.9356GeneralChanged
  • Changed the maximum number of pages held in memory from 15 to 5 for the page providers to decrease heap usage.
2025-07-1825.0.9330Microsoft Dynamics CRMRemoved
  • Removed the OAuthGrantType property. The grant type is now set implicitly through the 'AuthScheme' property. For example, you can use the 'OAuthPassword' AuthScheme instead of AuthScheme=OAuth with OAuthGrantType=Password.
2025-07-0725.0.9319PythonRemoved
  • Removed the 32-bit version of Windows Python.
2025-07-0225.0.9314PythonRemoved
  • Removed support for Python 3.9.
2025-06-2525.0.9307GeneralRemoved
  • Removed the "ADLS Gen 1" value from the ConnectionType property.
2025-06-2525.0.9307PythonAdded
  • Added support for Python 3.13 in Windows, Linux, and Mac editions.
2025-06-2525.0.9307PythonRemoved
  • Removed support for Python 3.8 as it is no longer supported.
2025-06-2025.0.9302GeneralAdded
  • Created the following functions:
    • TEXT_ENCODE: encodes a string into a different charset (UTF8 → UTF7 and returns a binary array as the result).
    • TEXT_DECODE: takes a binary array and decodes it back into a string when provided the charset.
    • BASE64_ENCODE: takes a binary array and encodes it as a base64 string (varchar).
    • BASE64_DECODE: takes a base 64-encoded string and decodes it into a binary array.
2025-06-1825.0.9300GeneralChanged
  • The internal code for exception handling has been refactored. Exception messages returned during certain error conditions may now have different wording or formatting.
2025-05-2725.0.9278GeneralRemoved
  • Removed the "Proprietary" enum option from ProxyAuthscheme.
2025-05-1225.0.9263PythonChanged
  • Updated embedded JRE to jre-17.0.15+6 (Linux x64 / MacOS x64) and jre-17.0.15+6 (MacOS aarch64).
2025-02-1524.0.9177GeneralAdded
  • Added support for converting unsigned integer types to the nearest signed data type that has enough precision to hold the unsigned value.This is done for JDBC only because it does not have support for unsigned data types.
2024-11-2724.0.9097GeneralAdded
  • Added ThreadId to LogModule output. Logfile lines now include the Thread ID associated with the action being performed.
2024-06-0524.0.8922PythonAdded
  • Added support for Python 3.12.
2024-05-2824.0.8914Microsoft Dynamics CRMRemoved
  • Removed the Auto AuthScheme option. The default value for the AuthScheme connection property is now NTLM.
2024-05-0924.0.8895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
2024-03-1523.0.8840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
2024-03-0423.0.8829Microsoft Dynamics CRMAdded
  • Added support to update entities using UpdateRequest for DynamicsCRM.
2024-02-0123.0.8797Microsoft Dynamics CRMAdded
  • Added support for retrieving deleted records using auditing.
2023-11-2923.0.8733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.
2023-11-2923.0.8733GeneralChanged
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
2023-11-2823.0.8732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
2023-08-2923.0.8641PythonAdded
  • Added support for SQLAlchemy 2.0.
2023-06-2023.0.8571GeneralAdded
  • Added the new sys_lastresultinfo system table.
2023-05-1923.0.8539PythonAdded
  • Added support for Python 3.11 on Windows, Linux and Mac.
2023-05-1623.0.8536PythonRemoved
  • Removed support for Python 3.7 on Windows and Linux
2023-04-2523.0.8515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
2022-12-1422.0.8383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
2022-12-1222.0.8381Microsoft Dynamics CRMAdded
  • Added the WriteToFile parameter for CreateSchema. This defaults to true and must be disabled to write the schema to FileStream or FileData.
2022-12-1222.0.8381Microsoft Dynamics CRMRemoved
  • Removed the FileLocation parameter from CreateSchema. The Location property must be used to set the output directory for created schemas.
2022-12-0622.0.8375Microsoft Dynamics CRMAdded
  • Added AzureAD in AuthScheme for Azure Active Directory OAuth authentication.
  • Added AzureServicePrincipal in AuthScheme for an Azure Service Principal.
2022-11-1522.0.8354PythonChanged
  • Updated embedded JRE to jre8u345-b01(Linux x64 / MacOS x64) and jre-17.0.5+8(MacOS aarch64).
2022-10-1122.0.8319Microsoft Dynamics CRMAdded
  • Added FileStream Input for CreateSchema stored procedure. It streams the contents of the created schema if no FileName input is specified.
  • Added FileData output for CreateSchema stored procedure. It outputs the contents of the created schema in base64 if no FileName or FileStream input is specified.
2022-09-3022.0.8308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
2022-05-2422.0.8179Microsoft Dynamics CRMChanged
  • Changed provider name to Microsoft Dynamics CRM.
2022-05-1822.0.8173PythonAdded
  • Added support for Python 3.10 on Windows, Linux, and Mac
  • Added support for Python 3.9 on Mac
  • Added support for Mac M1
2022-05-1822.0.8173PythonRemoved
  • Removed support for Python 3.6 on Windows and Linux
2022-04-1521.0.8140Microsoft Dynamics CRMAdded
  • Added the connection property "ExposeVirtualSubColumn", which supports exposing virtual subcolumns to return data in a different format.
2022-01-2221.0.8057Microsoft Dynamics CRMAdded
  • Added support for the NATIVEQUERY table function. This function can be used after a FROM to execute a query using FetchXML. For example, `SELECT * FROM NATIVEQUERY('<fetch version="1.0" output-format="xml-platform" mapping="logical"><entity name="account"><attribute name="name" /><attribute name="primarycontactid" /><attribute name="telephone1" /><attribute name="accountid" /><order attribute="name" descending="false" /></entity></fetch>')` will execute the inner query in Dynamics CRM directly and return the results.
2021-09-0221.0.7915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
2021-08-0721.0.7889GeneralChanged
  • Added the KeySeq column to the sys_foreignkeys table.
2021-08-0621.0.7888GeneralChanged
  • Added the new sys_primarykeys system table.
2021-07-2321.0.7874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
2021-06-0521.0.7826Microsoft Dynamics CRMAdded
  • Added support to authenticate submitting JWT certs instead of the OAuthClientSecret for the OAuth authentication scheme.
2021-04-2521.0.7785GeneralAdded
  • Added support for handling client side formulas during insert / update. For example: UPDATE Table SET Col1 = CONCAT(Col1, " - ", Col2) WHERE Col2 LIKE 'A%'
2021-04-2321.0.7783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
2021-04-1621.0.7776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2
2021-04-1621.0.7776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.
2021-04-1621.0.7776GeneralChanged
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you need to generate new metadata caches if you are currently using CacheMetadata.
2021-04-1621.0.7776GeneralChanged
  • Updated index naming convention to avoid duplicates.
2021-04-1521.0.7775GeneralChanged
  • Kerberos authentication is updated to use TCP by default, but will fall back to UDP if a TCP connection cannot be established.
2021-04-0921.0.7769Microsoft Dynamics CRMDeprecated
  • The Device\* connection properties are deprecated. These were used for Windows Live ID connections, which is a legacy authentication model.

CData Python Connector for Microsoft Dynamics CRM

Using the Connector

This section provides a walk-through for writing Microsoft Dynamics CRM data access code in Python script.

For more information on the available data source entities and how to query them with SQL, see Data Model. For the SQL syntax, see SQL Compliance.

Connecting from Code

For information on how to deploy the connector and configure the connection to Microsoft Dynamics CRM, see Package Installation and Establishing a Connection.

For information on how to connect with the dynamicscrm.connector module and its related classes, see Connecting.

Executing SQL

The connection's cursor object is used to directly execute SQL queries. For information on how to execute SELECT statements and process the returned result sets, see Querying Data. For information on to modify the data in Microsoft Dynamics CRM with INSERT, UPDATE, and DELETE statements, see Modifying Data .

Executing Stored Procedures

You can call stored procedures by using the EXECUTE statement. For further information, see Calling Stored Procedures.

Batch Processing

For information about how to modify several rows of Microsoft Dynamics CRM data at once using parameterized INSERT, UPDATE, and DELETE statements, see Batch Processing.

CData Python Connector for Microsoft Dynamics CRM

Connecting

Connecting with the cdata.dynamicscrm Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.dynamicscrm as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

Once the connection is created, you can use it to execute subsequent SQL queries.

CData Python Connector for Microsoft Dynamics CRM

Querying Data

After connecting as described in Connecting, you can use the open connection to execute SQL statements.

Executing Queries

To execute SQL statements that return data, use the execute() method. Once a query is executed, the result set is fetched from the cursor. This result set can then be iterated over to process the records individually.

For example:

cur = conn.execute("SELECT Id, FirstName FROM Lead")
rs = cur.fetchall()
for row in rs:
	print(row)

Parameterized Queries

Various Python collections, such as arrays and tuples, can act as additional arguments for the execute() method. This enables you to parameterize the queries executed and help to prevent SQL Injection.

For example:

cmd = "SELECT Id, FirstName FROM Lead WHERE FirstName <> ?"
params = ["Bob"]
cur = conn.execute(cmd, params)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Microsoft Dynamics CRM

Modifying Data

The connection is also used to issue INSERT, UPDATE, and DELETE commands to the data source. Parameters can be used with these statements if desired.

Note that the connector does not support transactions. As with normal write operations, all SQL statements executed by this connector affect the data source immediately. Call the connection's commit() method following the execution.

Insert

The following example adds a new record to the table:
cmd = "INSERT INTO Lead (Id, FirstName) VALUES (?, ?)"
params = ["Jon Doe", "John"]
cur = conn.execute(cmd, params)
print("Records affected: ", cur.rowcount)

Update

The following example modifies an existing record in the table:
cmd = "UPDATE Lead SET FirstName = ? WHERE Id = ?"
params = ["John", "1045625d-99ee-e011-a272-00155d01ad6b"]
cur = conn.execute(cmd, params)
print("Records affected: ", cur.rowcount)

Delete

The following example removes an existing record from the table:

cmd = "DELETE FROM Lead WHERE Id = ?"
params = ["1045625d-99ee-e011-a272-00155d01ad6b"]
cur = conn.execute(cmd, params)
print("Records affected: ", cur.rowcount)

CData Python Connector for Microsoft Dynamics CRM

Calling Stored Procedures

You can execute stored procedures using either the execute() or callproc() method of the connection.

Calling Stored Procedures Using Execute()

When you call stored procedures by issuing EXECUTE commands, the stored procedure arguments are parameterized. For example:
cmd = "EXECUTE Assign Table = ?"
params = ["Task"]
conn.execute(cmd, params)

Calling Stored Procedures Using Callproc()

When you call stored procedured by issuing the callproc() method, the stored procedure arguments are a procedure name and a list of parameters. For example:
cur = conn.cursor()
params = ["Task"]
cur.callproc("Assign", params)

CData Python Connector for Microsoft Dynamics CRM

Batch Processing

This Python connector also supports writing to the data source via batch processing, using the cursor object's executemany() method. This requires both a SQL statement string and a data frame of values that act as a series of parameters for executing the SQL statement.

Note that the connector does not support transactions. As with normal write operations, all SQL statements executed by this connector affect the data source immediately. Call the connection's commit() method following the execution.

Insert

The following example adds new records to the table:
cur = conn.cursor()
cmd = "INSERT INTO Lead (Id, FirstName) VALUES (?, ?)"
params = [["Jon Doe", "John"], ["Jon Doe", "John"]]
cur.executemany(cmd, params)
print("Records affected: ", cur.rowcount)

Update

The following example modifies existing records in the table:
cur = conn.cursor()
cmd = "UPDATE Lead SET FirstName = ? WHERE Id = ?"
params = [["John", "1045625d-99ee-e011-a272-00155d01ad6b"], ["John", "1045625d-99ee-e011-a272-00155d01ad6b"]]
cur.executemany(cmd, params)
print("Records affected: ", cur.rowcount)

Delete

The following example removes existing records from the table:
cur = conn.cursor()
cmd = "DELETE FROM Lead WHERE Id = ?"
params = [["1045625d-99ee-e011-a272-00155d01ad6b"], ["1045625d-99ee-e011-a272-00155d01ad6b"]]
cur.executemany(cmd, params)
print("Records affected: ", cur.rowcount)

CData Python Connector for Microsoft Dynamics CRM

Using from Tools

The connector is integrated with other tools and packages within Python.

Python Integration Guides

The following sections show how to create and use connections with the connector in common packages in Python:

Complete List of Microsoft Dynamics CRM Integration Quickstarts

For information on connecting from other applications, see Microsoft Dynamics CRM integration guides.

CData Python Connector for Microsoft Dynamics CRM

From SQLAlchemy

The CData Python Connector for Microsoft Dynamics CRM includes a Dialect class that enables integration with SQLAlchemy. Bear in mind that several aspects of connector functionality are not currently supported in SQLAlchemy 2.0 or above. If necessary, downgrade SQLAlchemy to version 1.4 or 1.3 before using this connector.

The following sections detail various aspects of this integration:

Connecting From SQLAlchemy

To construct a URL with which SQLAlchemy loads and uses the appropriate connector automatically, see Connecting

Reflecting Metadata With SQLAlchemy

To learn how to model Microsoft Dynamics CRM tables with mapped classes, see Reflecting Metadata.

Querying Data From SQLAlchemy

To learn how to use mapped classes to query the associated tables, see Querying Data.

Modifying Data From SQLAlchemy

The connector provides INSERT/UPDATE/DELETE functionality in SQLAlchemy. To learn how to call the session's execute() method to affect the data in the data source, see Modifying Data.

CData Python Connector for Microsoft Dynamics CRM

Connecting

Connecting With a Dialect URL

Establishing a connection using SQLAlchemy requires a specific URL format. For this connector, you can create the engine using either of the following URL formats:

Format 1


from sqlalchemy import create_engine
engine = create_engine("dynamicscrm:///?User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

Format 2


from sqlalchemy import create_engine
engine = create_engine("dynamicscrm://User:Password@/?URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

For SQLAlchemy 2.0, the dialect name is dynamicscrm_2. To establish a connection, use the following URL format:

from sqlalchemy import create_engine
engine = create_engine("dynamicscrm_2:///?User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

CData Python Connector for Microsoft Dynamics CRM

Reflecting Metadata

SQLAlchemy can act as an Object-relational Map (ORM). This enables you to treat records of a database table as instantiable records. To leverage this functionality, you must reflect the underlying metadata in one of the following ways.

Note: The following examples employ SQLAlchemy 1.4.

Modeling Data Using a Mapping Class

Use "sqlalchemy.ext.declarative.declarative_base" to declare a mapping class for the table you wish to model in the ORM. A known table in the data model is modeled either partially or completely, as shown in the following example:
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class Lead(Base):
	__tablename__ = "Lead"
	Id = Column(String, primary_key=True)
	Id = Column(String)
	FirstName = Column(String)

Automatically Reflecting Metadata

Rather than mapping tables manually, SQLAlchemy can discover the metadata for one or more tables automatically. To accomplish this across the entire data model, use automap_base:
from sqlalchemy import MetaData
from sqlalchemy.ext.automap import automap_base
meta = MetaData()
abase = automap_base(metadata=meta)
abase.prepare(autoload_with=engine)
Lead = abase.classes.Lead

You can also reflect a single table with an inspector. When reflecting this way, providing a list of specific columns to map is optional:

from sqlalchemy import MetaData, Table
from sqlalchemy import inspect
meta = MetaData()
insp = inspect(engine)
Lead_table = Table("Lead", meta)
insp.reflect_table(Lead_table, ["Id","FirstName"])

CData Python Connector for Microsoft Dynamics CRM

Querying Data

After you use the steps in Connecting to connect, and use one of the methods in Reflecting Metadata to reflect some of the metadata, you can use a session object to query data.

Querying Data Using the Query Method

If the mapping class has been prepared, use it with a session object to query the data source. After binding the engine to the session, provide the mapping class to the session's query method.

For example:

engine = create_engine("dynamicscrm:///?User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")
factory = sessionmaker(bind=engine)
session = factory()
for instance in session.query(Lead).filter_by(FirstName="Bob"):
	print("Id: ", instance.Id)
	print("Id: ", instance.Id)
	print("FirstName: ", instance.FirstName)
	print("---------")

Querying Data Using the Execute Method

The session object can also run the query with the execute() method alongside the appropriate Table object. Assuming you have an active session, the following is just as viable:
Lead_table = Lead.metadata.tables["Lead"]
for instance in session.execute(Lead_table.select().where(Lead_table.c.FirstName == "Bob")):
	print("Id: ", instance.Id)
	print("FullName: ", instance.Name)
	print("City: ", instance.BillingCity)
	print("---------")

CData Python Connector for Microsoft Dynamics CRM

Executing JOINs

Implicit Joining

If mapped classes of related Microsoft Dynamics CRM objects have a singular foreign key relationship, the classes are implicitly joined. After importing the necessary objects, a relationship is established between your two mapped classes, as in the example below:
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, String, Integer, DateTime, ForeignKey
from sqlalchemy.orm import sessionmaker, relationship

Base = declarative_base()
class Contact(Base):
	__tablename__ = "Contact"
	Id = Column(Integer, primary_key=True)
	Name = Column(String)
	Email = Column(String)
	BirthDate = Column(DateTime)
	AccountId = Column(String, ForeignKey("Account.Id"))
	Account_Link = relationship("Account", back_populates="Contact_Link")

class Account(Base):
	__tablename__ = "Account"
	Id = Column(String, primary_key=True)
	Name = Column(String)
	BillingCity = Column(String)
	NumberOfEmployees = Column(Integer)
	Contact_Link = relationship("Contact", order_by=Contact.Id, back_populates="Account_Link")

Once the relationship is established, the tables are queried simultaneously using the session's query() method. For example:

rs = session.query(Account, Contact).filter(Account.Id == Contact.AccountId)
for Ac, Ct in rs:
  print("AccountId: ", Ac.Id)
  print("AccountName: ", Ac.Name)
  print("ContactId: ", Ct.Id)
  print("ContactName: ", Ct.Name)

Other Join Forms

In situations where mapped classes have either no foreign keys or multiple foreign keys, you may need different forms of the JOIN query to accommodate them. Using the earlier classes as examples, the following JOIN queries are possible as well:
  • Explicit condition (necessary if there are no foreign keys in your mapped classes):
    rs = session.query(Account, Contact).join(Contact, Account.Id == Contact.AccountId)
    for Ac, Ct in rs:
  • Left-to-right relationship:
    rs = session.query(Account, Contact).join(Account.Contact_Link)
    for Ac, Ct in rs:
  • Left-to-right relationship with explicit target:
    rs = session.query(Account, Contact).join(Contact, Account.Contact_Link)
    for Ac, Ct in rs:
  • String form of a left-to-right relationship:
    rs = session.query(Account, Contact).join("Contact_Link")
    for Ac, Ct in rs:

CData Python Connector for Microsoft Dynamics CRM

Other SQL Clauses

SQLAlchemy ORM also exposes support for other clauses in SQL, such as ORDER BY, GROUP BY, LIMIT, and OFFSET. All of these are supported by this connector:

ORDER BY

The following example sorts by a specified column using the session object's query() method:
rs = session.query(Lead).order_by(Lead.Revenue)
for instance in rs:
	print("Id: ", instance.Id)
	print("Id: ", instance.Id)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also use the session object's execute() method perform an ORDER BY. For example:

rs = session.execute(Lead_table.select().order_by(Lead_table.c.Revenue))
for instance in rs:

GROUP BY

The following example uses the session object's query() method to group records with a specified column:
rs = session.query(func.count(Lead.Id).label("CustomCount"), Lead.Id).group_by(Lead.Id)
for instance in rs:
	print("Count: ", instance.CustomCount)
	print("Id: ", instance.Id)
	print("---------")

You can also use the session object's execute() method to perform a GROUP BY:

rs = session.execute(Lead_table.select().with_only_columns([func.count(Lead_table.c.Id).label("CustomCount"), Lead_table.c.Id]).group_by(Lead_table.c.Id))
for instance in rs:

LIMIT and OFFSET

The following example uses the session object's query() method to skip the first 100 records and fetch the following 25:
rs = session.query(Lead).limit(25).offset(100)
for instance in rs:
	print("Id: ", instance.Id)
	print("Id: ", instance.Id)
	print("FirstName: ", instance.FirstName)
	print("---------")

You can also use the session object's execute() method to set a LIMIT or OFFSET:

rs = session.execute(Lead_table.select().limit(25).offset(100))
for instance in rs:

CData Python Connector for Microsoft Dynamics CRM

Aggregate Functions

Certain aggregate functions can also be used within SQLAlchemy by using the func module.

To import this module, execute:

from sqlalchemy.sql import func

Once func is imported, the following aggregate functions are available:

COUNT

The following example counts the number of records in a set of groups using the session object's query() method.
rs = session.query(func.count(Lead.Id).label("CustomCount"), Lead.Id).group_by(Lead.Id)
for instance in rs:
	print("Count: ", instance.CustomCount)
	print("Id: ", instance.Id)
	print("---------")

You can also execute COUNT using the session object's execute() method:

rs = session.execute(Lead_table.select().with_only_columns([func.count(Lead_table.c.Id).label("CustomCount"), Lead_table.c.Id])group_by(Lead_table.c.Id))
for instance in rs:

SUM

This example calculates the cumulative amount of a numeric column in a set of groups.

rs = session.query(func.sum(Lead.Revenue).label("CustomSum"), Lead.Id).group_by(Lead.Id)
for instance in rs:
	print("Sum: ", instance.CustomSum)
	print("Id: ", instance.Id)
	print("---------")

You can also invoke SUM using the session object's execute() method.

rs = session.execute(Lead_table.select().with_only_columns([func.sum(Lead_table.c.Revenue).label("CustomSum"), Lead_table.c.Id]).group_by(Lead_table.c.Id))
for instance in rs:

AVG

This example uses the session object's query() method to calculate the average amount of a numeric column in a set of groups:
rs = session.query(func.avg(Lead.Revenue).label("CustomAvg"), Lead.Id).group_by(Lead.Id)
for instance in rs:
	print("Avg: ", instance.CustomAvg)
	print("Id: ", instance.Id)
	print("---------")

You can also use the session object's execute() method to invoke AVG:

rs = session.execute(Lead_table.select().with_only_columns([func.avg(Lead_table.c.Revenue).label("CustomAvg"), Lead_table.c.Id]).group_by(Lead_table.c.Id))
for instance in rs:

MAX and MIN

This example finds the maximum value and minimum value of a numeric column in a set of groups.
rs = session.query(func.max(Lead.Revenue).label("CustomMax"), func.min(Lead.Revenue).label("CustomMin"), Lead.Id).group_by(Lead.Id)
for instance in rs:
	print("Max: ", instance.CustomMax)
	print("Min: ", instance.CustomMin)
	print("Id: ", instance.Id)
	print("---------")

You can also use the session object's execute() method to invoke MAX and MIN:

rs = session.execute(Lead_table.select().with_only_columns([func.max(Lead_table.c.Revenue).label("CustomMax"), func.min(Lead_table.c.Revenue).label("CustomMin"), Lead_table.c.Id]).group_by(Lead_table.c.Id))
for instance in rs:

CData Python Connector for Microsoft Dynamics CRM

Modifying Data

Commands can be executed individually by the session with a call to "execute()".

Obtaining the Table Object

The query supplied to this method is constructed using the associated Table object of a mapped class. This Table object is obtained from the mapped class's metadata field, as below:

Lead_table = Lead.metadata.tables["Lead"]

Once the table object is obtained, the write operations are executed in the following ways. The queries are executed immediately without the need for a call to "commit()":

Insert

The following example adds a new record to the table:

session.execute(Lead_table.insert(), {"Id": "Jon Doe", "FirstName": "John"})

Update

The following example modifies an existing record in the table:

session.execute(Lead_table.update().where(Lead_table.c.Id == "1045625d-99ee-e011-a272-00155d01ad6b").values(Id="Jon Doe", FirstName="John"))

Delete

The following example removes an existing record from the table:

session.execute(Lead_table.delete().where(Lead_table.c.Id == "1045625d-99ee-e011-a272-00155d01ad6b"))

CData Python Connector for Microsoft Dynamics CRM

From Pandas

When combined with the connector, Pandas can be used to generate data frames that contain your Microsoft Dynamics CRM data. Once created, a data frame can be passed to various other Python packages.

Connecting

Pandas relies on an SQLAlchemy engine to execute queries. Before you can use Pandas you must import it:
import pandas as pd
from sqlalchemy import create_engine
engine = create_engine("dynamicscrm:///?User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

Querying Data

In Pandas, SELECT queries are provided in a call to the read_sql() method, alongside a relevant connection object. Pandas executes the query on that connection, and returns the results in the form of a data frame, which can be used for a variety of purposes.
df = pd.read_sql("""
	SELECT
	   Id,
	   FirstName,
     $exNumericCol;
	FROM Lead;""", engine)
print(df)

Modifying Data

To insert new records into a table, create a new data frame, and define its fields accordingly. When that is done, call to_sql() on the data frame to perform the INSERT operation with the connector, as shown in the example below. You must set the "if _exists" argument to "append" to prevent Pandas from attempting building the table from scratch. To prevent Pandas from writing the data frame index as a column, set index=False.
df = pd.DataFrame({"Id": ["Jon Doe"], "FirstName": ["John"]})
df.to_sql("Lead", con=engine, if_exists="append", index=False)

CData Python Connector for Microsoft Dynamics CRM

From Matplotlib

Matplotlib contains a number of tools that can graphically model Microsoft Dynamics CRM data after being fed a data frame From Pandas.

Using PyPlot

Before any Matplotlib tool, such as pyplot, can be used, it must be imported:
from matplotlib import pyplot as plt

Once a Pandas data frame is obtained, it can be used to create a plot visualizing Microsoft Dynamics CRM data. For example, the following plot generates and displays a bar graph relating Id and Revenue values:

df.plot(kind="bar", x="Id", y=["Revenue"])
plt.show()

CData Python Connector for Microsoft Dynamics CRM

From Petl

The connector can be used to create ETL applications and pipelines for CSV data in Python using Petl.

Install Required Modules

Install the Petl modules using the pip utility.
pip install petl

Connecting

After you import the modules, including the CData Python Connector for Microsoft Dynamics CRM, you can use the connector's connect function to create a connection using a valid Microsoft Dynamics CRM connection string. If you prefer not to use a direct connection, you can use a SQLAlchemy engine.
import petl as etl
import cdata.dynamicscrm as mod
cnxn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")

Extract, Transform, and Load the Microsoft Dynamics CRM Data

Create a SQL query string and store the query results in a DataFrame.
sql = "SELECT	Id, FirstName FROM Lead "
table1 = etl.fromdb(cnxn,sql)

Loading Data

With the query results stored in a DataFrame, you can load your data into any supported Petl destination. The following example loads the data into a CSV file.
etl.tocsv(table1,'output.csv')

Modifying Data

Insert new rows into Microsoft Dynamics CRM tables using Petl's appenddb function.
table1 = [['Id','FirstName'],['Jon Doe','John']]
etl.appenddb(table1,cnxn,'Lead')

CData Python Connector for Microsoft Dynamics CRM

Schema Discovery

The extension supports schema discovery by using SQL queries to available System Tables.

Using SQL

The following sections describe the discovery of metadata through several System Tables:

CData Python Connector for Microsoft Dynamics CRM

Tables and Views

The connector possesses system tables that are used to discover the tables and views available in the data model. Of these system tables, "sys_tables" and "sys_views" are used to fetch information about the available tables and views respectively:

Tables


import cdata.dynamicscrm as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tables"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

Views


import cdata.dynamicscrm as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_views"
cur.execute(cmd, params)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Microsoft Dynamics CRM

Columns

The available columns for any given table are fetched from a system table called "sys_tablecolumns". A specific table name is provided in the WHERE criteria to restrict the table from which the column information is fetched:

import cdata.dynamicscrm as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tablecolumns WHERE TableName = 'Lead'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Microsoft Dynamics CRM

Procedures

Procedures

A system table called "sys_procedures" is queried to obtain the available stored procedures that are executed:
import cdata.dynamicscrm as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_procedures"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

Parameters

The input parameters of any stored procedure are similarly obtained from the "sys_procedureparameters" system table:
import cdata.dynamicscrm as mod
conn = mod.connect("User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'Assign'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
	print(row)

CData Python Connector for Microsoft Dynamics CRM

Advanced Features

This section details a selection of advanced features of the Microsoft Dynamics CRM connector.

User Defined Views

The connector supports the use of user defined views, virtual tables whose contents are decided by a pre-configured user defined query. These views are useful when you cannot directly control queries being issued to the drivers. For an overview of creating and configuring custom views, see User Defined Views .

SSL Configuration

Use SSL Configuration to adjust how connector handles TLS/SSL certificate negotiations. You can choose from various certificate formats;. For further information, see the SSLServerCert property under "Connection String Options" .

Firewall and Proxy

Configure the connector for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.

Caching Data

Caching Data enables faster access to data and reduces the number of API calls, improving performance. The connector supports a simple caching model where multiple connections can also share the cache over time. When configuring the cache connection, you can specify automatic or explicit data caching.

Query Processing

The connector offloads as much of the SELECT statement processing as possible to Microsoft Dynamics CRM and then processes the rest of the query in memory (client-side).

For further information, see Query Processing.

Logging

For an overview of configuration settings that can be used to refine CData logging, see Logging. Only two connection properties are required for basic logging, but there are numerous features that support more refined logging, which enables you to use the LogModules connection property to specify subsets of information to be logged.

Exception Handling

For an overview of how exceptions are reported and the components of an exception, see Exception Handling.

CData Python Connector for Microsoft Dynamics CRM

User Defined Views

The CData Python Connector for Microsoft Dynamics CRM supports the use of user defined views: user-defined virtual tables whose contents are decided by a preconfigured query. User defined views are useful in situations where you cannot directly control the query being issued to the driver; for example, when using the driver from a tool.

Use a user defined view to define predicates that are always applied. If you specify additional predicates in the query to the view, they are combined with the query already defined as part of the view.

There are two ways to create user defined views:

  • Create a JSON-formatted configuration file defining the views you want.
  • DDL statements.

Defining Views Using a Configuration File

User defined views are defined in a JSON-formatted configuration file called UserDefinedViews.json. The connector automatically detects the views specified in this file.

You can also have multiple view definitions and control them using the UserDefinedViews connection property. When you use this property, only the specified views are seen by the connector.

This user defined view configuration file is formatted so that each root element defines the name of a view, and includes a child element, called query, which contains the custom SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM Lead WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}
Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:
"UserDefinedViews", "C:\\Users\\yourusername\\Desktop\\tmp\\UserDefinedViews.json"

Defining Views Using DDL Statements

The connector is also capable of creating and altering the schema via DDL Statements such as CREATE LOCAL VIEW, ALTER LOCAL VIEW, and DROP LOCAL VIEW.

Create a View

To create a new view using DDL statements, provide the view name and query as follows:

CREATE LOCAL VIEW [MyViewName] AS SELECT * FROM Customers LIMIT 20;

If no JSON file exists, the above code creates one. The view is then created in the JSON configuration file and is now discoverable. The JSON file location is specified by the UserDefinedViews connection property.

Alter a View

To alter an existing view, provide the name of an existing view alongside the new query you would like to use instead:

ALTER LOCAL VIEW [MyViewName] AS SELECT * FROM Customers WHERE TimeModified > '3/1/2020';

The view is then updated in the JSON configuration file.

Drop a View

To drop an existing view, provide the name of an existing schema alongside the new query you would like to use instead.

DROP LOCAL VIEW [MyViewName]

This removes the view from the JSON configuration file. It can no longer be queried.

Schema for User Defined Views

In order to avoid a view's name clashing with an actual entity in the data model, user defined views are exposed in the UserViews schema by default. To change the name of the schema used for UserViews, reset the UserViewsSchemaName property.

Working with User Defined Views

For example, a SQL statement with a user defined view called UserViews.RCustomers only lists customers in Raleigh:
SELECT * FROM Customers WHERE City = 'Raleigh';
An example of a query to the driver:
SELECT * FROM UserViews.RCustomers WHERE Status = 'Active';
Resulting in the effective query to the source:
SELECT * FROM Customers WHERE City = 'Raleigh' AND Status = 'Active';
That is a very simple example of a query to a user defined view that is effectively a combination of the view query and the view definition. It is possible to compose these queries in much more complex patterns. All SQL operations are allowed in both queries and are combined when appropriate.

CData Python Connector for Microsoft Dynamics CRM

SSL Configuration

Customizing the SSL Configuration

To enable TLS, set the following:

  • URL: Prefix the connection string with https://

With this configuration, the connector attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.

To specify another certificate, see the SSLServerCert connection property.

CData Python Connector for Microsoft Dynamics CRM

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

Note: The connector uses the system proxy settings by default, without further configuration needed. If you want to connect to other proxies, set ProxyAutoDetect to False and read further.

To authenticate to an HTTP proxy, set the following:

  • ProxyServer: the hostname or IP address of the proxy server that you want to route HTTP traffic through.
  • ProxyPort: the TCP port that the proxy server is running on.
  • ProxyAuthScheme: the authentication method the connector uses when authenticating to the proxy server.
  • ProxyUser: the username of a user account registered with the proxy server.
  • ProxyPassword: the password associated with the ProxyUser.

Other Proxies

Set the following properties:

CData Python Connector for Microsoft Dynamics CRM

Caching Data

Caching Data

Caching data provides several benefits, including faster access to data and reducing the number of API calls, which improve performance. The connector supports a simple caching model where multiple connections can also share the cache over time. You can enable and configure caching features by setting the necessary connection properties.

Contents

The sections in this chapter detail the connector's caching functionality and link to the corresponding connection properties, as well as SQL statements.

Configuring the Cache Connection

Configuring the Cache Connection describes the properties that you can set when configuring the cache database.

Caching Metadata

Caching Metadata describes the CacheMetadata property. This property determines whether or not to cache the table metadata to a file store.

Automatically Caching Data

Automatically Caching Data describes how the connector automatically refreshes the cache when the AutoCache property is set.

Explicitly Caching Data

Explicitly Caching Data describes how you can decide what data is stored in the cache and when it is updated.

Data Type Mapping

Data Type Mapping shows the mappings between the data types configured in the schema and the data types in the database.

CData Python Connector for Microsoft Dynamics CRM

Configuring the Cache Connection

Configuring the Caching Database

This section describes the properties for caching data to the persistent store of your choice.

CacheLocation

The CacheLocation property species the path to a file-system-based database. When caching is enabled, a file-system-based database is used by default. If CacheLocation is not specified, this database is stored at the path in Location. If neither of these connection properties are specified, the connector uses a platform-dependent default location.

CacheConnection

The CacheConnection property specifies a database driver and the connection string to the caching database.

CacheDriver and CacheProvider

Both the CacheDriver and CacheProvider properties are supported. Each specifies a database driver and the connection string to the caching database. CacheDriver is designed for Linux and MacOS; CacheProvider is Windows-based.

CData Python Connector for Microsoft Dynamics CRM

Caching Metadata

This section describes how to enable caching metadata and how to update the metadata cache.

Before being able to query data, the connector requires relevant metadata to be retrieved. By default, metadata is cached in memory and shared across connections. But if you want to persist across processes, or if metadata requests are expensive, the solution is to cache the metadata to disk.

Enable Caching Metadata

To enable caching of metadata, set CacheMetadata = true and see Configuring the Cache Connection for instructions on how to configure your connection string. The connector caches the metadata the first time it is needed and uses the metadata cache for subsequent requests.

Update the Metadata Cache

Because metadata is cached, changes to metadata on the live source, for example, adding or removing a column or attribute, are not automatically reflected in the metadata cache. To get updates to the live metadata, you need to delete or drop the cached data.

CData Python Connector for Microsoft Dynamics CRM

Automatically Caching Data

Automatically caching data is useful when you do not want to rebuild the cache for each query. When you query data for the first time, the connector automatically initializes and builds a cache in the background. When AutoCache = true, the connector uses the cache for subsequent query executions, resulting in faster response times.

If replication is enabled, the data is generated once and then copied to local and cloud data stores. With incremental updates, the connector achieves a performance advantage over dropping the cached tables and retrieving the entire table again on every refresh. With iterative updates, the connector only performs the query from the last time that the date was refreshed. If replication is not enabled, updates to the cache require downloading the entire data set.

Configuring Automatic Caching

To automatically update the cache and return results from the local cache, set the following connection string properties:

  • AutoCache: This property automatically updates the cache when the value is set to true.
  • CacheTolerance: This property ensures that the data retrieved from the database is the most current version. The default value is 600 seconds (10 minutes). The connector checks with the data source for newer records after the tolerance interval has expired. Otherwise, it returns the data directly from the cache.

Caching the Lead Table

The following example caches the Lead table in the file specified by the CacheLocation property of the connection string.

SELECT Id, FirstName FROM Lead WHERE FirstName <> 'Bob'

Common Use Case

A common use for automatically caching data is to improve driver performance when making repeated requests to a live data source, such as building a report or creating a visualization. With auto caching enabled, repeated requests to the same data may be executed in a short period of time, but within an allowable tolerance (CacheTolerance) of what is considered "live" data.

CData Python Connector for Microsoft Dynamics CRM

Explicitly Caching Data

With explicit caching (AutoCache = false), you decide exactly what data is cached and when to query the cache instead of the live data. Explicit caching gives you full control over the cache contents by using CACHE Statements. This section describes some strategies to use the caching features offered by the connector.

Creating the Cache

To load data in the cache, issue the following statement.

CACHE SELECT * FROM tableName WHERE ...

Once the statement is issued, any matching data in tableName is loaded into the corresponding table.

Updating the Cache

This section describes two ways to update the cache.

Updating with the SELECT Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. However, this statement does not delete extra rows that are already in the cache. This statement only merges the new rows or updates the existing rows.

CACHE SELECT * FROM Lead WHERE FirstName <> 'Bob'

Updating with the TRUNCATE Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. This statement can also delete rows in the cache table that are not present in the live data source.

  CACHE WITH TRUNCATE SELECT * FROM Lead WHERE FirstName <> 'Bob'
  

Query the Data in Online or Offline Mode

This section describes how to query the data in online or offline mode.

Online: Select Cached Tables

You can use the tableName#CACHE syntax to explicitly execute queries to the cache while still online, as shown in the following example.

SELECT * FROM Lead#CACHE

Offline: Select Cached Tables

With Offline = true, SELECT statements always execute against the local cache database, regardless of whether you explicitly specify the cached table or not. Modification of the cache is disabled in Offline mode to prevent accidentally updating only the cached data. Executing a DELETE/UPDATE/INSERT statement while in Offline mode results in an exception.

The following example selects from the local cache but not the live data source because Offline = true.

SELECT * FROM Lead WHERE FirstName='Bob' ORDER BY FirstName ASC

Delete Data from the Cache

You can delete data from the cache by building a direct connection to the database. Note that the connector does not support manually deleting data from the cache.

Common Use Case

A common use for caching is to have an application always query the cached data and only update the cache at set intervals, such as once every day or every two hours. There are two ways in which this can be implemented:

  • AutoCache = false and Offline = false. All queries issued by the application explicitly reference the tableName#CACHE table. When the cache needs to be updated, the application executes a tableName#CACHE ... statement to bring the cached data up to date.
  • Offline = true. Caching is transparent to the application. All queries are executed against the table as normal, so most application code does not need to be aware that caching is done. To update the cached data, simply create a separate connection with Offline = false and execute a tableName#CACHE ... statement.

CData Python Connector for Microsoft Dynamics CRM

Data Type Mapping

The connector maps types from the data source to the corresponding data type available in the chosen cache database. The following table shows the mappings between the data types configured in the schema and the data types in the database. Some schema types have synonyms which are all listed in the Schema column.

Data Type Mapping

Note: String columns can map to different data types depending on their length.

Schema .NET JDBC SQL Server Derby MySQL Oracle SQLite Access
int, integer, int32 Int32 int int INTEGER INT NUMBER integer LONG
smallint, short, int16 Int16 short smallint SMALLINT SMALLINT NUMBER integer SHORT
double, float, real Double double float DOUBLE DOUBLE NUMBER double DOUBLE
date DateTime java.sql.Date date DATE DATE DATE date DATETIME
datetime, timestamp DateTime java.sql.Date datetime TIMESTAMP DATETIME TIMESTAMP datetime DATETIME
time, timespan TimeSpan java.sql.Time time TIME TIME TIMESTAMP datetime DATETIME
string, varchar String java.lang.String If length > 4000: nvarchar(max), Otherwise: nvarchar(length)If length > 32672: LONG VARCHAR, Otherwise VARCHAR(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)If length > 4000: CLOB, Otherwise: VARCHAR2(length)nvarchar(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)
long, int64, bigint Int64 long bigint BIGINT BIGINT NUMBER bigint LONG
boolean, bool Boolean boolean tinyint SMALLINT BIT NUMBER tinyint BIT
decimal, numeric Decimal java.math.BigDecimal decimal DECIMAL DECIMAL DECIMAL decimal CURRENCY
uuid Guid java.util.UUID nvarchar(length) VARCHAR(length)VARCHAR(length) VARCHAR2(length)nvarchar(length) VARCHAR(length)
binary, varbinary, longvarbinary byte[] byte[] binary(1000) or varbinary(max) after SQL Server 2000, image otherwise BLOB LONGBLOB BLOB BLOB LONGBINARY

CData Python Connector for Microsoft Dynamics CRM

Query Processing

Query Processing

CData has a client-side SQL engine built into the connector library. This enables support for the full capabilities that SQL-92 offers, including filters, aggregations, functions, etc.

For sources that do not support SQL-92, the connector offloads as much of SQL statement processing as possible to Microsoft Dynamics CRM and then processes the rest of the query in memory (client-side). This results in optimal performance.

For data sources with limited query capabilities, the connector handles transformations of the SQL query to make it simpler for the connector. The goal is to make smart decisions based on the query capabilities of the data source to push down as much of the computation as possible. The Microsoft Dynamics CRM Query Evaluation component examines SQL queries and returns information indicating what parts of the query the connector is not capable of executing natively.

The Microsoft Dynamics CRM Query Slicer component is used in more specific cases to separate a single query into multiple independent queries. The client-side Query Engine makes decisions about simplifying queries, breaking queries into multiple queries, and pushing down or computing aggregations on the client-side while minimizing the size of the result set.

There's a significant trade-off in evaluating queries, even partially, client-side. There are always queries that are impossible to execute efficiently in this model, and some can be particularly expensive to compute in this manner. CData always pushes down as much of the query as is feasible for the data source to generate the most efficient query possible and provide the most flexible query capabilities.

More Information

For a full discussion of how CData handles query processing, see CData Architecture: Query Execution.

CData Python Connector for Microsoft Dynamics CRM

Logging

Logging

Capturing connector logging can be very helpful when diagnosing error messages or other unexpected behavior.

Basic Logging

To begin capturing connector logging, set these properties:

  • Logfile: A filepath that designates the name and location of the log file.
  • Verbosity: A numerical value (1-5) that determines the amount of detail in the log. See the page in the Connection Properties section for an explanation of the five levels.
  • MaxLogFileSize: When the limit is hit, a new log is created in the same folder with the date and time appended to the end. The default limit is 100 MB. Values lower than 100 kB will use 100 kB as the value instead.
  • MaxLogFileCount: A string specifying the maximum file count of log files. When the limit is hit, a new log is created in the same folder with the date and time appended to the end and the oldest log file will be deleted. Minimum supported value is 2. A value of 0 or a negative value indicates no limit on the count.

Once these properties are set, the connector populates the log file as it carries out various tasks, such as when authentication is performed or queries are executed. If the specified file doesn't already exist, it is created.

Log Verbosity

The verbosity level determines the amount of detail that the connector reports to the Logfile. Supported Verbosity levels range from 1 to 5.

The following list describes each level:

1Setting Verbosity to 1 logs the query, the number of rows returned by it, the start of execution and the time taken, and any errors.
2Setting Verbosity to 2 logs everything included in Verbosity 1, cache queries, and additional information about the request.
3Setting Verbosity to 3 also logs HTTP headers, as well as the body of the request and the response.
4Setting Verbosity to 4 also logs transport-level communication with the data source. This includes SSL negotiation.
5Setting Verbosity to 5 also logs communication with the data source and additional details that may be helpful in troubleshooting problems. This includes interface commands.

For normal operations, Verbosity should not be set to greater than 1. At higher verbosities you can log substantial amounts of data, which can delay execution times.

To refine the logged content further by showing/hiding specific categories of information, see LogModules.

Sensitive Data

Verbosity levels of 3 and higher may capture information that you do not want shared outside of your organization. The following lists information of concern for each level:

  • Verbosity 3: The full body of the request and the response, which includes all the data returned by the connector
  • Verbosity 4: SSL certificates
  • Verbosity 5: Any extra transfer data not included at Verbosity 3, such as non human-readable binary transfer data

Note: Although we mask sensitive values, such as passwords, in the connection string and any request in the log, it is always best practice to review the logs for any sensitive information before sharing outside your organization.

Advanced Logging

You may want to refine the exact information that is recorded to the log file. This can be accomplished using the LogModules property. This property allows you to filter the logging using a semicolon-separated list of logging modules.

Example property value:

LogModules=INFO;EXEC;SSL;SQL;META;

Note that the logfile filtering triggered by the Verbosity connection property takes precedence over the filtering imposed by this connection property. This means that operations of a higher verbosity level than the level specified in the Verbosity connection property are not printed in the logfile, even if they belong to one of the modules specified in this connection property.

The available modules and submodules are:

Module Name Module Description Submodules
INFO General Information. Includes the connection string, product version (build number), and initial connection messages.
  • Connec – Information related to creating or destroying connections.
  • Messag – Generic label for messages pertaining to connections, the connection string, and product version. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
EXEC Query Execution. Includes execution messages for user-written SQL queries, parsed SQL queries, and normalized SQL queries. Success/failure messages for queries and query pages appear here as well.
  • Messag – Messages pertaining to query execution. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Normlz – Query normalization steps. Query normalization is when the product takes the user-submitted query and rewrites the query to get the same results with optimal performance.
  • Origin – This label applies to any messages recording a user's original query (the exact, unaltered, non-normalized query executed by the user).
  • Page – Messages related to query paging.
  • Parsed – Query parsing steps. Parsing is the process of converting the user-submitted query into a standardized format for easier processing.
HTTP HTTP protocol messages. Includes HTTP requests/responses (including POST messages), as well as Kerberos related messages.
  • KERB – HTTP requests related to Kerberos.
  • Messag – Messages pertaining to HTTP protocols. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Unpack – This label applies to messages about zipped data being returned from the service API and unpacked by the product.
  • Res – Messages containing HTTP responses.
  • Req – Messages containing HTTP requests.
WSDL Messages pertaining to the generation of WSDL/XSD files.
SSL SSL certificate messages.
  • Certif – Messages pertaining to SSL certificates.
AUTH Authentication related failure/success messages.
  • Messag – Messages pertaining to authentication. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • OAuth – Messages related to OAuth authentication.
  • Krbros – Kerberos-related authentication messages.
SQL Includes SQL transactions, SQL bulk transfer messages, and SQL result set messages.
  • Bulk – Messages pertaining to bulk query execution.
  • Cache – Messages related to reading row data from and writing row data to the product's cache for better performance.
  • Messag – Messages pertaining to SQL transactions. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • ResSet – Query resultsets.
  • Transc – Messages related to handling transactions, including information about the number of jobs executed and backup table handling.
META Metadata cache and schema messages.
  • Cache – Messages related to reading from and modifying column and table definitions in the product's cache for better performance.
  • Schema – Messages related to retrieving metadata from or modifying the service schema.
  • MemSto – Messages related to writing to or reading from in-memory metadata cache.
  • Storag – Messages relating to storing metadata on disk or in an external data store, rather than in memory.
FUNC Information related to executing SQL functions.
  • Errmsg – Error messages related to executing SQL functions.
TCP Incoming and outgoing raw bytes on TCP transport layer messages.
  • Send – Raw data sent via the TCP protocol.
  • Receiv – Raw data received via the TCP protocol.
FTP Messages pertaining to the File Transfer Protocol.
  • Info – Status messages related to communication in the FTP protocol.
  • Client – Messages related to actions taken by the FTP client (the product) during FTP communication.
  • Server – Messages related to actions taken by the FTP server during FTP communication.
SFTP Messages pertaining to the Secure File Transfer Protocol.
  • Info – Status messages related to communication in the SFTP protocol.
  • To_Server – Messages related to actions taken by the SFTP client (the product) during SFTP communication.
  • From_Server – Messages related to actions taken by the SFTP server during SFTP communication.
POP Messages pertaining to data transferred via the Post Office Protocol.
  • Client – Messages related to actions taken by the POP client (the product) during POP communication.
  • Server – Messages related to actions taken by the POP server during POP communication.
  • Status – Status messages related to communication in the POP protocol.
SMTP Messages pertaining to data transferred via the Simple Mail Transfer Protocol.
  • Client – Messages related to actions taken by the SMTP client (the product) during SMTP communication.
  • Server – Messages related to actions taken by the SMTP server during SMTP communication.
  • Status – Status messages related to communication in the SMTP protocol.
CORE Messages relating to various internal product operations not covered by other modules.
DEMN Messages related to SQL remoting.
CLJB Messages about bulk data uploads (cloud job).
  • Commit – Submissions for bulk data uploads.
SRCE Miscellaneous messages produced by the product that don't belong in any other module.
TRANCE Advanced messages concerning low-level product operations.

CData Python Connector for Microsoft Dynamics CRM

Exception Handling

Exception Handling

Exceptions can be surfaced from either the API or the CData Python Connector for Microsoft Dynamics CRM. Each exception will have an error code, an error message, and a SQL state.

Error Codes

The error code classifies the type of error.

0 NONE Used for unclassified errors and internally handled errors. This code also covers data source-specific errors that do not fit in any specific category.
65537 TCP_UNKNOWN_HOST Unable to resolve a hostname (DNS failure).
65538 TCP_CONNECTION_REFUSED Could not connect to the remote port.
65539 TCP_AUTH_FAILED Login failed when using a binary authentication protocol. Use this for auth errors when the protocol is not HTTP (LDAP, SASL, Kerberos, ...).
65540 TCP_TIMEOUT Did not receive a response after sending a request to the server.
65541 TCP_PROTOCOL For wire protocol drivers. Either the server sent a bad packet that we are unable to process, or we cannot construct a packet to send.
131073 TLS_SERVER_UNTRUSTED Could not verify SSL server certificate.
131074 TLS_CLIENT_UNTRUSTED Server did not accept the client certificate we sent.
196609 OAUTH_DECRYPT_FAILED OAuthEncryptKey did not decrypt the OAuthSettings file.
196610 OAUTH_MISSING_CLIENT_INFO OAuthClientId / OAuthClientSecret / OAuthJWTCert is missing.
196611 OAUTH_MISSING_PROP General OAuth property missing. OAUTH_MISSING_CLIENT_INFO is used for missing client ID/secret and JWT cert.
196612 OAUTH_NO_ACCESS_TOKEN Unable to retrieve access token. Only use this when getting a token in GetOAuthAccessToken / RefreshOAuthAccessToken.
196613 OAUTH_TOKEN_EXPIRED The access token expired. Normally used with a RefreshOAuth/OAuthException behavior.
196614 OAUTH_INVALID_PROP OAuth property has an invalid value. OAUTH_MISSING_CLIENT_INFO / OAUTH_MISSING_PROP is used if the value is not set.
262145 HTTP_REQUEST_TIMEOUT Did not receive a response from the HTTP server.
262146 HTTP_CLIENT_ERROR Generic HTTP 4xx error. Only use for 4xx errors not covered by other codes.
262147 HTTP_AUTH_FAILED HTTP 401 error.
262148 HTTP_LIMIT_EXCEEDED HTTP 429 error.
262149 HTTP_SERVER_ERROR HTTP 5xx error.
262150 HTTP_NOT_FOUND_ERROR HTTP 404 error.
327681 CORE_TIMEOUT General timeout. Not related to a specific network request.
327682 CORE_OP_NOT_ALLOWED Operation blocked by provider permissions.
327683 CORE_CONNECTION_CONFIG Connection configuration is not valid.
327684 CORE_SERIALIZE Failed to encode data into a specific format (XML, JSON, CSV, ...).
327685 CORE_DESERIALIZE Failed to decode data from a specific format (XML, JSON, CSV, ...).
393217 SQL_SYNTAX_ERROR Unable to parse a SQL query.
393218 SQL_MISSING_COLUMNS Query did not include required columns.
393219 SQL_MISSING_PARAMS Stored procedure call did not include required parameters.
393220 SQL_QUERY_NOT_SUPPORTED A part of the query is not allowed in the current context.
458753 SSH_SERVER_UNTRUSTED Could not verify SSH server.
524289 STORAGE_LIST_EXCEPTION Issue listing storage resources.
524290 STORAGE_RESOURCE_NOT_FOUND Issue finding storage resources.
524291 STORAGE_ROOT_RESOURCE_NOT_FOUND The root resource (bucket/share/drive) was not found; cannot create it in flat file drivers.
524292 STORAGE_RESOURCE_NOT_A_DIRECTORY Storage resource is not a directory.
524293 STORAGE_RESOURCE_NOT_A_FILE Storage resource is not a file.
524294 STORAGE_PERMISSIONS_DENIED Storage permissions denied.

SQL State

The SQL state is used when throwing generic provider errors to the wrapper and indicates the success or failure of a call.

Some of the common SQL states are listed below:

07007 REQUIRED_CLAUSE Class Code 07: Dynamic SQL Error.
08001 OPEN_CONNECTION Class Code 08: Connection Exception. The connection was unable to be established to the application server or other server.
08004 REJECT_CONNECTION The application server rejected establishment of the connection.
42501 PRIVILEGE_IDENTIFIED_OBJECT Class Code 42: Syntax Error or Access Rule Violation. The authorization ID does not have the privilege to perform the specified operation on the identified object.
42506 AUTH_FAILED Owner authorization failure occurred.
42601 SQL_SYNTAX A character, token, or clause is invalid or missing.

Error Message

The error message provides more detailed reasoning about why the error occurred. It provides an explanation of the issue, and may include steps on how to resolve it.

CData Python Connector for Microsoft Dynamics CRM

SQL Compliance

The CData Python Connector for Microsoft Dynamics CRM supports several operations on data, including querying, deleting, modifying, and inserting.

SELECT Statements

See SELECT Statements for a syntax reference and examples.

See Data Model for information on the capabilities of the Microsoft Dynamics CRM API.

INSERT Statements

See INSERT Statements for a syntax reference and examples, as well as retrieving the new records' Ids.

UPDATE Statements

The primary key Id is required to update a record. See UPDATE Statements for a syntax reference and examples.

UPSERT Statements

An UPSERT updates a record if it exists and inserts the record if it does not. See UPSERT Statements for a syntax reference and examples.

DELETE Statements

The primary key Id is required to delete a record. See DELETE Statements for a syntax reference and examples.

GETDELETED Statements

GETDELETED statements return the Ids of deleted records. See GETDELETED Statements for a syntax reference and examples.

CACHE Statements

CACHE statements allow granular control over the connector's caching functionality. For a syntax reference and examples, see CACHE Statements.

For more information on the caching feature, see Caching Data.

EXECUTE Statements

Use EXECUTE or EXEC statements to execute stored procedures. See EXECUTE Statements for a syntax reference and examples.

Names and Quoting

  • Table and column names are considered identifier names; as such, they are restricted to the following characters: [A-Z, a-z, 0-9, _:@].
  • To use a table or column name with characters not listed above, the name must be quoted using square brackets ([name]) in any SQL statement.
  • Parameter names can optionally start with the @ symbol (e.g., @p1 or @CustomerName) and cannot be quoted.
  • Strings must be quoted using single quotes (e.g., 'John Doe').
Dynamics 365 and on-premise instances since CRM 2013 support bulk operations. The connector abstracts the Microsoft Dynamics CRM bulk API into SQL. The following sections describe the SQL you can use to execute bulk operations to Microsoft Dynamics CRM.

CData Python Connector for Microsoft Dynamics CRM

SQL Functions

The connector provides functions that are similar to those that are available with most standard databases. These functions are implemented in the CData provider engine and thus are available across all data sources with the same consistent API. Three categories of functions are available: string, date, and math.

The connector interprets all SQL function inputs as either strings or column identifiers, so you need to escape all literals as strings, with single quotes. For example, contrast the SQL Server syntax and connector syntax for the DATENAME function:

  • SQL Server:
    SELECT DATENAME(yy,GETDATE())
  • connector:
    SELECT DATENAME('yy',GETDATE())

String Functions

These functions perform string manipulations and return a string value. See STRING Functions for more details.

Date Functions

These functions perform date and date time manipulations. See DATE Functions for more details.

Math Functions

These functions provide mathematical operations. See MATH Functions for more details.

CData Python Connector for Microsoft Dynamics CRM

STRING Functions

ASCII(character_expression)

Returns the ASCII code value of the left-most character of the character expression.

  • character_expression: The character expression.

                      SELECT ASCII('0');
                      --  Result: 48
                    

BASE64_ENCODE(input_binary)

Returns the Base64-encoded string form of a binary input.

  • input_binary: The binary value to encode.

                        SELECT BASE64_ENCODE(BinaryData);
                    -- Result: 'QmFzZTY0RW5jb2RlZA=='
                    

BASE64_DECODE(input_string)

Returns the binary result of decoding a Base64-encoded string.

  • input_string: The Base64-encoded string.

                        SELECT BASE64_DECODE('QmFzZTY0RW5jb2RlZA==');
                    -- Result: (binary output)
                    

CHAR(integer_expression)

Converts the integer ASCII code to the corresponding character.

  • integer_expression: The integer from 0 through 255.

                      SELECT CHAR(48);
                      -- Result: '0'
                    

CHARINDEX(expressionToFind ,expressionToSearch [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.
  • start_location: An optional character position to start searching for expressionToFind in expressionToSearch.

                      SELECT CHARINDEX('456', '0123456');
                      -- Result: 4

                      SELECT CHARINDEX('456', '0123456', 5);
                      -- Result: -1
                    

CHAR_LENGTH(character_expression),

Returns the number of UTF-8 characters present in the expression.

  • character_expression: The set of characters to be evaluated for length.

				 SELECT CHAR_LENGTH('sample text') FROM Account LIMIT 1
				 -- Result: 11			
				

CONCAT(string_value1, string_value2, ..., string_valueN)

Returns the string that is the concatenation of two or more string values.

  • string_value1: The first string to be concatenated.
  • string_value2: The second string to be concatenated.
  • string_valueN: (optional) Any additional strings to be concatenated.

                      SELECT CONCAT('Hello, ', 'world!');
                      -- Result: 'Hello, world!'
                    

CONTAINS(expressionToSearch, expressionToFind)

Returns 1 if expressionToFind is found within expressionToSearch; otherwise, 0.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.

                      SELECT CONTAINS('0123456', '456');
                      -- Result: 1

                      SELECT CONTAINS('0123456', 'Not a number');
                      -- Result: 0
                    

ENDSWITH(character_expression, character_suffix)

Returns 1 if character_expression ends with character_suffix; otherwise, 0.

  • character_expression: The character expression.
  • character_suffix: The character suffix to search for.

                      SELECT ENDSWITH('0123456', '456');
                      -- Result: 1

                      SELECT ENDSWITH('0123456', '012');
                      -- Result: 0
                    

FILESIZE(uri)

Returns the number of bytes present in the file at the specified file path.

  • uri: The path of the file from which to read the size.

				SELECT FILESIZE('C:/Users/User1/Desktop/myfile.txt');
				-- Result: 23684
				

FORMAT(value [, parseFormat], format )

Returns the value formatted with the specified format.

  • value: The string to format.
  • format: The string specifying the output syntax of the date or numeric format.
  • parseFormat: The string specifying the input syntax of the date value. Not applicable to numeric types.

                      SELECT FORMAT(12.34, '#');
                      -- Result: 12

                      SELECT FORMAT(12.34, '#.###');
                      -- Result: 12.34

                      SELECT FORMAT(1234, '0.000E0');
                      -- Result: 1.234E3
                      
                      SELECT FORMAT('2019/01/01', 'yyyy-MM-dd');
                      -- Result: 2019-01-01
                      
                      SELECT FORMAT('20190101', 'yyyyMMdd', 'yyyy-MM-dd');
                      -- Result: '2019-01-01'
                    

HASHBYTES(algorithm, value)

Returns the hash of the input value as a byte array using the given algorithm. The supported algorithms are MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, and SHA3_512.

  • algorithm: The algorithm to use for hashing. Must be one of MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, or SHA3_512.
  • value: The value to hash. Must be either a string or byte array.

                      SELECT HASHBYTES('MD5', 'Test');
                      -- Result (byte array): 0x0CBC6611F5540BD0809A388DC95A615B
                    

INDEXOF(expressionToSearch, expressionToFind [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.
  • start_location: An optional character position to start searching for expressionToFind in expressionToSearch.

                      SELECT INDEXOF('0123456', '456');
                      -- Result: 4

                      SELECT INDEXOF('0123456', '456', 5);
                      -- Result: -1
                    

ISALPHABETIC(character_expression)

Returns 1 if the character expression consists only of alphabetic characters; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISALPHABETIC('Hello');
                      -- Result: 1

                      SELECT ISALPHABETIC('Hello123');
                      -- Result: 0

                      SELECT ISALPHABETIC('Hello!');
                      -- Result: 0
                    

ISALPHANUMERIC(character_expression)

Returns 1 if the character expression consists only of alphabetic and numeric characters; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISALPHANUMERIC('Hello123');
                      -- Result: 1

                      SELECT ISALPHANUMERIC('123');
                      -- Result: 1

                      SELECT ISALPHANUMERIC('Hello.123');
                      -- Result: 0
                    

ISNUMERIC(character_expression)

Returns 1 if the character expression consists only of numeric digits and up to one decimal point; otherwise, 0.

  • character_expression: The string expression to evaluate.

                      SELECT ISNUMERIC('123');
                      -- Result: 1

                      SELECT ISNUMERIC('123.45');
                      -- Result: 1

                      SELECT ISNUMERIC('123.45.67');
                      -- Result: 0

                      SELECT ISNUMERIC('12a3');
                      -- Result: 0
                    

JSON_EXTRACT(json, jsonpath)

Selects any value in a JSON array or object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to extract.
  • jsonpath: The XPath used to select the nodes. The JSONPath must be a string constant. The values of the nodes selected will be returned in a token-separated list.

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test');
                      -- Result: '{"data":1}'

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test.data');
                      -- Result: 1

                      SELECT JSON_EXTRACT('{"test": {"data": [1, 2, 3]}}', '$.test.data[1]');
                      -- Result: 2
                    

LEFT ( character_expression , integer_expression )

Returns the specified number of characters counting from the left of the specified string.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters will be returned counting from the left of character_expression.

                      SELECT LEFT('1234567890', 3);
                      -- Result: '123'
                    

LEN(string_expression)

Returns the number of characters of the specified string expression.

  • string_expression: The string expression.

                      SELECT LEN('12345');
                      -- Result: 5
                    

LOCATE(substring,string)

Returns an integer representing how many characters into the string the substring appears.

  • substring: The substring to find inside larger string.
  • string: The larger string that is searched for the substring.
  • start locations: An optional integer that sets the character position (offset) from which to start searching.

				SELECT LOCATE('sample','XXXXXsampleXXXXX');
				-- Result: 6

                SELECT LOCATE('sample', 'XXXXXsampleXXXXX', 7)
                -- Result: 0
				

LOWER ( character_expression )

Returns the character expression with the uppercase character data converted to lowercase.

  • character_expression: The character expression.

                      SELECT LOWER('MIXED case');
                      -- Result: 'mixed case'
                    

LTRIM(character_expression)

Returns the character expression with leading blanks removed.

  • character_expression: The character expression.

                      SELECT LTRIM('     trimmed');
                      -- Result: 'trimmed'
                    

MASK(string_expression, mask_character [, start_index [, end_index ]])

Replaces the characters between start_index and end_index with the mask_character within the string.

  • string_expression: The string expression to be searched.
  • mask_character: The character to mask with.
  • start_index: The optional number of characters to leave unmasked at beginning of string. Defaults to 0.
  • end_index: The optional number of characters to leave unmasked at end of string. Defaults to 0.

                        SELECT MASK('1234567890','*',);
                        -- Result: '**********'
                        SELECT MASK('1234567890','*', 4);
                        -- Result: '1234******'
                        SELECT MASK('1234567890','*', 4, 2);
                        -- Result: '1234****90'  
                    

NCHAR(integer_expression)

Returns the Unicode character with the specified integer code as defined by the Unicode standard.

  • integer_expression: The integer from 0 through 65535 (0 through xFFFF).

OCTET_LENGTH(character_expression),

Returns the number of bytes present in the expression.

  • character_expression: The set of characters to be be evaluated.

				 SELECT OCTET_LENGTH('text') FROM Account LIMIT 1
				 -- Result: 4
				

PATINDEX(pattern, expression)

Returns the starting position of the first occurrence of the pattern in the expression. Returns 0 if the pattern is not found.

  • pattern: The character expression that contains the sequence to be found. The wild-card character % can be used only at the start or end of the expression.
  • expression: The expression, typically a column, to search for the pattern.

                      SELECT PATINDEX('123%', '1234567890');
                      -- Result: 1

                      SELECT PATINDEX('%890', '1234567890');
                      -- Result: 8

                      SELECT PATINDEX('%456%', '1234567890');
                      -- Result: 4
                    

POSITION(expressionToFind IN expressionToSearch)

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.

                      SELECT POSITION('456' IN '123456');
                      -- Result: 4

                      SELECT POSITION('x' IN '123456');
                      -- Result: 0
                    

QUOTENAME(character_string [, quote_character])

Returns a valid SQL Server-delimited identifier by adding the necessary delimiters to the specified Unicode string.

  • character_string: The string of Unicode character data. The string is limited to 128 characters. Inputs greater than 128 characters return null.
  • quote_character: An optional single character to be used as the delimiter. These include:
    • a single quotation mark (')
    • a left or right bracket ([])
    • a double quotation mark (")
    • a left or right parenthesis ( () )
    • a greater or less than sign (><)
    • a left or right brace ({})
    • a backtick (`)

    If quote_character is not specified brackets are used. If an unacceptable character is supplied, it returns NULL.


                      SELECT QUOTENAME('table_name');
                      -- Result: '[table_name]'

                      SELECT QUOTENAME('table_name', '"');
                      -- Result: '"table_name"'

                      SELECT QUOTENAME('table_name', '[');
                      -- Result: '[table_name]'
                    

REGEXP_REPLACE(expr, pattern [, replacement [, position [, occurrence [, match_type]]]])

Replaces occurrences of a regular expression pattern in the input string with a specified value and returns the resulting string.

  • expr: The string expression to be searched.
  • pattern: The regular expression pattern to match.
  • replacement: (optional) The string to replace each matched occurrence of pattern with. Supports backreferences \1 through \9 and escape sequences \n, \r, \t, and \\. By default, this argument is an empty string, meaning matched portions are removed from the output string.
  • position: (optional) The 1-based starting position used when searching for regular expression matches in expr. The default is 1. All characters prior to the starting position are included in the output string unaltered. Skipped characters are ignored when calculating regular expression matches, even if they match pattern.
  • occurrence: (optional) Specifies whether all occurrences of pattern,, or only a specific occurrence of pattern are replaced. The default is 0, which means all occurrences of pattern are replaced with replacement. Set to 1 to only replace the first instance of the pattern; 2 to replace the second; etc.
  • match_type: (optional) Modifiers used to customize matching behavior. Supported values are: 'c' (case-sensitive, default), 'i' (case-insensitive), 'm' (multiline), 'n' (dot matches newline), 'x' (extended mode). These can be freely combined by including the letters back to back. For example, 'im' applies the functionality of both 'i' and 'm'. The regular expression syntax used is that of the Extended mode ('x') ignores whitespace and allows inline comments. If the pattern needs to match a literal space, it must be explicitly escaped.

                      SELECT REGEXP_REPLACE('abc123def456', '\d+', 'NUM');
                      -- Result: 'abcNUMdefNUM'

                      SELECT REGEXP_REPLACE('Hello\nHELLO\nhello', '^hello', 'X', 1, 0, 'im');
                      -- Result: 'X\nX\nX'
                    

REPLACE(string_expression, string_pattern, string_replacement)

Replaces all occurrences of a string with another string.

  • string_expression: The string expression to be searched. This can be a character or binary data type.
  • string_pattern: The substring to be found. Cannot be an empty string.
  • string_replacement: The replacement string.

                      SELECT REPLACE('1234567890', '456', '|');
                      -- Result: '123|7890'

                      SELECT REPLACE('123123123', '123', '.');
                      -- Result: '...'

                      SELECT REPLACE('1234567890', 'a', 'b');
                      -- Result: '1234567890'
                    

REPLICATE ( string_expression ,integer_expression )

Repeats the string value the specified number of times.

  • string_expression: The string to replicate.
  • integer_expression: The repeat count.

                      SELECT REPLACE('x', 5);
                      -- Result: 'xxxxx'
                    

REVERSE ( string_expression )

Returns the reverse order of the string expression.

  • string_expression: The string.

                      SELECT REVERSE('1234567890');
                      -- Result: '0987654321'
                    

RIGHT ( character_expression , integer_expression )

Returns the right part of the string with the specified number of characters.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters of the character expression will be returned.

                      SELECT RIGHT('1234567890', 3);
                      -- Result: '890'
                    

RTRIM(character_expression)

Returns the character expression after it removes trailing blanks.

  • character_expression: The character expression.

                      SELECT RTRIM('trimmed     ');
                      -- Result: 'trimmed'
                    

SOUNDEX(character_expression)

Returns the four-character Soundex code, based on how the string sounds when spoken.

  • character_expression: The alphanumeric expression of character data.

                      SELECT SOUNDEX('smith');
                      -- Result: 'S530'
                    

SPACE(repeatcount)

Returns the string that consists of repeated spaces.

  • repeatcount: The number of spaces.

                      SELECT SPACE(5);
                      -- Result: '     '
                    

SPLIT(string, delimiter, offset)

Returns a section of the string between to delimiters.

  • string: The string to split.
  • delimiter: The character to split the string with.
  • offset: The number of the split to return. Positive numbers are treated as offsets from the left, and negative numbers are treated as offsets from the right.

                      SELECT SPLIT('a/b/c/d', '/', 1);
                      -- Result: 'a'
                      SELECT SPLIT('a/b/c/d', '/', -2);
                      -- Result: 'c'
                    

STARTSWITH(character_expression, character_prefix)

Returns 1 if character_expression starts with character_prefix; otherwise, 0.

  • character_expression: The character expression.
  • character_prefix: The character prefix to search for.

                      SELECT STARTSWITH('0123456', '012');
                      -- Result: 1

                      SELECT STARTSWITH('0123456', '456');
                      -- Result: 0
                    

STR ( float_expression [ , integer_length [ , integer_decimal ] ] )

Returns the character data converted from the numeric data. For example, STR(123.45, 6, 1) returns 123.5.

  • float_expression: The float expression.
  • length: The optional total length to return. This includes decimal point, sign, digits, and spaces. The default is 10.
  • decimal: The optional number of places to the right of the decimal point. The decimal must be less than or equal to 16.

                      SELECT STR('123.456');
                      -- Result: '123'

                      SELECT STR('123.456', 2);
                      -- Result: '**'

                      SELECT STR('123.456', 10, 2);
                      -- Result: '123.46'
                    

STUFF(character_expression , integer_start , integer_length , replaceWith_expression)

Inserts a string into another string. It deletes the specified length of characters in the first string at the start position and then inserts the second string into the first string at the start position.

  • character_expression: The string expression.
  • start: The integer value that specifies the location to start deletion and insertion. If start or length is negative, null is returned. If start is longer than the string to be modified, character_expression, null is returned.
  • length: The integer that specifies the number of characters to delete. If length is longer than character_expression, deletion occurs up to the last character in replaceWith_expression.
  • replaceWith_expression: The expression of character data that will replace length characters of character_expression beginning at the start value.

                      SELECT STUFF('1234567890', 3, 2, 'xx');
                      -- Result: '12xx567890'
                    

SUBSTRING(string_value FROM start FOR length)

Returns the part of the string with the specified length; starts at the specified index.

  • string_value: The character string.
  • start: The positive integer that specifies the start index of characters to return.
  • length: Optional. The positive integer that specifies how many characters will be returned.

                      SELECT SUBSTRING('1234567890' FROM 3 FOR 2);
                      -- Result: '34'

                      SELECT SUBSTRING('1234567890' FROM 3);
                      -- Result: '34567890'
                    
You can also drop the FROM and FOR clauses:
                    SELECT SUBSTRING('1234567890', 3, 2)
                    --Result: '34'
                    SELECT SUBSTRING('1234567890', 3)
                    --Result: '34567890'
                    

TEXT_ENCODE(input_string, charset)

Returns binary output by encoding a string using the specified character set.

  • input_string: The plain text string.
  • charset: The character set to use, such as 'UTF-8', 'ISO-8859-1'.

                    SELECT TEXT_ENCODE('Café', 'UTF-8');
                    -- Result: (binary output)
                    

TEXT_DECODE(input_binary, charset)

Returns a string decoded from binary data using the specified character set.

  • input_binary: The binary value to decode.
  • charset: The character set used for decoding.

                    SELECT TEXT_DECODE(BinaryData, 'UTF-8');
                    -- Result: 'Café'
                    

TOSTRING(string_value1)

Converts the value of this instance to its equivalent string representation.

  • string_value1: The string to be converted.

                      SELECT TOSTRING(123);
                      -- Result: '123'

                      SELECT TOSTRING(123.456);
                      -- Result: '123.456'

                      SELECT TOSTRING(null);
                      -- Result: ''
                    

TRIM(trimspec trimchar FROM string_value)

Returns the character expression with leading and/or trailing blanks removed.

  • trimspec: Optional. If included must be one of the keywords BOTH, LEADING or TRAILING.
  • trimchar: Optional. If included should be a one-character string value.
  • string_value: The string value to trim.

                      SELECT TRIM('     trimmed     ');
                      -- Result: 'trimmed'

                      SELECT TRIM(LEADING FROM '     trimmed     ');
                      -- Result: 'trimmed     '

                      SELECT TRIM('-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(BOTH '-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(TRAILING '-' FROM '-----trimmed-----');
                      -- Result: '-----trimmed'
                    

UNICODE(ncharacter_expression)

Returns the integer value defined by the Unicode standard of the first character of the input expression.

  • ncharacter_expression: The Unicode character expression.

UPPER ( character_expression )

Returns the character expression with lowercase character data converted to uppercase.

  • character_expression: The character expression.

                      SELECT UPPER('MIXED case');
                      -- Result: 'MIXED CASE'
                    

XML_EXTRACT(xml, xpath [, separator])

Extracts an XML document using the specified XPath to flatten the XML. A comma is used to separate the outputs by default, but this can be changed by specifying the third parameter.

  • xml: The XML document to extract.
  • xpath: The XPath used to select the nodes. The nodes selected will be returned in a token-separated list.
  • separator: The optional token used to separate the items in the flattened response. If this is not specified, the separator will be a comma.

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch');
                      -- Result: 'a,e,i,o,u'

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch', ';');
                      -- Result: 'a;e;i;o;u'
                    

CData Python Connector for Microsoft Dynamics CRM

MATH Functions

ABS ( numeric_expression )

Returns the absolute (positive) value of the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT ABS(15);
                      -- Result: 15

                      SELECT ABS(-15);
                      -- Result: 15
                    

ACOS ( float_expression )

Returns the arc cosine, the angle in radians whose cosine is the specified float expression.

  • float_expression: The float expression that specifies the cosine of the angle to be returned. Values outside the range from -1 to 1 return null.

                      SELECT ACOS(0.5);
                      -- Result: 1.0471975511966
                    

ASIN ( float_expression )

Returns the arc sine, the angle in radians whose sine is the specified float expression.

  • float_expression: The float expression that specifies the sine of the angle to be returned. Values outside the range from -1 to 1 return null.

                      SELECT ASIN(0.5);
                      -- Result: 0.523598775598299
                    

ATAN ( float_expression )

Returns the arc tangent, the angle in radians whose tangent is the specified float expression.

  • float_expression: The float expression that specifies the tangent of the angle to be returned.

                      SELECT ATAN(10);
                      -- Result: 1.47112767430373
                    

ATN2 ( float_expression1 , float_expression2 )

Returns the angle in radians between the positive x-axis and the ray from the origin to the point (y, x) where x and y are the values of the two specified float expressions.

  • float_expression1: The float expression that is the y-coordinate.
  • float_expression2: The float expression that is the x-coordinate.

                      SELECT ATN2(1, 1);
                      -- Result: 0.785398163397448
                    

CEILING ( numeric_expression ) or CEIL( numeric_expression )

Returns the smallest integer greater than or equal to the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT CEILING(1.3);
                      -- Result: 2

                      SELECT CEILING(1.5);
                      -- Result: 2

                      SELECT CEILING(1.7);
                      -- Result: 2
                    

COS ( float_expression )

Returns the trigonometric cosine of the specified angle in radians in the specified expression.

  • float_expression: The float expression of the specified angle in radians.

                      SELECT COS(1);
                      -- Result: 0.54030230586814
                    

COT ( float_expression )

Returns the trigonometric cotangent of the angle in radians specified by float_expression.

  • float_expression: The float expression of the angle in radians.

                      SELECT COT(1);
                      -- Result: 0.642092615934331
                    

DEGREES ( numeric_expression )

Returns the angle in degrees for the angle specified in radians.

  • numeric_expression: The angle in radians, an expression of an indeterminate numeric data type except for the bit data type.

                      SELECT DEGREES(3.1415926);
                      -- Result: 179.999996929531
                    

EXP ( float_expression )

Returns the exponential value of the specified float expression. For example, EXP(LOG(20)) is 20.

  • float_expression: The float expression.

                      SELECT EXP(2);
                      -- Result: 7.38905609893065
                    

EXPR ( expression )

Evaluates the expression.

  • expression: The expression. Operators allowed are +, -, *, /, ==, !=, >, <, >=, and <=.

                      SELECT EXPR('1 + 2 * 3');
                      -- Result: 7

                      SELECT EXPR('1 + 2 * 3 == 7');
                      -- Result: true
                    

FLOOR ( numeric_expression )

Returns the largest integer less than or equal to the numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

                      SELECT FLOOR(1.3);
                      -- Result: 1

                      SELECT FLOOR(1.5);
                      -- Result: 1

                      SELECT FLOOR(1.7);
                      -- Result: 1
                    

GREATEST(int1,int2,....)

Returns the greatest of the supplied integers.

				SELECT GREATEST(3,5,8,10,1)
				-- Result: 10			
				

HEX(value)

Returns a the equivalent hex for the input value.

  • value: A string or numerical value to be converted into hex.

				SELECT HEX(866849198);
				-- Result: 33AB11AE
				
				SELECT HEX('Sample Text');
				-- Result: 53616D706C652054657874
				

JSON_AVG(json, jsonpath)

Computes the average value of a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_AVG('[1,2,3,4,5]', '$[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4.5
                    

JSON_COUNT(json, jsonpath)

Returns the number of elements in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_COUNT('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 2
                    

JSON_MAX(json, jsonpath)

Gets the maximum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_MAX('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[..3]');
                      -- Result: 4
                    

JSON_MIN(json, jsonpath)

Gets the minimum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_MIN('[1,2,3,4,5]', '$[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4
                    

JSON_SUM(json, jsonpath)

Computes the summary value in JSON according to the JSONPath expression. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.

                      SELECT JSON_SUM('[1,2,3,4,5]', '$[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 9
                    

LEAST(int1,int2,....)

Returns the least of the supplied integers.

				SELECT LEAST(3,5,8,10,1)
				-- Result: 1			
				

LOG ( float_expression [, base ] )

Returns the natural logarithm of the specified float expression.

  • float_expression: The float expression.
  • base: The optional integer argument that sets the base for the logarithm.

                      SELECT LOG(7.3890560);
                      -- Result: 1.99999998661119
                    

LOG10 ( float_expression )

Returns the base-10 logarithm of the specified float expression.

  • float_expression: The expression of type float.

                      SELECT LOG10(10000);
                      -- Result: 4
                    

MOD(dividend,divisor)

Returns the integer value associated with the remainder when dividing the dividend by the divisor.

  • dividend: The number to take the modulus of.
  • divisor: The number to divide the dividend by when determining the modulus.

				SELECT MOD(10,3);
				-- Result: 1
				

NEGATE(real_number)

Returns the opposite to the real number input.

  • real_number: The real number to find the opposite of.

				SELECT NEGATE(10);
				-- Result: -10
				
				SELECT NEGATE(-12.4)
				--Result: 12.4
				

PI ( )

Returns the constant value of pi.

                  SELECT PI()
                  -- Result: 3.14159265358979 
                

POWER ( float_expression , y )

Returns the value of the specified expression raised to the specified power.

  • float_expression: The float expression.
  • y: The power to raise float_expression to.

                      SELECT POWER(2, 10);
                      -- Result: 1024

                      SELECT POWER(2, -2);
                      -- Result: 0.25
                    

RADIANS ( float_expression )

Returns the angle in radians of the angle in degrees.

  • float_expression: The degrees of the angle as a float expression.

                      SELECT RADIANS(180);
                      -- Result: 3.14159265358979
                    

RAND ( [ integer_seed ] )

Returns a pseudorandom float value from 0 through 1, exclusive.

  • seed: The optional integer expression that specifies the seed value. If seed is not specified, a seed value at random will be assigned.

                      SELECT RAND();
                      -- This result may be different, since the seed is randomized
                      -- Result: 0.873159630165044

                      SELECT RAND(1);
                      -- This result will always be the same, since the seed is constant
                      -- Result: 0.248668584157093
                    

ROUND ( numeric_expression [ ,integer_length] [ ,function ] )

Returns the numeric value rounded to the specified length or precision.

  • numeric_expression: The expression of a numeric data type.
  • length: The optional precision to round the numeric expression to. When this is omitted, the default behavior will be to round to the nearest whole number.
  • function: The optional type of operation to perform. When the function parameter is omitted or has a value of 0 (default), numeric_expression is rounded. When a value other than 0 is specified, numeric_expression is truncated.

                      SELECT ROUND(1.3, 0);
                      -- Result: 1

                      SELECT ROUND(1.55, 1);
                      -- Result: 1.6

                      SELECT ROUND(1.7, 0, 0);
                      -- Result: 2

                      SELECT ROUND(1.7, 0, 1);
                      -- Result: 1
                      
                      SELECT ROUND (1.24);
                      -- Result: 1.0
                    

SIGN ( numeric_expression )

Returns the positive sign (1), 0, or negative sign (-1) of the specified expression.

  • numeric_expression: The expression of an indeterminate data type except for the bit data type.

                      SELECT SIGN(0);
                      -- Result: 0

                      SELECT SIGN(10);
                      -- Result: 1

                      SELECT SIGN(-10);
                      -- Result: -1
                    

SIN ( float_expression )

Returns the trigonometric sine of the angle in radians.

  • float_expression: The float expression specifying the angle in radians.

                     SELECT SIN(1);
                     -- Result: 0.841470984807897
                    

SQRT ( float_expression )

Returns the square root of the specified float value.

  • float_expression: The expression of type float.

                      SELECT SQRT(100);
                      -- Result: 10
                    

SQUARE ( float_expression )

Returns the square of the specified float value.

  • float_expression: The expression of type float.

                      SELECT SQUARE(10);
                      -- Result: 100

                      SELECT SQUARE(-10);
                      -- Result: 100
                    

TAN ( float_expression )

Returns the tangent of the input expression.

  • float_expression: The expression of type float.

                      SELECT TAN(1);
                      -- Result: 1.5574077246549
                    

TRUNC(decimal_number,precision)

Returns the supplied decimal number truncated to have the supplied decimal precision.

  • decimal_number: The decimal value to truncate.
  • precision: The number of decimal places to truncate the decimal number to.

				SELECT TRUNC(10.3423,2);
				-- Result: 10.34
				

_ROW_NUMBER_()

Returns a row index as an additional column.

				SELECT ColumnName, _ROW_NUMBER_() FROM TableName
				-- Result: ColumnData, 0
				ColumnData2, 1
				ColumnData3, 2
				

CData Python Connector for Microsoft Dynamics CRM

DATE Functions

CURRENT_DATE()

Returns the current date value.

                  SELECT CURRENT_DATE();
                  -- Result: 2018-02-01
                

CURRENT_TIMESTAMP()

Returns the current time stamp of the database system as a datetime value. This value is equal to GETDATE and SYSDATETIME, and is always in the local timezone.

                  SELECT CURRENT_TIMESTAMP();
                  -- Result: 2018-02-01 03:04:05
                

DATEADD (datepart , integer_number , date [, dateformat])

Returns the datetime value that results from adding the specified number (a signed integer) to the specified date part of the date.

  • datepart: The part of the date to add the specified number to. The valid values and abbreviations are
    • year (yy, yyyy)
    • quarter (qq, q)
    • month (mm, m)
    • week (wk, ww)
    • weekday (dw)
    • dayofyear (dy, y)
    • day (dd, d)
    • hour (hh)
    • minute (mi, n)
    • second (ss, s)
    • millisecond (ms)
  • number: The number to be added.
  • date: The expression of the datetime data type.
  • dateformat: The optional output date format.

                  SELECT DATEADD('d', 5, '2018-02-01');
                  -- Result: 2018-02-06

                  SELECT DATEADD('hh', 5, '2018-02-01 00:00:00');
                  -- Result: 2018-02-01 05:00:00
                

DATEDIFF ( datepart , startdate , enddate )

Returns the difference (a signed integer) of the specified time interval between the specified start date and end date.

  • datepart: The part of the date that is the time interval of the difference between the start date and end date. The valid values and abbreviations are:
    • Year (year, yyyy, yy)
    • Quarter (quarter, qq, q)
    • Month (month, mm, m)
    • Week (week, wk, ww)
    • Weekday (weekday, dw)
    • Dayofyear (dayofyear, dy, y)
    • Day (day, dd, d)
    • Hour (hour, hh)
    • Minute (minute, mi, n)
    • Second (second, ss, s)
    • Millisecond (millisecond, ms)
  • startdate: The datetime expression of the start date.
  • enddate: The datetime expression of the end date.

                  SELECT DATEDIFF('d', '2018-02-01', '2018-02-10');
                  -- Result: 9

                  SELECT DATEDIFF('hh', '2018-02-01 00:00:00', '2018-02-01 12:00:00');
                  -- Result: 12
                

DATE_FORMAT(date,format)

Returns the date or timestamp in the format specified. This function mirrors the MySQL DATE_FORMAT function.

  • date: A date or timestamp string.
  • format: The specifier string of the desired output format. The list of supported format specifiers comes from the MySQL DATE_FORMAT function (see link to MySQL documentation above).

					SELECT DATE_FORMAT('9/4/2021 3:11:53 AM','%h')
					-- Result: 03
				  

DATEFROMPARTS(integer_year, integer_month, integer_day)

Returns the datetime value for the specified year, month, and day.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.

                    SELECT DATEFROMPARTS(2018, 2, 1);
                    -- Result: 2018-02-01
                  

DATENAME(datepart , date)

Returns the character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), and nanosecond (ns).
  • date: The datetime expression.

                     SELECT DATENAME('yy', '2018-02-01');
                     -- Result: '2018'

                     SELECT DATENAME('dw', '2018-02-01');
                     -- Result: 'Thursday'
                   

DATEPART(datepart, date [,integer_datefirst])

Returns a character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), nanosecond (ns), ISODOW, ISO_WEEK (isoweek, isowk,isoww), and ISOYEAR.
  • date: The datetime string.
  • datefirst: The optional integer representing the first day of the week. The default is 7, Sunday.

                    SELECT DATEPART('yy', '2018-02-01');
                    -- Result: 2018

                    SELECT DATEPART('dw', '2018-02-01');
                    -- Result: 5
                  

DATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_milliseconds)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • milliseconds: The integer expression specifying the milliseconds.

                    SELECT DATETIMEFROMPARTS(2018, 2, 1, 1, 2, 3, 456);
                    -- Result: 2018-02-01 01:02:03.456
                  

DATETIME2FROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision: The integer expression specifying the precision of the fraction.

				    SELECT DATETIME2FROMPARTS(2018, 2, 1, 1, 2, 3, 456, 3);
                    -- Result: 2018-02-01 01:02:03.456
                  

DATE_TRUNC(date, datepart)

Truncates the date to the precision of the given date part. Modeled after the Oracle TRUNC function.

  • date: The datetime string that specifies the date.
  • datepart: Refer to the Oracle documentation for valid datepart syntax.

				    SELECT DATE_TRUNC('05-04-2005', 'YY');
                    -- Result: '1/1/2005'
					
                    SELECT DATE_TRUNC('05-04-2005', 'MM');
                    -- Result: '5/1/2005'                    
                  

DATE_TRUNC2(datepart, date, [weekday])

Truncates the date to the precision of the given date part. Modeled after the PostgreSQL date_trunc function.

  • datepart: One of 'millennium', 'century', 'decade', 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute' or 'second'.
  • date: The datetime string that specifies the date.
  • weekday: The optional day of the week to use as the first day for 'week'. One of 'sunday', 'monday', etc.

                    SELECT DATE_TRUNC2('year', '2020-02-04');
                    -- Result: '2020-01-01'

                    SELECT DATE_TRUNC2('week', '2020-02-04', 'monday');
                    -- Result: '2020-02-02', which is the previous Monday
                  

DAY(date)

Returns the integer that specifies the day component of the specified date.

  • date: The datetime string that specifies the date.

                    SELECT DAY('2018-02-01');
                    -- Result: 1
                  

DAYNAME(date)

Returns the name of the day of the week of the specified date.

  • date: The datetime string that specifies the date.

                    SELECT DAYNAME('8/18/2021');
                    -- Result: Wednesday
                  

DAYOFMONTH(date)

Returns the day of the month of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFMONTH('04/15/2000');
				  -- Result: 15
				  

DAYOFWEEK(date)

Returns the day of the week of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFWEEK('04/15/2000');
				  -- Result: 7
				  

DAYOFYEAR(date)

Returns the day of the year of the given date part.
  • date: The datetime string that specifies the date.

				  SELECT DAYOFYEAR('04/15/2000');
				  -- Result: 106
				  

EOMONTH(date [, integer_month_to_add ]) or LAST_DAY(date)

Returns the last day of the month that contains the specified date with an optional offset.

  • date: The datetime expression specifying the date for which to return the last day of the month.
  • integer_month_to_add: The optional integer expression specifying the number of months to add to the date before calculating the end of the month.

                  SELECT EOMONTH('2018-02-01');
                  -- Result: 2018-02-28
                  
                  SELECT LAST_DAY('2018-02-01');
                  -- Result: 2018-02-28

                  SELECT EOMONTH('2018-02-01', 2);
                  -- Result: 2018-04-30
                

EXTRACT(date_part FROM date_column_name)

Returns the last day of the month that contains the specified date with an optional offset.

  • date_part: One of the following date components: YEAR, MONTH, DAY, HOUR, MINUTE, SECOND.
  • date_column_name: The name of a date column in a table.

                  SELECT EXTRACT(YEAR FROM DateColumn)
                  -- Result: 2021
                

FDWEEK(date)

Returns the first day of the week of the given date part.
  • date: The datetime string that specifies the date.
  • weeks to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the week.

				  SELECT FDWEEK('02-08-2018');
				  -- Result: 2/4/2018

          SELECT FDWEEK('02-08-2018', 1)
          --Result: 02/11/2018
				  

FDMONTH(date)

Returns the first day of the month of the given date part.
  • date: The datetime string that specifies the date.
  • month to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the month.

				  SELECT FDMONTH('02-08-2018');
				  -- Result: 2/1/2018

          SELECT FDMONTH('02-08-2018', 1) 
          --Result: 03/01/2018
				  

FDQUARTER(date)

Returns the first day of the quarter of the given date part.
  • date: The datetime string that specifies the date.
  • quarters to add: An optional integer expression specifying the number of months to add to the date before calculating the first day of the quarter.

				  SELECT FDQUARTER('05-08-2018');
				  -- Result: 4/1/2018

          SELECT FDQUARTER('05-08-2018',1)
          --Result: 07/01/2018
				  

FILEMODIFIEDTIME(uri)

Returns the time stamp associated with the Date Modified of the relevant file.

  • uri: An absolute path pointing to a file on the local file system.

				 SELECT FILEMODIFIEDTIME('C:/Documents/myfile.txt');
				 -- Result: 6/25/2019 10:06:58 AM
				 

FROM_DAYS(datevalue)

Returns a date derived from the number of days after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL FROM_DAYS function.

  • datevalue: A integer value representing the number of days since 1582-10-15.

				SELECT FROM_DAYS(736000);
				-- Result: 2/6/2015
				

FROM_UNIXTIME(time, issecond)

Returns a representation of the unix_timestamp argument as a value in YYYY-MM-DD HH:MM:SS expressed in the current time zone.

  • time: The time stamp value from epoch time. Milliseconds are accepted.
  • issecond: Indicates the time stamp value is milliseconds to epoch time.

                      SELECT FROM_UNIXTIME(1540495231, 1);
                      -- Result: 2018-10-25 19:20:31

                      SELECT FROM_UNIXTIME(1540495357385, 0);
                      -- Result: 2018-10-25 19:22:37
                    

GETDATE()

Returns the current time stamp of the database system as a datetime value. This value is equal to CURRENT_TIMESTAMP and SYSDATETIME, and is always in the local timezone.

                  SELECT GETDATE();
                  -- Result: 2018-02-01 03:04:05
                

GETUTCDATE()

Returns the current time stamp of the database system formatted as a UTC datetime value. This value is equal to SYSUTCDATETIME.

In addition, GETUTCDATE can take an optional second parameter, a date and time that are converted to UTC.

                  SELECT GETUTCDATE();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05

                  SELECT GETUTCDATE('2020/08/31 13:56:00')
                  --Result: '2020-08-31 17:56:00'
                

HOUR(date)

Returns the hour component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT HOUR('02-02-2020 11:30:00');
				-- Result: 11
				

ISDATE(date, [date_format])

Returns 1 if the value is a valid date, time, or datetime value; otherwise, 0.

  • date: The datetime string.
  • date_format: The optional datetime format.

                      SELECT ISDATE('2018-02-01', 'yyyy-MM-dd');
                      -- Result: 1

                      SELECT ISDATE('Not a date');
                      -- Result: 0
                    

LAST_WEEK()

Returns a time stamp equivalent to exactly one week before the current date.

				SELECT LAST_WEEK();	//Assume the date is 3/17/2020	
			 -- Result: 3/10/2020 00:00:00
				

LAST_MONTH()

Returns a time stamp equivalent to exactly one month before the current date.

	
				SELECT LAST_MONTH(); //Assume the date is 3/17/2020
				-- Result: 2/17/2020 00:00:00
				

LAST_YEAR()

Returns a time stamp equivalent to exactly one year before the current date.

				SELECT LAST_YEAR();	//Assume the date is 3/17/2020	
				-- Result: 3/10/2019 00:00:00
				

LDWEEK(date)

Returns the last day of the provided week.

  • date: The datetime string.
  • weeks to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the week.

				SELECT LDWEEK('02-02-2020');
				-- Result: 2/8/2020
				

LDMONTH(date)

Returns the last day of the provided month.

  • date: The datetime string.
  • months to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the month.

				SELECT LDMONTH('02-02-2020');
				-- Result: 2/29/2020

        SELECT LDMONTH('02-08-2020', 1)
        --Result: 03/31/2020
				

LDQUARTER(date)

Returns the last day of the provided quarter.

  • date: The datetime string.
  • quarters to add: An optional integer expression specifying the number of months to add to the date before calculating the last day of the quarter.

				SELECT LDQUARTER('02-02-2020');
				-- Result: 3/31/2020

        SELECT LDQUARTER('02-02-2020',1)
        --Result: 06/30/2020
				

MAKEDATE(year, days)

Returns a date value from a year and a number of days.

  • year: The year
  • days: The number of days into the year. Value must be greater than 0.

          SELECT MAKEDATE(2020, 1);
          -- Result: 2020-01-01
        

MINUTE(date)

Returns the minute component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT MINUTE('02-02-2020 11:15:00');
				-- Result: 15
				

MONTH(date)

Returns the month component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT MONTH('02-02-2020');
				-- Result: 2
				

QUARTER(date)

Returns the quarter associated with the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT QUARTER('02-02-2020');
				-- Result: 1
				

SECOND(date)

Returns the second component from the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT SECOND('02-02-2020 11:15:23');
				-- Result: 23
				

SMALLDATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute)

Returns the datetime value for the specified date and time.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.

                      SELECT SMALLDATETIMEFROMPARTS(2018, 2, 1, 1, 2);
                      -- Result: 2018-02-01 01:02:00
                    

STRTODATE(string,format)

Parses the provided string value and returns the corresponding datetime.

  • string: The string value to be converted to datetime format.
  • format: A format string which describes how to interpret the first string input. A few special formats are available as well, including UNIX, UNIXMILIS, TICKS, and FILETICKS.

				SELECT STRTODATE('03*04*2020','dd*MM*yyyy');
				-- Result: 4/3/2020
				

SYSDATETIME()

Returns the current time stamp as a datetime value of the database system. It is equal to GETDATE and CURRENT_TIMESTAMP, and is always in the local timezone.

                  SELECT SYSDATETIME();
                  -- Result: 2018-02-01 03:04:05
                

SYSUTCDATETIME()

Returns the current system date and time as a UTC datetime value. It is equal to GETUTCDATE.

                  SELECT SYSUTCDATETIME();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05
                

TIMEFROMPARTS(integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the time value for the specified time and with the specified precision.

  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision : The integer expression specifying the precision of the fraction.

                      SELECT TIMEFROMPARTS(1, 2, 3, 456, 3);
                      -- Result: 01:02:03.456
                    

TO_DAYS(date)

Returns the number of days since 0000-00-01. This will only return a value for dates on or after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL TO_DAYS function.

  • date: The datetime string that specifies the date.

				SELECT TO_DAYS('02-06-2015');
				-- Result: 736000
				

WEEK(date)

Returns the week (of the year) associated with the provided datetime.

  • date: The datetime string that specifies the date.

				SELECT WEEK('02-17-2020 11:15:23');
				-- Result: 8
				

YEAR(date)

Returns the integer that specifies the year of the specified date.

  • date: The datetime string.

                      SELECT YEAR('2018-02-01');
                      -- Result: 2018
                    

CData Python Connector for Microsoft Dynamics CRM

Date Literal Functions

The following date literal functions can be used to filter date fields using relative intervals. Note that while the <, >, and = operators are supported for these functions, <= and >= are not.

L_TODAY()

The current day.

  SELECT * FROM MyTable WHERE MyDateField = L_TODAY()

L_YESTERDAY()

The previous day.

  SELECT * FROM MyTable WHERE MyDateField = L_YESTERDAY()

L_TOMORROW()

The following day.

  SELECT * FROM MyTable WHERE MyDateField = L_TOMORROW()

L_LAST_WEEK()

Every day in the preceding week.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_WEEK()

L_THIS_WEEK()

Every day in the current week.

  SELECT * FROM MyTable WHERE MyDateField = L_THIS_WEEK()

L_NEXT_WEEK()

Every day in the following week.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_WEEK()
Also available:
  • L_LAST/L_THIS/L_NEXT MONTH
  • L_LAST/L_THIS/L_NEXT QUARTER
  • L_LAST/L_THIS/L_NEXT YEAR

L_LAST_N_DAYS(n)

The previous n days, excluding the current day.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_DAYS(3)

L_NEXT_N_DAYS(n)

The following n days, including the current day.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_DAYS(3)
Also available:
  • L_LAST/L_NEXT_90_DAYS

L_LAST_N_WEEKS(n)

Every day in every week, starting n weeks before current week, and ending in the previous week.

  SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_WEEKS(3)

L_NEXT_N_WEEKS(n)

Every day in every week, starting the following week, and ending n weeks in the future.

  SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_WEEKS(3)
Also available:
  • L_LAST/L_NEXT_N_MONTHS(n)
  • L_LAST/L_NEXT_N_QUARTERS(n)
  • L_LAST/L_NEXT_N_YEARS(n)

CData Python Connector for Microsoft Dynamics CRM

SELECT Statements

A SELECT statement can consist of the following basic clauses.

  • SELECT
  • INTO
  • FROM
  • JOIN
  • WHERE
  • GROUP BY
  • HAVING
  • UNION
  • ORDER BY
  • LIMIT

SELECT Syntax

The following syntax diagram outlines the syntax supported by the SQL engine of the connector:

SELECT {
  [ TOP <numeric_literal> | DISTINCT ]
  { 
    * 
    | { 
        <expression> [ [ AS ] <column_reference> ] 
        | { <table_name> | <correlation_name> } .* 
      } [ , ... ] 
  }
  { 
    FROM <table_reference> [ [ AS ] <identifier> ] 
  } [ , ... ]
  [ [  
      INNER | { { LEFT | RIGHT | FULL } [ OUTER ] } 
    ] JOIN <table_reference> [ ON <search_condition> ] [ [ AS ] <identifier> ] 
  ] [ ... ] 
  [ WHERE <search_condition> ]
  [ GROUP BY <column_reference> [ , ... ]
  [ HAVING <search_condition> ]
  [ UNION [ ALL ] <select_statement> ]
  [ 
    ORDER BY 
    <column_reference> [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]
  ]
  [ 
    LIMIT <expression>
    [ 
      { OFFSET | , }
      <expression> 
    ]
  ] 
} | SCOPE_IDENTITY() 

<expression> ::=
  | <column_reference>
  | @ <parameter> 
  | ?
  | COUNT( * | { [ DISTINCT ] <expression> } )
  | { AVG | MAX | MIN | SUM | COUNT } ( <expression> ) 
  | NULLIF ( <expression> , <expression> ) 
  | COALESCE ( <expression> , ... ) 
  | CASE <expression>
      WHEN { <expression> | <search_condition> } THEN { <expression> | NULL } [ ... ]
    [ ELSE { <expression> | NULL } ]
    END 
  | {RANK() | DENSE_RANK()} OVER ([PARTITION BY <column_reference>] {ORDER BY <column_reference>})
  | <literal>
  | <sql_function> 

<search_condition> ::= 
  {
    <expression> { = | > | < | >= | <= | <> | != | LIKE | NOT LIKE | IN | NOT IN | IS NULL | IS NOT NULL | AND | OR | CONTAINS | BETWEEN | IS DISTINCT FROM | IS NOT DISTINCT FROM } [ <expression> ]
  } [ { AND | OR } ... ] 

Examples

  1. Return all columns:
    SELECT * FROM Lead
  2. Rename a column:
    SELECT [FirstName] AS MY_FirstName FROM Lead
  3. Cast a column's data as a different data type:
    SELECT CAST(Revenue AS VARCHAR) AS Str_Revenue FROM Lead
  4. Search data:
    SELECT * FROM Lead WHERE FirstName <> 'Bob'
  5. Return the number of items matching the query criteria:
    SELECT COUNT(*) AS MyCount FROM Lead 
  6. Return the number of unique items matching the query criteria:
    SELECT COUNT(DISTINCT FirstName) FROM Lead 
  7. Return the unique items matching the query criteria:
    SELECT DISTINCT FirstName FROM Lead 
  8. Sort a result set in ascending order:
    SELECT Id, FirstName FROM Lead  ORDER BY FirstName ASC
  9. Restrict a result set to the specified number of rows:
    SELECT Id, FirstName FROM Lead LIMIT 10 
  10. Parameterize a query to pass in inputs at execution time. This enables you to create prepared statements and mitigate SQL injection attacks.
    SELECT * FROM Lead WHERE FirstName = @param
See Explicitly Caching Data for information on using the SELECT statement in offline mode.

Pseudo Columns

Some input-only fields are available in SELECT statements. These fields, called pseudo columns, do not appear as regular columns in the results, yet may be specified as part of the WHERE clause. You can use pseudo columns to access additional features from Microsoft Dynamics CRM.

    SELECT * FROM Lead WHERE FetchXML = '@FetchXML'
    

Aggregate Functions

For SELECT examples using aggregate functions, see Aggregate Functions.

JOIN Queries

See JOIN Queries for SELECT query examples using JOINs.

Date Literal Functions

Date Literal Functions contains SELECT examples with date literal functions.

CData Python Connector for Microsoft Dynamics CRM

Aggregate Functions

COUNT

Returns the number of rows matching the query criteria.

SELECT COUNT(*) FROM Lead WHERE FirstName = 'Bob'

COUNT(DISTINCT)

Returns the number of distinct, non-null field values matching the query criteria.

SELECT COUNT(DISTINCT Id) AS DistinctValues FROM Lead WHERE FirstName <> 'Bob'

AVG

Returns the average of the column values.

SELECT FirstName, AVG(Revenue) FROM Lead WHERE FirstName <> 'Bob'  GROUP BY FirstName

MIN

Returns the minimum column value.

SELECT MIN(Revenue), FirstName FROM Lead WHERE FirstName <> 'Bob' GROUP BY FirstName

MAX

Returns the maximum column value.

SELECT FirstName, MAX(Revenue) FROM Lead WHERE FirstName <> 'Bob' GROUP BY FirstName

SUM

Returns the total sum of the column values.

SELECT SUM(Revenue) FROM Lead WHERE FirstName = 'Bob'

CData Python Connector for Microsoft Dynamics CRM

JOIN Queries

The connector supports JOIN queries based on Dynamics CRM relationships. JOIN queries in Dynamics CRM can only be executed against related entities.

Dynamics CRM entities can be linked using relationships. The standard Dynamics CRM entities already have relationships defined for them. You can define relationships for your custom entities. The connector supports standard SQL syntax instead of proprietary FetchXML to allow easy integration with a wide variety of SQL tools.

Inner Joins

Inner joins are the default join when the JOIN keyword is specified. The INNER and NATURAL keywords are also supported. The following query returns the Names of all Accounts that have Contacts and the FirstNames of those Contacts.

SELECT Account.Id, Account.Name, Contact.FirstName, Contact.LastName FROM Account JOIN Contact ON Account.Id = Contact.AccountId_Id

Left Join

Left joins can be executed with the LEFT JOIN and LEFT OUTER JOIN keywords. The following returns all Accounts and the Equipment Id for any preferred Equipment defined for that Account:

SELECT Account.Id, Account.Name, Equipment.Id AS Eid, Equipment.Name AS Ename FROM Account LEFT JOIN Equipment ON Account.PreferredEquipmentid_id = Equipment.Id WHERE Account.Name = 'Adventure Works (sample)'

CData Python Connector for Microsoft Dynamics CRM

INSERT Statements

To create new records, use INSERT statements.

INSERT Syntax

The INSERT statement specifies the columns to be inserted and the new column values. You can specify the column values in a comma-separated list in the VALUES clause, as shown in the following example:

INSERT INTO <table_name> 
( <column_reference> [ , ... ] )
VALUES 
( { <expression> | NULL } [ , ... ] ) 
  

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>
The following is an example query:
INSERT INTO Lead (FirstName) VALUES ('John')

CData Python Connector for Microsoft Dynamics CRM

UPDATE Statements

To modify existing records, use UPDATE statements.

Update Syntax

The UPDATE statement takes as input a comma-separated list of columns and new column values as name-value pairs in the SET clause, as shown in the following example:

UPDATE <table_name> SET <select_statement> | {<column_reference> = <expression> [ , ... ]} WHERE { Id = <expression>  } [ { AND | OR } ... ] 

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

The following is an example query:

UPDATE Lead SET FirstName='John' WHERE Id = @myId

CData Python Connector for Microsoft Dynamics CRM

UPSERT Statements

An UPSERT statement updates an existing record or creates a new record if an existing record is not identified.

UPSERT Syntax

The UPSERT syntax is the same as for INSERT. Microsoft Dynamics CRM uses the input provided in the VALUES clause to determine whether the record already exists. If the record does not exist, all columns required to insert the record must be specified. See Data Model for any table-specific information.

UPSERT INTO <table_name> 
( <column_reference> [ , ... ] )
VALUES 
( { <expression> | NULL } [ , ... ] ) 
  

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

The following is an example query:

UPSERT INTO Lead (FirstName) VALUES ('John')

CData Python Connector for Microsoft Dynamics CRM

DELETE Statements

To delete information from a table, use DELETE statements.

DELETE Syntax

The DELETE statement requires the table name in the FROM clause and the row's primary key in the WHERE clause, as shown in the following example:

<delete_statement> ::= DELETE FROM <table_name> WHERE { Id = <expression> } [ { AND | OR } ... ]

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

The following is an example query:

DELETE FROM Lead WHERE Id = @myId

CData Python Connector for Microsoft Dynamics CRM

CACHE Statements

When caching is enabled, CACHE statements provide complete control over the data that is cached and the table to which it is cached. The CACHE statement executes the SELECT statement specified and caches its results to a table with the same name in the cache database or to table specified in <cached_table_name>. The connector updates or inserts rows to the cache depending on whether or not they already exist in the cache, so the primary key, which is used to identify existing rows, must be included in the selected columns.

See Caching Data for more information on different caching strategies.

CACHE Statement Syntax

The cache statement may include the following options that alter its behavior:

CACHE [ <cached_table_name> ] [ WITH TRUNCATE | AUTOCOMMIT | SCHEMA ONLY | DROP EXISTING | ALTER SCHEMA ] <select_statement> 

WITH TRUNCATE

If this option is set, the connector removes existing rows in the cache table before adding the selected rows. Use this option if you want to refresh the entire cache table but keep its existing schema.

AUTOCOMMIT

If this option is set, the connector commits each row individually. Use this option if you want to ignore the rows that could not be cached due to some reason. By default, the entire result set is cached as a single transaction.

DROP EXISTING

If this option is set, the connector drops the existing cache table before caching the new results. Use this option if you want to refresh the entire cache table, including its schema.

SCHEMA ONLY

If this option is set, the connector creates the cache table based on the SELECT statement without executing the query.

ALTER SCHEMA

If this option is set, the connector alters the schema of the existing table in the cache if it does not match the schema of the SELECT statement. This option results in new columns or dropped columns, if the schema of the SELECT statement does not match the cached table.

Common Queries

Use the following cache statement to cache all rows of a table:

CACHE SELECT * FROM Lead

Use the following cache statement to cache all rows of a table into the cache table CachedLead:

CACHE CachedLead SELECT * FROM Lead

Use the following cache statement for incremental caching. The DateModified column may not exist in all tables. The cache statement shows how incremental caching would work if there were such a column. Also, notice that, in this case, the WITH TRUNCATE and DROP EXISTING options are specifically omitted, which would have deleted all existing rows.

CACHE CachedLead SELECT * FROM Lead WHERE DateModified > '2013-04-04'

Use the following cache statements to create a table with all available columns that will then cache only a few of them. The sequence of statements cache only Id and FirstName even though the cache table CachedLead has all the columns in Lead.

CACHE CachedLead SCHEMA ONLY SELECT * FROM Lead
CACHE CachedLead SELECT Id, FirstName FROM Lead

CData Python Connector for Microsoft Dynamics CRM

EXECUTE Statements

To execute stored procedures, you can use EXECUTE or EXEC statements.

EXEC and EXECUTE assign stored procedure inputs, referenced by name, to values or parameter names.

Stored Procedure Syntax

To execute a stored procedure as an SQL statement, use the following syntax:

 
{ EXECUTE | EXEC } <stored_proc_name> 
{
  [ @ ] <input_name> = <expression>
} [ , ... ]

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>

Example Statements

Reference stored procedure inputs by name:

EXECUTE my_proc @second = 2, @first = 1, @third = 3;

Execute a parameterized stored procedure statement:

EXECUTE my_proc second = @p1, first = @p2, third = @p3; 

CData Python Connector for Microsoft Dynamics CRM

PIVOT and UNPIVOT

PIVOT and UNPIVOT can be used to change a table-valued expression into another table.

PIVOT

PIVOT rotates a table-value expression by turning unique values from one column into multiple columns in the output. PIVOT can run aggregations where required on any column value.
PIVOT Synax

 
"SELECT 'AverageCost' AS Cost_Sorted_By_Production_Days, [0], [1], [2], [3], [4]
FROM
(
SELECT DaysToManufacture, StandardCost
FROM Production.Product
) AS SourceTable
PIVOT
(
AVG(StandardCost)
FOR DaysToManufacture IN ([0], [1], [2], [3], [4])
) AS PivotTable;"

UNPIVOT

UNPIVOT carries out nearly the opposite to PIVOT by rotating columns of a table-valued expressions into column values.
UNPIVOT Sytax

 
"SELECT VendorID, Employee, Orders
FROM
(SELECT VendorID, Emp1, Emp2, Emp3, Emp4, Emp5
FROM pvt) p
UNPIVOT
(Orders FOR Employee IN
(Emp1, Emp2, Emp3, Emp4, Emp5)
)AS unpvt;"

For further information on PIVOT and UNPIVOT, see FROM clause plus JOIN, APPLY, PIVOT (Transact-SQL)

CData Python Connector for Microsoft Dynamics CRM

INSERT INTO SELECT Statements

Use INSERT INTO SELECT queries to select a list of records from one table and insert those same records into another table as a group. Inserting batches of records in this way may result in improved query performance compared to using many individual INSERT INTO queries.

The table whose records are selected for insertion into another table can be either a real table or a user-defined temporary table.

Inserting Records from Real Tables

To insert a group of records from one real, non-temporary, source table into another destination table, you can use an INSERT INTO SELECT query. This type of query is formatted similarly to a standard INSERT INTO query, except the VALUES clause is substituted with a SELECT query targeting the source table. All records matched by the embedded SELECT query are inserted into the destination table.

If the source table and destination tables have different column names, you must map columns from the source table to the corresponding columns in the destination table you want to insert them into. Perform this mapping by specifying the destination table columns in the same order as the source table columns you want to match them with. For example:

INSERT INTO DestinationTable (A,B,C,D) SELECT Q,R,S,T FROM SourceTable

In this example, the first source column (Q) is inserted into the first destination column (A), the second source column (R) is inserted into the second destination column (B), and so on.

If the source table and destination table both have the same column list with the same names, you can use a streamlined query.

INSERT INTO DestinationTableWithSameColumns SELECT * FROM SourceTable

In this example, there is no need to specify a list of columns for either the source or destination table, because their metadata already matches.

Inserting Records from Temporary Tables

You can manually define and populate temporary tables to hold a list of records for later bulk insertion.

Populate the Temporary Table

To create a temporary table, you must give it a name ending in "#TEMP" and execute an INSERT INTO query using that name, as if that table already existed in the database. After executing the first INSERT INTO, the temporary table exists and can receive subsequent INSERTs. For example:

INSERT INTO Lead#TEMP (FirstName, MyCustomField__c) VALUES ('New Lead', '9000');
INSERT INTO Lead#TEMP (FirstName, MyCustomField__c) VALUES ('New Lead 2', '9001');
INSERT INTO Lead#TEMP (FirstName, MyCustomField__c) VALUES ('New Lead 3', '9002');

This creates a temporary table called Lead#TEMP with two columns and three rows of data. Since type cannot be determined on the temporary table itself, all values are considered strings and later converted to the proper type when they are inserted together into the real (non-temporary) table of interest.

Insert Temporary Table Contents into Real Tables

Once your temporary table is populated, execute an INSERT INTO SELECT query targeting the real (non-temporary) table you want to insert the temporary table's records into. This is formatted similarly to a standard INSERT INTO query, except the VALUES clause is substituted with a SELECT query targeting the matching columns in the temporary table. For example:

INSERT INTO Lead (FirstName, MyCustomField__c) SELECT FirstName, MyCustomField__c FROM Lead#TEMP
In this example, the full contents of Lead#TEMP are inserted into the Lead.

Results

The LastResultInfo#TEMP temporary table contains details about the most recently executed query that uses the contents of a temporary table in an embedded SELECT clause, as is the case for INSERT INTO SELECT queries that use a temporary table as the source of records. This table is cleared and repopulated each time such a query is executed. LastResultInfo#TEMP includes information such as whether the query in question succeeded, and how many rows were affected by the query.

Temporary Table Lifespan

Temporary tables only last as long as the connection remains open. When the connection to Microsoft Dynamics CRM is closed, all temporary tables are cleared, including the LastResultInfo#TEMP table.

CData Python Connector for Microsoft Dynamics CRM

UPDATE SELECT Statements

To perform multiple updates in a single request to Microsoft Dynamics CRM,first use the INSERT INTO syntax to insert a temporary table of data into Microsoft Dynamics CRM. This works by first populating a temporary table with the data you are going to submit to Microsoft Dynamics CRM. Once you have all of the data you want to update, use UPDATE SELECT FROM to pass the temporary table data into the table in Microsoft Dynamics CRM.

Populate the Temporary Table

The temporary table you are populating is dynamic and is created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to update, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you are inserting to. For example:

INSERT INTO Lead#TEMP (Id, Name, MyCustomField__c) VALUES ('AX1000001', 'New Lead', '9000');
INSERT INTO Lead#TEMP (Id, Name, MyCustomField__c) VALUES ('AX1000002', 'New Lead 2', '9001');
INSERT INTO Lead#TEMP (Id, Name, MyCustomField__c) VALUES ('AX1000003', 'New Lead 3', '9002');

This creates a temporary table called Lead#TEMP with three columns and three rows of data. Since type cannot be determined on the temporary table itself, all values are stored in memory as strings. The values are later converted to the proper type when they are submitted to the Lead table.

Update the Actual Table

Once your temporary table is populated, it is now time to update the actual table in Microsoft Dynamics CRM. You can do this by performing an UPDATE to the actual table and selecting the input data from the temporary table. For example:

UPDATE Lead (Id, FirstName, MyCustomField__c) SELECT Id, FirstName, MyCustomField__c FROM Lead#TEMP
In this example, the full contents of the Lead#TEMP table are passed into the Lead table. This results in fewer requests being submitted to Microsoft Dynamics CRM since multiple updates may be submitted with each request, which is much better for performance if you have many records to update.

Results

The results of the query are stored in the LastResultInfo#TEMP temporary table. This table is cleared and repopulated the next time data is modified by passing in a temporary table. Please be aware that the LastResultInfo#TEMP table has no predefined schema. You need to check its metadata at run time before reading data.

Temporary Table Life Span

Temporary tables only last as long as the connection remains open. When the connection to Microsoft Dynamics CRM is closed, all temporary tables are cleared, including the LastResultInfo#TEMP table.

CData Python Connector for Microsoft Dynamics CRM

DELETE SELECT Statements

To perform multiple deletes in a single request to Microsoft Dynamics CRM, first use the INSERT INTO syntax to create an in-memory temporary table of data to be deleted. Once you have all of the data you want to delete added to temporary table, use DELETE FROM syntax to delete data from the live table in Microsoft Dynamics CRM. This functionality is also available via the standard Batch Processing API available in JDBC.

Populate the Temporary Table

The temporary table you are populating is dynamic and is created at run time the first time you insert to it. Temporary tables are denoted by a # appearing in their name. When using a temporary table to delete, the temporary table must be named in the format [TableName]#TEMP, where TableName is the name of the table you are inserting to. For example:

INSERT INTO Lead#TEMP (Id) VALUES ('AX1000001');
INSERT INTO Lead#TEMP (Id) VALUES ('AX1000002');
INSERT INTO Lead#TEMP (Id) VALUES ('AX1000003');

This creates a temporary table called Lead#TEMP with one column and three rows of data. Since type cannot be determined on the temporary table itself, all values are stored in memory as strings. They are later converted to the proper type when they are submitted to the Lead table.

Delete from the Actual Table

Once your temporary table is populated, it is now time to insert to the actual table in Microsoft Dynamics CRM. You can do this by performing a DELETE from the actual table and selecting the input data from the temporary table. For example:

DELETE FROM Lead WHERE EXISTS SELECT Id FROM Lead#TEMP

In this example, the full contents of the Lead#TEMP table are passed into the Lead table. This results in fewer requests being submitted to Microsoft Dynamics CRM since multiple deletes may be submitted with each request, which is much better for performance if you have many records to delete.

Results

The results of the query are stored in the LastResultInfo#TEMP temporary table. This table is cleared and repopulated the next time data is modified by passing in a temporary table. Please be aware that the LastResultInfo#TEMP table has no predefined schema. You need to check its metadata at run time before reading data.

Temporary Table Life Span

Temporary tables only last as long as the connection remains opened. When the connection to Microsoft Dynamics CRM is closed, all temporary tables are cleared, including the LastResultInfo#TEMP table.

CData Python Connector for Microsoft Dynamics CRM

Data Model

The CData Python Connector for Microsoft Dynamics CRM models Microsoft Dynamics CRM entities in relational tables and stored procedures. The table definitions are dynamically obtained based on your Dynamics CRM organization settings.

Tables

Tables describes the available tables. Table definitions are dynamically retrieved. This section shows the sample table definitions that are included by the default Dynamics CRM organization.

Stored Procedures

Stored Procedures are function-like interfaces to the data source. They can be used to search, update, and modify information in the data source.

CData Python Connector for Microsoft Dynamics CRM

Tables

The connector models the data in Microsoft Dynamics CRM as a list of tables in a relational database that can be queried using standard SQL statements.

CData Python Connector for Microsoft Dynamics CRM Tables

Name Description
Account Create, update, delete, and query Account entities in Dynamics CRM.
ActivityMimeAttachment Create, update, delete, and query ActivityMimeAttachment entities in Dynamics CRM.
ActivityParty Create, update, delete, and query ActivityParty entities in Dynamics CRM.
ActivityPointer Create, update, delete, and query ActivityPointer entities in Dynamics CRM.
Annotation Create, update, delete, and query Annotation entities in Dynamics CRM.
AnnualFiscalCalendar Create, update, delete, and query annual fiscal calendar entities in Dynamics CRM.
ApplicationFile Create, update, delete, and query ApplicationFile entities in Dynamics CRM.
Appointment Create, update, delete, and query Appointment entities in Dynamics CRM.
AsyncOperation Create, update, delete, and query AsyncOperation entities in Dynamics CRM.
Attachment Create, update, delete, and query Attachment entities in Dynamics CRM.
AttributeMap Create, update, delete, and query AttributeMap entities in Dynamics CRM.
Audit Create, update, delete, and query Audit entities in Dynamics CRM.
BulkDeleteFailure Create, update, delete, and query BulkDeleteFailure entities in Dynamics CRM.
BulkDeleteOperation Create, update, delete, and query BulkDeleteOperation entities in Dynamics CRM.
BulkOperation Create, update, delete, and query BulkOperation entities in Dynamics CRM.
BulkOperationLog This is a table representing the BulkOperationLog entities in Dynamics CRM.
BusinessUnit This is a table representing the BusinessUnit entities in Dynamics CRM.
BusinessUnitMap This is a table representing the BusinessUnitMap entities in Dynamics CRM.
BusinessUnitNewsArticle This is a table representing the BusinessUnitNewsArticle entities in Dynamics CRM.
Calendar This is a table representing the Calendar entities in Dynamics CRM.
Campaign This is a table representing the Campaign entities in Dynamics CRM.
CampaignActivity This is a table representing the CampaignActivity entities in Dynamics CRM.
CampaignActivityItem This is a table representing the CampaignActivityItem entities in Dynamics CRM.
CampaignItem This is a table representing the CampaignItem entities in Dynamics CRM.
CampaignResponse This is a table representing the CampaignResponse entities in Dynamics CRM.
ClientUpdate This is a table representing the ClientUpdate entities in Dynamics CRM.
ColumnMapping This is a table representing the ColumnMapping entities in Dynamics CRM.
Commitment This is a table representing the Commitment entities in Dynamics CRM.
Competitor This is a table representing the Competitor entities in Dynamics CRM.
CompetitorAddress This is a table representing the CompetitorAddress entities in Dynamics CRM.
CompetitorProduct This is a table representing the CompetitorProduct entities in Dynamics CRM.
CompetitorSalesLiterature This is a table representing the CompetitorSalesLiterature entities in Dynamics CRM.
Connection This is a table representing the Connection entities in Dynamics CRM.
ConnectionRole This is a table representing the ConnectionRole entities in Dynamics CRM.
ConnectionRoleAssociation This is a table representing the ConnectionRoleAssociation entities in Dynamics CRM.
ConnectionRoleObjectTypeCode This is a table representing the ConnectionRoleObjectTypeCode entities in Dynamics CRM.
ConstraintBasedGroup This is a table representing the ConstraintBasedGroup entities in Dynamics CRM.
Contact This is a table representing the Contact entities in Dynamics CRM.
ContactInvoices This is a table representing the ContactInvoices entities in Dynamics CRM.
ContactLeads This is a table representing the ContactLeads entities in Dynamics CRM.
ContactOrders This is a table representing the ContactOrders entities in Dynamics CRM.
ContactQuotes This is a table representing the ContactQuotes entities in Dynamics CRM.
Contract This is a table representing the Contract entities in Dynamics CRM.
ContractDetail This is a table representing the ContractDetail entities in Dynamics CRM.
ContractTemplate This is a table representing the ContractTemplate entities in Dynamics CRM.
CustomerAddress This is a table representing the CustomerAddress entities in Dynamics CRM.
CustomerOpportunityRole This is a table representing the CustomerOpportunityRole entities in Dynamics CRM.
CustomerRelationship This is a table representing the CustomerRelationship entities in Dynamics CRM.
Dependency This is a table representing the Dependency entities in Dynamics CRM.
DependencyNode This is a table representing the DependencyNode entities in Dynamics CRM.
Discount This is a table representing the Discount entities in Dynamics CRM.
DiscountType This is a table representing the DiscountType entities in Dynamics CRM.
DisplayString This is a table representing the DisplayString entities in Dynamics CRM.
DisplayStringMap This is a table representing the DisplayStringMap entities in Dynamics CRM.
DocumentIndex This is a table representing the DocumentIndex entities in Dynamics CRM.
DuplicateRecord This is a table representing the DuplicateRecord entities in Dynamics CRM.
DuplicateRule This is a table representing the DuplicateRule entities in Dynamics CRM.
DuplicateRuleCondition This is a table representing the DuplicateRuleCondition entities in Dynamics CRM.
Email This is a table representing the Email entities in Dynamics CRM.
EmailHash This is a table representing the EmailHash entities in Dynamics CRM.
EmailSearch This is a table representing the EmailSearch entities in Dynamics CRM.
EntityMap This is a table representing the EntityMap entities in Dynamics CRM.
Equipment This is a table representing the Equipment entities in Dynamics CRM.
Fax This is a table representing the Fax entities in Dynamics CRM.
FieldPermission This is a table representing the FieldPermission entities in Dynamics CRM.
FieldSecurityProfile This is a table representing the FieldSecurityProfile entities in Dynamics CRM.
FilterTemplate This is a table representing the FilterTemplate entities in Dynamics CRM.
FixedMonthlyFiscalCalendar This is a table representing the FixedMonthlyFiscalCalendar entities in Dynamics CRM.
Goal This is a table representing the Goal entities in Dynamics CRM.
GoalRollupQuery This is a table representing the GoalRollupQuery entities in Dynamics CRM.
Import This is a table representing the Import entities in Dynamics CRM.
ImportData This is a table representing the ImportData entities in Dynamics CRM.
ImportEntityMapping This is a table representing the ImportEntityMapping entities in Dynamics CRM.
ImportFile This is a table representing the ImportFile entities in Dynamics CRM.
ImportJob This is a table representing the ImportJob entities in Dynamics CRM.
ImportLog This is a table representing the ImportLog entities in Dynamics CRM.
ImportMap This is a table representing the ImportMap entities in Dynamics CRM.
Incident This is a table representing the Incident entities in Dynamics CRM.
IncidentResolution This is a table representing the IncidentResolution entities in Dynamics CRM.
IntegrationStatus This is a table representing the IntegrationStatus entities in Dynamics CRM.
InternalAddress This is a table representing the InternalAddress entities in Dynamics CRM.
InterProcessLock This is a table representing the InterProcessLock entities in Dynamics CRM.
InvalidDependency This is a table representing the InvalidDependency entities in Dynamics CRM.
Invoice This is a table representing the Invoice entities in Dynamics CRM.
InvoiceDetail This is a table representing the InvoiceDetail entities in Dynamics CRM.
IsvConfig This is a table representing the IsvConfig entities in Dynamics CRM.
KbArticle This is a table representing the KbArticle entities in Dynamics CRM.
KbArticleComment This is a table representing the KbArticleComment entities in Dynamics CRM.
KbArticleTemplate This is a table representing the KbArticleTemplate entities in Dynamics CRM.
Lead This is a table representing the Lead entities in Dynamics CRM.
LeadAddress This is a table representing the LeadAddress entities in Dynamics CRM.
LeadCompetitors This is a table representing the LeadCompetitors entities in Dynamics CRM.
LeadProduct This is a table representing the LeadProduct entities in Dynamics CRM.
Letter This is a table representing the Letter entities in Dynamics CRM.
License This is a table representing the License entities in Dynamics CRM.
List This is a table representing the List entities in Dynamics CRM.
ListMember This is a table representing the ListMember entities in Dynamics CRM.
LookUpMapping This is a table representing the LookUpMapping entities in Dynamics CRM.
MailMergeTemplate This is a table representing the MailMergeTemplate entities in Dynamics CRM.
Metric This is a table representing the Metric entities in Dynamics CRM.
MonthlyFiscalCalendar This is a table representing the MonthlyFiscalCalendar entities in Dynamics CRM.
Notification This is a table representing the Notification entities in Dynamics CRM.
Opportunity This is a table representing the Opportunity entities in Dynamics CRM.
OpportunityClose This is a table representing the OpportunityClose entities in Dynamics CRM.
OpportunityCompetitors This is a table representing the OpportunityCompetitors entities in Dynamics CRM.
OpportunityProduct This is a table representing the OpportunityProduct entities in Dynamics CRM.
OptionSetInfo Gets basic information about the OptionSet values available for a given table and displays the mapping of OptionSet string values to OptionSet int values.
OrderClose This is a table representing the OrderClose entities in Dynamics CRM.
Organization This is a table representing the Organization entities in Dynamics CRM.
OrganizationStatistic This is a table representing the OrganizationStatistic entities in Dynamics CRM.
OrganizationUI This is a table representing the OrganizationUI entities in Dynamics CRM.
Owner This is a table representing the Owner entities in Dynamics CRM.
OwnerMapping This is a table representing the OwnerMapping entities in Dynamics CRM.
PhoneCall This is a table representing the PhoneCall entities in Dynamics CRM.
PickListMapping This is a table representing the PickListMapping entities in Dynamics CRM.
PluginAssembly This is a table representing the PluginAssembly entities in Dynamics CRM.
plug-intype This is a table representing the plug-in type entities in Dynamics CRM.
PluginTypeStatistic This is a table representing the PluginTypeStatistic entities in Dynamics CRM.
PriceLevel This is a table representing the PriceLevel entities in Dynamics CRM.
PrincipalAttributeAccessMap This is a table representing the PrincipalAttributeAccessMap entities in Dynamics CRM.
PrincipalEntityMap This is a table representing the PrincipalEntityMap entities in Dynamics CRM.
PrincipalObjectAccess This is a table representing the PrincipalObjectAccess entities in Dynamics CRM.
PrincipalObjectAttributeAccess This is a table representing the PrincipalObjectAttributeAccess entities in Dynamics CRM.
Privilege This is a table representing the Privilege entities in Dynamics CRM.
PrivilegeObjectTypeCodes This is a table representing the PrivilegeObjectTypeCodes entities in Dynamics CRM.
ProcessSession This is a table representing the ProcessSession entities in Dynamics CRM.
Product This is a table representing the Product entities in Dynamics CRM.
ProductAssociation This is a table representing the ProductAssociation entities in Dynamics CRM.
ProductPriceLevel This is a table representing the ProductPriceLevel entities in Dynamics CRM.
ProductSalesLiterature This is a table representing the ProductSalesLiterature entities in Dynamics CRM.
ProductSubstitute This is a table representing the ProductSubstitute entities in Dynamics CRM.
Publisher This is a table representing the Publisher entities in Dynamics CRM.
PublisherAddress This is a table representing the PublisherAddress entities in Dynamics CRM.
QuarterlyFiscalCalendar This is a table representing the QuarterlyFiscalCalendar entities in Dynamics CRM.
Queue This is a table representing the Queue entities in Dynamics CRM.
QueueItem This is a table representing the QueueItem entities in Dynamics CRM.
Quote This is a table representing the Quote entities in Dynamics CRM.
QuoteClose This is a table representing the QuoteClose entities in Dynamics CRM.
QuoteDetail This is a table representing the QuoteDetail entities in Dynamics CRM.
RecurrenceRule This is a table representing the RecurrenceRule entities in Dynamics CRM.
RecurringAppointmentMaster This is a table representing the RecurringAppointmentMaster entities in Dynamics CRM.
RelationshipRole This is a table representing the RelationshipRole entities in Dynamics CRM.
RelationshipRoleMap This is a table representing the RelationshipRoleMap entities in Dynamics CRM.
Report This is a table representing the Report entities in Dynamics CRM.
ReportCategory This is a table representing the ReportCategory entities in Dynamics CRM.
ReportEntity This is a table representing the ReportEntity entities in Dynamics CRM.
ReportLink This is a table representing the ReportLink entities in Dynamics CRM.
ReportVisibility This is a table representing the ReportVisibility entities in Dynamics CRM.
Resource This is a table representing the Resource entities in Dynamics CRM.
ResourceGroup This is a table representing the ResourceGroup entities in Dynamics CRM.
ResourceGroupExpansion This is a table representing the ResourceGroupExpansion entities in Dynamics CRM.
ResourceSpec This is a table representing the ResourceSpec entities in Dynamics CRM.
RibbonCommand This is a table representing the RibbonCommand entities in Dynamics CRM.
RibbonContextGroup This is a table representing the RibbonContextGroup entities in Dynamics CRM.
RibbonCustomization This is a table representing the RibbonCustomization entities in Dynamics CRM.
RibbonDiff This is a table representing the RibbonDiff entities in Dynamics CRM.
RibbonRule This is a table representing the RibbonRule entities in Dynamics CRM.
RibbonTabToCommandMap This is a table representing the RibbonTabToCommandMap entities in Dynamics CRM.
Role This is a table representing the Role entities in Dynamics CRM.
RolePrivileges This is a table representing the RolePrivileges entities in Dynamics CRM.
RoleTemplate This is a table representing the RoleTemplate entities in Dynamics CRM.
RoleTemplatePrivileges This is a table representing the RoleTemplatePrivileges entities in Dynamics CRM.
RollupField This is a table representing the RollupField entities in Dynamics CRM.
SalesLiterature This is a table representing the SalesLiterature entities in Dynamics CRM.
SalesLiteratureItem This is a table representing the SalesLiteratureItem entities in Dynamics CRM.
SalesOrder This is a table representing the SalesOrder entities in Dynamics CRM.
SalesOrderDetail This is a table representing the SalesOrderDetail entities in Dynamics CRM.
SalesProcessInstance This is a table representing the SalesProcessInstance entities in Dynamics CRM.
SavedQuery This is a table representing the SavedQuery entities in Dynamics CRM.
SavedQueryVisualization This is a table representing the SavedQueryVisualization entities in Dynamics CRM.
SdkMessage This is a table representing the SdkMessage entities in Dynamics CRM.
SdkMessageFilter This is a table representing the SdkMessageFilter entities in Dynamics CRM.
SdkMessagePair This is a table representing the SdkMessagePair entities in Dynamics CRM.
SdkMessageProcessingStep This is a table representing the SdkMessageProcessingStep entities in Dynamics CRM.
SdkMessageProcessingStepImage This is a table representing the SdkMessageProcessingStepImage entities in Dynamics CRM.
SdkMessageProcessingStepSecureConfig This is a table representing the SdkMessageProcessingStepSecureConfig entities in Dynamics CRM.
SdkMessageRequest This is a table representing the SdkMessageRequest entities in Dynamics CRM.
SdkMessageRequestField This is a table representing the SdkMessageRequestField entities in Dynamics CRM.
SdkMessageResponse This is a table representing the SdkMessageResponse entities in Dynamics CRM.
SdkMessageResponseField This is a table representing the SdkMessageResponseField entities in Dynamics CRM.
SemiAnnualFiscalCalendar This is a table representing the SemiAnnualFiscalCalendar entities in Dynamics CRM.
Service This is a table representing the Service entities in Dynamics CRM.
ServiceAppointment This is a table representing the ServiceAppointment entities in Dynamics CRM.
ServiceContractContacts This is a table representing the ServiceContractContacts entities in Dynamics CRM.
ServiceEndpoint This is a table representing the ServiceEndpoint entities in Dynamics CRM.
SharePointDocumentLocation This is a table representing the SharePointDocumentLocation entities in Dynamics CRM.
SharePointSite This is a table representing the SharePointSite entities in Dynamics CRM.
Site This is a table representing the Site entities in Dynamics CRM.
SiteMap This is a table representing the SiteMap entities in Dynamics CRM.
Solution This is a table representing the Solution entities in Dynamics CRM.
SolutionComponent This is a table representing the SolutionComponent entities in Dynamics CRM.
StatusMap This is a table representing the StatusMap entities in Dynamics CRM.
StringMap This is a table representing the StringMap entities in Dynamics CRM.
Subject This is a table representing the Subject entities in Dynamics CRM.
Subscription This is a table representing the Subscription entities in Dynamics CRM.
SubscriptionClients This is a table representing the SubscriptionClients entities in Dynamics CRM.
SubscriptionManuallyTrackedObject This is a table representing the SubscriptionManuallyTrackedObject entities in Dynamics CRM.
SubscriptionSyncInfo This is a table representing the SubscriptionSyncInfo entities in Dynamics CRM.
SubscriptionTrackingDeletedObject This is a table representing the SubscriptionTrackingDeletedObject entities in Dynamics CRM.
SystemForm This is a table representing the SystemForm entities in Dynamics CRM.
SystemUser This is a table representing the SystemUser entities in Dynamics CRM.
SystemUserBusinessUnitEntityMap This is a table representing the SystemUserBusinessUnitEntityMap entities in Dynamics CRM.
SystemUserLicenses This is a table representing the SystemUserLicenses entities in Dynamics CRM.
SystemUserPrincipals This is a table representing the SystemUserPrincipals entities in Dynamics CRM.
SystemUserProfiles This is a table representing the SystemUserProfiles entities in Dynamics CRM.
SystemUserRoles This is a table representing the SystemUserRoles entities in Dynamics CRM.
Task This is a table representing the Task entities in Dynamics CRM.
Team This is a table representing the Team entities in Dynamics CRM.
TeamMembership This is a table representing the TeamMembership entities in Dynamics CRM.
TeamProfiles This is a table representing the TeamProfiles entities in Dynamics CRM.
TeamRoles This is a table representing the TeamRoles entities in Dynamics CRM.
Template This is a table representing the Template entities in Dynamics CRM.
Territory This is a table representing the Territory entities in Dynamics CRM.
TimeZoneDefinition This is a table representing the TimeZoneDefinition entities in Dynamics CRM.
TimeZoneLocalizedName This is a table representing the TimeZoneLocalizedName entities in Dynamics CRM.
TimeZoneRule This is a table representing the TimeZoneRule entities in Dynamics CRM.
TransactionCurrency This is a table representing the TransactionCurrency entities in Dynamics CRM.
TransformationMapping This is a table representing the TransformationMapping entities in Dynamics CRM.
TransformationParameterMapping This is a table representing the TransformationParameterMapping entities in Dynamics CRM.
UnresolvedAddress This is a table representing the UnresolvedAddress entities in Dynamics CRM.
UoM This is a table representing the UoM entities in Dynamics CRM.
UoMSchedule This is a table representing the UoMSchedule entities in Dynamics CRM.
UserEntityInstanceData This is a table representing the UserEntityInstanceData entities in Dynamics CRM.
UserEntityUISettings This is a table representing the UserEntityUISettings entities in Dynamics CRM.
UserFiscalCalendar This is a table representing the UserFiscalCalendar entities in Dynamics CRM.
UserForm This is a table representing the UserForm entities in Dynamics CRM.
UserQuery This is a table representing the UserQuery entities in Dynamics CRM.
UserQueryVisualization This is a table representing the UserQueryVisualization entities in Dynamics CRM.
UserSettings This is a table representing the UserSettings entities in Dynamics CRM.
WebResource This is a table representing the WebResource entities in Dynamics CRM.
WebWizard This is a table representing the WebWizard entities in Dynamics CRM.
WizardAccessPrivilege This is a table representing the WizardAccessPrivilege entities in Dynamics CRM.
WizardPage This is a table representing the WizardPage entities in Dynamics CRM.
Workflow This is a table representing the Workflow entities in Dynamics CRM.
WorkflowDependency This is a table representing the WorkflowDependency entities in Dynamics CRM.
WorkflowLog This is a table representing the WorkflowLog entities in Dynamics CRM.
WorkflowWaitSubscription This is a table representing the WorkflowWaitSubscription entities in Dynamics CRM.

The CData Python Connector for Microsoft Dynamics CRM can also expose custom entities from Dynamics CRM that are not mentioned in the Tables. You can query against these custom entities as you would any other table. Additionally, you can query against custom fields of standard entities.

There is a naming limitation that applies to the lists and to the custom fields. Empty spaces in list names are converted to underscores for the table names. Also, all custom fields and custom entities will be signified by Dynamics CRM with a new_ that precedes the name.

CData Python Connector for Microsoft Dynamics CRM

Account

Create, update, delete, and query Account entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the account.

AccountCategoryCode String False

Drop-down list for selecting the category of the account.

AccountClassificationCode String False

Drop-down list for classifying an account.

AccountId String False

Unique identifier of the account.

AccountNumber String False

User-provided account number used in correspondence about the account.

AccountRatingCode String False

Drop-down list for selecting account ratings.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_FreightTermsCode String False

Freight terms for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_PrimaryContactName String False

Name of primary contact for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2, such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_FreightTermsCode String False

Freight terms for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_PrimaryContactName String False

Name of the primary contact located at address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

Aging30 Double True

For internal use only.

Aging30_Base Double True

Base currency equivalent of the aging 30 for the account.

Aging60 Double True

For internal use only.

Aging60_Base Double True

Base currency equivalent of the aging 60 for the account.

Aging90 Double True

For internal use only.

Aging90_Base Double True

Base currency equivalent of the aging 90 for the account.

BusinessTypeCode String False

Type of business associated with the account.

CreatedBy_Id String True

Unique identifier of the user who created the account.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the account was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the account.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CreditLimit Double False

Credit limit for the account.

CreditLimit_Base Double True

Base currency equivalent of the credit limit for the account.

CreditOnHold Boolean False

Information about whether credit for the account is on hold.

CustomerSizeCode String False

Size of the account.

CustomerTypeCode String False

Type of the account.

DefaultPriceLevelId_Id String False

Unique identifier of the default price list associated with the account.

DefaultPriceLevelId_LogicalName String False

DefaultPriceLevelId_Name String False

Description String False

Description of the account.

DoNotBulkEMail Boolean False

Information about whether to allow sending direct email to the account.

DoNotBulkPostalMail Boolean False

Information about whether to allow sending bulk-rate postal mail to the account.

DoNotEMail Boolean False

Information about whether to allow sending email to the account.

DoNotFax Boolean False

Information about whether to allow sending faxes to the account.

DoNotPhone Boolean False

Information about whether to allow phone calls to the account.

DoNotPostalMail Boolean False

Information about whether to allow sending postal mail to the account.

DoNotSendMM Boolean False

Information on whether to allow sending marketing mail to the account.

EMailAddress1 String False

First email address for the account.

EMailAddress2 String False

Second email address for the account.

EMailAddress3 String False

Third email address for the account.

ExchangeRate Double True

Exchange rate for the currency associated with the account with respect to the base currency.

Fax String False

Fax telephone number for the account.

FtpSiteURL String False

FTP site URL for the account.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IndustryCode String False

Type of industry with which the account is associated.

LastUsedInCampaign Datetime False

Date and time when the account was last contacted as a part of a marketing campaign.

MarketCap Double False

Market capitalization of the account.

MarketCap_Base Double True

Base currency equivalent of the market capitalization of the account.

MasterId_Id String True

Unique identifier of the master account for merge.

MasterId_LogicalName String True

MasterId_Name String True

Merged Boolean True

Information regarding whether the account has been merged with a master account.

ModifiedBy_Id String True

Unique identifier of the user who last modified the account.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the account was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the account.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the account.

NumberOfEmployees Integer False

Number of employees at the account.

OriginatingLeadId_Id String False

Unique identifier of the lead from which the account was created.

OriginatingLeadId_LogicalName String False

OriginatingLeadId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the account.

OwnerId_LogicalName String False

OwnerId_Name String False

OwnershipCode String False

Type of company ownership, such as public or private.

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the account.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the account.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the account.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentAccountId_Id String False

Unique identifier of the parent account.

ParentAccountId_LogicalName String False

ParentAccountId_Name String False

ParticipatesInWorkflow Boolean False

Information that specifies whether the account participates in workflow rules.

PaymentTermsCode String False

Payment terms for the account.

PreferredAppointmentDayCode String False

Day of the week preferred by the account for scheduling service activities.

PreferredAppointmentTimeCode String False

Time of day preferred by the account for scheduling service activities.

PreferredContactMethodCode String False

Preferred contact method for the account.

PreferredEquipmentId_Id String False

Unique identifier of the facility/equipment preferred by the account for scheduling service activities.

PreferredEquipmentId_LogicalName String False

PreferredEquipmentId_Name String False

PreferredServiceId_Id String False

Unique identifier of the service preferred by the account for scheduling service activities.

PreferredServiceId_LogicalName String False

PreferredServiceId_Name String False

PreferredSystemUserId_Id String False

Unique identifier of the system user preferred by the account for scheduling service activities.

PreferredSystemUserId_LogicalName String False

PreferredSystemUserId_Name String False

PrimaryContactId_Id String False

Unique identifier of the primary contact for the account.

PrimaryContactId_LogicalName String False

PrimaryContactId_Name String False

Revenue Double False

Revenue amount for the account.

Revenue_Base Double True

Base currency equivalent of the revenue amount for the account.

SharesOutstanding Integer False

Outstanding shares for the account.

ShippingMethodCode String False

Method of shipment for the account.

SIC String False

Standard Industrial Classification (SIC) code for the account.

StateCode String True

Reason for the status of the account.

StatusCode String False

Status of the account.

StockExchange String False

Stock exchange on which the business associated with the account is listed.

Telephone1 String False

First telephone number for the account.

Telephone2 String False

Second telephone number for the account.

Telephone3 String False

Third telephone number for the account.

TerritoryCode String False

Territory to which the account belongs.

TerritoryId_Id String False

Unique identifier of the territory to which the account belongs.

TerritoryId_LogicalName String False

TerritoryId_Name String False

TickerSymbol String False

Stock Exchange symbol for the account.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the account.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WebSiteURL String False

Web site URL for the account.

YomiName String False

Pronunciation of the account name, written in phonetic hiragana or katakana characters.

CData Python Connector for Microsoft Dynamics CRM

ActivityMimeAttachment

Create, update, delete, and query ActivityMimeAttachment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the activity MIME attachment.

ActivityId_Id String False

Unique identifier of the activity with which the email attachment is associated.

ActivityId_LogicalName String False

ActivityId_Name String False

ActivityMimeAttachmentId String False

Unique identifier of the email attachment.

ActivityMimeAttachmentIdUnique String False

For internal use only.

AttachmentId_Id String False

Unique identifier of the attachment with which this activity MIME attachment is associated.

AttachmentId_LogicalName String False

AttachmentId_Name String False

AttachmentNumber Integer False

Number of the email attachment.

Body String False

Contents of the email attachment.

ComponentState String True

For internal use only.

FileName String False

File name of the attachment.

FileSize Integer True

File size of the email attachment.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

MimeType String False

MIME type of the email attachment.

ObjectId_Id String False

Unique identifier of the record with which the attachment is associated.

ObjectId_LogicalName String False

ObjectId_Name String False

ObjectTypeCode String False

Object type code of the entity that is associated with the attachment.

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String True

Unique identifier of the user or team who owns the activity_mime_attachment.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the activity MIME attachment.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the activity MIME attachment.

OwningUser_LogicalName String True

OwningUser_Name String True

SolutionId String True

Unique identifier of the associated solution.

Subject String False

Descriptive subject for the email attachment.

CData Python Connector for Microsoft Dynamics CRM

ActivityParty

Create, update, delete, and query ActivityParty entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the activity party.

ActivityId_Id String False

Unique identifier of the activity associated with the activity party, any person who is associated with an activity.

ActivityId_LogicalName String False

ActivityId_Name String False

ActivityPartyId String False

Unique identifier of the activity party.

AddressUsed String False

Email address to which an email is delivered, and which is associated with the target entity.

DoNotEmail Boolean True

Information about whether to allow sending email to the activity party.

DoNotFax Boolean True

Information about whether to allow sending faxes to the activity party.

DoNotPhone Boolean True

Information about whether to allow phone calls to the lead.

DoNotPostalMail Boolean True

Information about whether to allow sending postal mail to the lead.

Effort Double False

Amount of effort used by the resource in a service appointment activity.

ExchangeEntryId String False

For internal use only.

InstanceTypeCode String True

Type of instance of a recurring series.

IsPartyDeleted Boolean True

Information about whether the underlying entity record is deleted.

OwnerId_Id String True

Unique identifier of the user or team who owns the activity party.

OwnerId_LogicalName String True

OwnerId_Name String True

ParticipationTypeMask String False

Role of the person in the activity, such as sender, to, cc, bcc, required, optional, organizer, regarding, or owner.

PartyId_Id String False

Unique identifier of the party associated with the activity.

PartyId_LogicalName String False

PartyId_Name String False

ResourceSpecId_Id String False

Unique identifier of the resource specification for the activity party.

ResourceSpecId_LogicalName String False

ResourceSpecId_Name String False

ScheduledEnd Datetime True

Scheduled end time of the activity.

ScheduledStart Datetime True

Scheduled start time of the activity.

CData Python Connector for Microsoft Dynamics CRM

ActivityPointer

Create, update, delete, and query ActivityPointer entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the activity pointer.

ActivityId String False

Unique identifier of the activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the activity in minutes.

ActualEnd Datetime False

Actual end time of the activity.

ActualStart Datetime False

Actual start time of the activity.

CreatedBy_Id String True

Unique identifier of the user who created the activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the activity pointer.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the activity.

ExchangeRate Double True

Exchange rate for the currency associated with the activity pointer with respect to the base currency.

InstanceTypeCode String True

Type of instance of a recurring series.

IsBilled Boolean False

Information regarding whether the activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information regarding whether the activity was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the activitypointer.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerId_Id String False

Unique identifier of the user or team who owns the activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user that owns the activity.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority of the activity.

RegardingObjectId_Id String False

Unique identifier of the object with which the activity is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer False

Scheduled duration of the activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the activity.

ScheduledStart Datetime False

Scheduled start time of the activity.

SeriesId String True

Unique identifier specifying the Id of a recurring series of an instance.

ServiceId_Id String False

Unique identifier of an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the activity.

StatusCode String False

Reason for the status of the activity.

Subject String False

Subject associated with the activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the activity pointer.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Annotation

Create, update, delete, and query Annotation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the note.

AnnotationId String False

Unique identifier of the note.

CreatedBy_Id String True

Unique identifier of the user who created the note.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the note was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the annotation.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DocumentBody String False

Contents of the note's attachment.

FileName String False

File name of the note.

FileSize Integer True

File size of the note.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsDocument Boolean False

Specifies whether the note is an attachment.

LangId String False

Language identifier for the note.

MimeType String False

MIME type of the note's attachment.

ModifiedBy_Id String True

Unique identifier of the user who last modified the note.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the note was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the annotation.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NoteText String False

Text of the note.

ObjectId_Id String False

Unique identifier of the object with which the note is associated.

ObjectId_LogicalName String False

ObjectId_Name String False

ObjectTypeCode String False

Type of entity with which the note is associated.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the note.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the note.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the note.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the note.

OwningUser_LogicalName String True

OwningUser_Name String True

StepId String False

Workflow step Id associated with the note.

Subject String False

Subject associated with the note.

CData Python Connector for Microsoft Dynamics CRM

AnnualFiscalCalendar

Create, update, delete, and query annual fiscal calendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the annual fiscal calendar.

annual Double False

Sales quota for the first period in the fiscal year.

annual_base Double True

Base currency equivalent of the sales quota for the first period in the fiscal year.

BusinessUnitId_Id String True

BusinessUnitId_LogicalName String True

BusinessUnitId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the quota for the annual fiscal calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quota for the annual fiscal calendar was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the annual fiscal calendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EffectiveOn Datetime False

Date and time when the fiscal calendar sales quota takes effect.

ExchangeRate Double True

Exchange rate for the currency associated with the annual fiscal calendar with respect to the base currency.

FiscalPeriodType Integer True

Type of fiscal period used in the sales quota.

ModifiedBy_Id String True

Unique identifier of the user who last modified the quota for the annual fiscal calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the annual fiscal calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the annual fiscal calendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

SalesPersonId_Id String False

Unique identifier of the salesperson associated with the sales quota.

SalesPersonId_LogicalName String False

SalesPersonId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the annual fiscal calendar.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UserFiscalCalendarId String False

Unique identifier of the user associated with the annual fiscal calendar.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ApplicationFile

Create, update, delete, and query ApplicationFile entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the application file.

Body String False

Body of the application file.

CreatedBy_Id String True

Unique identifier of the user who created the application file.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the application file was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the application file.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

FileId String False

Unique identifier for application file instances.

ModifiedBy_Id String True

Unique identifier of the user who last modified the application file.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the application file was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the application file.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

File name

OrganizationId_Id String True

Unique identifier for the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

CData Python Connector for Microsoft Dynamics CRM

Appointment

Create, update, delete, and query Appointment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the appointment.

ActivityId String False

Unique identifier of the appointment.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the appointment in minutes.

ActualEnd Datetime False

Actual end time of the appointment.

ActualStart Datetime False

Actual start time of the appointment.

Category String False

Category of the appointment.

CreatedBy_Id String True

Unique identifier of the user who created the appointment.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the appointment was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the appointment.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

A description of the appointment.

ExchangeRate Double True

Exchange rate for the currency associated with the appointment with respect to the base currency.

GlobalObjectId String False

Unique Outlook identifier to correlate appointments across Exchange mailboxes.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

InstanceTypeCode String True

Type of instance of a recurring series.

IsAllDayEvent Boolean False

Information on whether the appointment is an all day event.

IsBilled Boolean False

Information regarding whether the appointment was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information regarding whether the appointment was created from a workflow rule.

Location String False

Location where the appointment is to occur.

ModifiedBy_Id String True

Unique identifier of the user who last modified the appointment.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedFieldsMask String True

For internal use only.

ModifiedOn Datetime True

Date and time when the appointment was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the appointment.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OptionalAttendees_Ids String False

List of optional attendees for the appointment.

OptionalAttendees_LogicalNames String False

OptionalAttendees_Names String False

Organizer_Ids String False

Person who organized the appointment.

Organizer_LogicalNames String False

Organizer_Names String False

OriginalStartDate Datetime True

The original start date of the appointment.

OutlookOwnerApptId Integer False

Unique identifier of the Microsoft Office Outlook appointment owner that correlates to the PR_OWNER_APPT_ID MAPI property.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the appointment.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the appointment.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the appointment.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the appointment.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority of the appointment.

RegardingObjectId_Id String False

Unique identifier of the object with which the appointment is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

requiredattendees_Ids String False

List of required attendees for the appointment.

requiredattendees_LogicalNames String False

requiredattendees_Names String False

ScheduledDurationMinutes Integer False

Scheduled duration of the appointment, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the appointment.

ScheduledStart Datetime False

Scheduled start time of the appointment.

SeriesId String True

Unique identifier specifying the Id of a recurring series of an instance.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the appointment.

StatusCode String False

Reason for the status of the appointment.

Subcategory String False

Subcategory of the appointment.

Subject String False

Subject associated with the appointment.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the appointment.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

AsyncOperation

Create, update, delete, and query AsyncOperation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the system job.

AsyncOperationId String False

Unique identifier of the system job.

CompletedOn Datetime True

Date and time when the system job was completed.

CorrelationId String False

Unique identifier used to correlate between multiple SDK requests and system jobs.

CorrelationUpdatedTime Datetime False

Last time the correlation depth was updated.

CreatedBy_Id String True

Unique identifier of the user who created the system job.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the system job was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the async operation.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Data String False

Unstructured data associated with the system job.

DependencyToken String False

Execution of all operations with the same dependency token is serialized.

Depth Integer False

Number of SDK calls made since the first call.

ErrorCode Integer True

Error code returned from a canceled system job.

ExecutionTimeSpan Double True

Time that the system job has taken to execute.

FriendlyMessage String False

Message provided by the system job.

HostId String False

Unique identifier of the host that owns this system job.

IsWaitingForEvent Boolean True

Indicates that the system job is waiting for an event.

Message String True

Message related to the system job.

MessageName String False

Name of the message that started this system job.

ModifiedBy_Id String True

Unique identifier of the user who last modified the system job.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the system job was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the async operation.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the system job.

OperationType String False

Type of the system job.

OwnerId_Id String False

Unique identifier of the user or team who owns the system job.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the system job.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningExtensionId_Id String False

Unique identifier of the owning extension with which the system job is associated.

OwningExtensionId_LogicalName String False

OwningExtensionId_Name String False

OwningTeam_Id String True

Unique identifier of the team who owns the record.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the record.

OwningUser_LogicalName String True

OwningUser_Name String True

PostponeUntil Datetime False

Indicates whether the system job should run only after the specified date and time.

PrimaryEntityType String False

Type of entity with which the system job is primarily associated.

RecurrencePattern String False

Pattern of the system job's recurrence.

RecurrenceStartTime Datetime False

Starting time in UTC for the recurrence pattern.

RegardingObjectId_Id String False

Unique identifier of the object with which the system job is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

RequestId String False

Unique identifier of the request that generated the system job.

RetryCount Integer True

Number of times to retry the system job.

StartedOn Datetime True

Date and time when the system job was started.

StateCode String False

Status of the system job.

StatusCode String False

Reason for the status of the system job.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WorkflowActivationId_Id String False

Unique identifier of the workflow activation related to the system job.

WorkflowActivationId_LogicalName String False

WorkflowActivationId_Name String False

WorkflowStageName String True

Name of a workflow stage.

CData Python Connector for Microsoft Dynamics CRM

Attachment

Create, update, delete, and query Attachment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the attachment.

AttachmentId String False

Unique identifier of the attachment.

Body String False

Contents of the attachment.

FileName String False

File name of the attachment.

FileSize Integer True

File size of the attachment.

MimeType String False

MIME type of the attachment.

Subject String False

Subject associated with the attachment.

CData Python Connector for Microsoft Dynamics CRM

AttributeMap

Create, update, delete, and query AttributeMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the attribute map.

AttributeMapId String False

Unique identifier of the attribute map.

AttributeMapIdUnique String True

For internal use only.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the attribute map.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the attribute map was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the attribute map.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EntityMapId_Id String False

Unique identifier of the entity map with which the attribute map is associated.

EntityMapId_LogicalName String False

EntityMapId_Name String False

IsManaged Boolean True

IsSystem Boolean False

Information about whether this attribute map is user-defined or system-defined.

ModifiedBy_Id String True

Unique identifier of the user who last modified the attribute map.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the attribute map was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the attribute map.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization with which the attribute map is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

ParentAttributeMapId_Id String False

Unique identifier of the parent attribute map.

ParentAttributeMapId_LogicalName String False

ParentAttributeMapId_Name String False

SolutionId String True

Unique identifier of the associated solution.

SourceAttributeName String False

Name of the source attribute for the mapping.

TargetAttributeName String False

Name of the target attribute for the mapping.

CData Python Connector for Microsoft Dynamics CRM

Audit

Create, update, delete, and query Audit entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the audit.

Action String True

Actions the user can perform that cause a change.

AttributeMask String True

Contains a CSV of the ColumnNumber metadata property of attributes.

AuditId String True

Unique identifier of the auditing instance.

CallingUserId_Id String True

Unique identifier of the calling user in case of an impersonated call.

CallingUserId_LogicalName String True

CallingUserId_Name String True

CreatedOn Datetime True

Date and time when the audit record was created.

ObjectId_Id String True

Unique identifier of the record that is being audited.

ObjectId_LogicalName String True

ObjectId_Name String True

Operation String True

The action that causes the audit. This value will be create, delete, or update.

TransactionId String True

Unique identifier for multiple changes that are part of a single operation; this field contains the same GUID for all the audit rows generated in a single transaction.

UserId_Id String True

Unique identifier of the user who caused a change.

UserId_LogicalName String True

UserId_Name String True

CData Python Connector for Microsoft Dynamics CRM

BulkDeleteFailure

Create, update, delete, and query BulkDeleteFailure entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the bulk deletion failure record.

AsyncOperationId_Id String True

Unique identifier of the system job that created this record.

AsyncOperationId_LogicalName String True

AsyncOperationId_Name String True

BulkDeleteFailureId String True

Unique identifier of the bulk deletion failure record.

BulkDeleteOperationId_Id String True

Unique identifier of the bulk operation job that created this record.

BulkDeleteOperationId_LogicalName String True

BulkDeleteOperationId_Name String True

ErrorDescription String True

Description of the error.

ErrorNumber Integer True

Error code for the failed bulk deletion.

OrderedQueryIndex Integer True

Index of the ordered query expression that retrieved this record.

OwnerId_Id String True

Unique identifier of the user or team who owns the bulk operation log.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the bulk deletion failure record.

OwningUser String True

Unique identifier of the user who owns the bulk deletion failure record.

RegardingObjectId_Id String True

Unique identifier of the record. This value cannot be deleted.

RegardingObjectId_LogicalName String True

RegardingObjectId_Name String True

CData Python Connector for Microsoft Dynamics CRM

BulkDeleteOperation

Create, update, delete, and query BulkDeleteOperation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the bulk deletion job.

AsyncOperationId_Id String True

Unique identifier of the system job that created this record.

AsyncOperationId_LogicalName String True

AsyncOperationId_Name String True

BulkDeleteOperationId String True

Unique identifier of the bulk deletion job.

CreatedBy_Id String True

Unique identifier of the user who created the bulk deletion job.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the bulk deletion job was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the bulk delete operation.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

FailureCount Integer True

Number of records that could not be deleted by the bulk deletion job.

IsRecurring Boolean True

Information about if recurrence is defined for the bulk deletion job.

ModifiedBy_Id String True

Unique identifier of the user who last modified the bulk deletion job.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the bulk deletion job record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the bulk delete operation.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String True

Name of the bulk deletion job.

NextRun Datetime True

Next scheduled time for the bulk deletion job to run.

OrderedQuerySetXml String True

Fetch XML of the ordered query set.

OwnerId_Id String True

Unique identifier of the user or team who owns the bulk delete operation.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit_Id String True

Business unit that owns the bulk deletion job.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningUser_Id String True

Business user who owns the bulk delete operation.

OwningUser_LogicalName String True

OwningUser_Name String True

ProcessingQEIndex Integer True

Index of the ordered query expression that defines the deletion set.

StateCode String True

Status of the bulk deletion job.

StatusCode String True

Reason for the status of the bulk deletion job.

SuccessCount Integer True

Number of records deleted by the bulk deletion job.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

BulkOperation

Create, update, delete, and query BulkOperation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the bulk operation.

ActivityId String False

Unique identifier of the bulk operation.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer True

Actual duration of the bulk operation in minutes.

ActualEnd Datetime True

Actual end time of the bulk operation.

ActualStart Datetime True

Actual start time of the bulk operation.

BulkOperationNumber String True

Unique number that identifies the bulk operation.

CreatedBy_Id String True

Unique identifier of the user who created the bulk operation.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the bulk operation was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the bulk operation.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CreatedRecordTypeCode String True

Type code of the objects created in the bulk operation.

Description String True

Description of the bulk operation.

ErrorNumber Integer True

Error code for a failed bulk operation.

FailureCount Integer True

Number of records which failed in the bulk operation.

IsBilled Boolean True

For internal use only.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean True

Specifies if the bulk operation was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the bulk operation.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the bulk operation was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the bulk operation.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OperationTypeCode String True

Type of bulk operation to be performed.

OwnerId_Id String False

Unique identifier of the user or team who owns the bulk operation.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the bulk operation.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the bulk operation.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the bulk operation.

OwningUser_LogicalName String True

OwningUser_Name String True

Parameters String True

XML string that contains the parameters to the bulk operation.

RegardingObjectId_Id String False

Unique identifier of the object with which the bulk operation is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the bulk operation, specified in minutes.

ScheduledEnd Datetime True

Scheduled end date and time of the bulk operation.

ScheduledStart Datetime True

Scheduled start date and time of the bulk operation.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the bulk operation.

StatusCode String False

Reason for the status of the bulk operation.

Subject String True

Subject associated with the bulk operation.

SuccessCount Integer True

Number of records which succeeded in the bulk operation.

TargetedRecordTypeCode String True

Type code of the objects targeted in the bulk operation.

TargetMembersCount Integer True

Number of members to target.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

BulkOperationLog

This is a table representing the BulkOperationLog entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the bulk operation log.

AdditionalInfo String False

Additional information for the log.

BulkOperationId_Id String False

Unique identifier of the bulk operation that this log relates to.

BulkOperationId_LogicalName String False

BulkOperationId_Name String False

BulkOperationLogId String False

Unique identifier of the bulk operation log.

CreatedObjectId_Id String False

Unique identifier of the object created by the bulk operation.

CreatedObjectId_LogicalName String False

CreatedObjectId_Name String False

ErrorNumber Integer True

Error code for a failed bulk operation.

OwnerId_Id String True

Unique identifier of the user or team who owns the bulk operation log.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the bulk operation log.

OwningUser String True

Unique identifier of the user who owns the bulk operation log.

RegardingObjectId_Id String False

Unique identifier of the object with which the bulk operation is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

CData Python Connector for Microsoft Dynamics CRM

BusinessUnit

This is a table representing the BusinessUnit entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the business unit.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2, such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

BusinessUnitId String False

Unique identifier of the business unit.

CalendarId_Id String False

Fiscal calendar associated with the business unit.

CalendarId_LogicalName String False

CalendarId_Name String False

CostCenter String False

Name of the business unit cost center.

CreatedBy_Id String True

Unique identifier of the user who created the business unit.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the business unit was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the businessunit.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CreditLimit Double False

Credit limit for the business unit.

Description String False

Description of the business unit.

DisabledReason String True

Reason for disabling the business unit.

DivisionName String False

Name of the division to which the business unit belongs.

EMailAddress String False

email address for the business unit.

ExchangeRate Double True

Exchange rate for the currency associated with the businessunit with respect to the base currency.

FileAsName String False

Alternative name under which the business unit can be filed.

FtpSiteUrl String False

FTP site URL for the business unit.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

InheritanceMask Integer False

Inheritance mask for the business unit.

IsDisabled Boolean True

Information about whether the business unit is enabled or disabled.

ModifiedBy_Id String True

Unique identifier of the user who last modified the business unit.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the business unit was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the businessunit.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the business unit.

OrganizationId_Id String True

Unique identifier of the organization associated with the business unit.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

ParentBusinessUnitId_Id String False

Unique identifier for the parent business unit.

ParentBusinessUnitId_LogicalName String False

ParentBusinessUnitId_Name String False

Picture String False

Picture or diagram of the business unit.

StockExchange String False

Stock exchange on which the business is listed.

TickerSymbol String False

Stock exchange ticker symbol for the business unit.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the businessunit.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCOffset Integer False

UTC offset for the business unit. This is the difference between local time and standard Coordinated Universal Time.

WebSiteUrl String False

Web site URL for the business unit.

WorkflowSuspended Boolean False

Information about whether workflow or sales process rules have been suspended.

CData Python Connector for Microsoft Dynamics CRM

BusinessUnitMap

This is a table representing the BusinessUnitMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the business unit map.

BusinessId String False

BusinessUnitMapId String False

Unique identifier of the business unit map.

SubBusinessId String False

CData Python Connector for Microsoft Dynamics CRM

BusinessUnitNewsArticle

This is a table representing the BusinessUnitNewsArticle entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the announcement.

ActiveOn Datetime False

Date and time for the announcement to become active.

ActiveUntil Datetime False

Date and time of the last day the announcement is active.

ArticleTitle String False

Title of the announcement.

ArticleTypeCode String False

Type of announcement.

ArticleUrl String False

URL for the Web site on which the announcement is located.

BusinessUnitNewsArticleId String False

Unique identifier of the announcement.

CreatedBy_Id String True

Unique identifier of the user who created the announcement.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the announcement was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the businessunitnewsarticle.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the announcement.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the announcement was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the businessunitnewsarticle.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NewsArticle String False

Text for the announcement.

OrganizationId_Id String True

Unique identifier of the organization associated with the announcement.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

ShowOnHomepage Boolean False

Information about whether to show the announcement on the Web site home page.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Calendar

This is a table representing the Calendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the calendar.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the calendar is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

CalendarId String False

Unique identifier of the calendar.

CreatedBy_Id String True

Unique identifier of the user who created the calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the calendar was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the calendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Calendar used by the scheduling system to define when an appointment or activity is to occur.

IsShared Boolean False

Calendar is shared by other calendars, such as the organization calendar.

ModifiedBy_Id String True

Unique identifier of the user who last modified the calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the calendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the calendar.

OrganizationId_Id String True

Unique identifier of the organization with which the calendar is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PrimaryUserId String False

Unique identifier of the primary user of this calendar.

CData Python Connector for Microsoft Dynamics CRM

Campaign

This is a table representing the Campaign entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the campaign.

ActualEnd Datetime False

Actual end date for the campaign.

ActualStart Datetime False

Actual start date for the campaign.

BudgetedCost Double False

Budgeted cost for the campaign.

BudgetedCost_Base Double True

Base currency equivalent of the budgeted cost for the campaign.

CampaignId String False

Unique identifier of the campaign.

CodeName String False

Unique code name that identifies the campaign.

CreatedBy_Id String True

Unique identifier of the user who created the campaign.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the campaign was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the campaign.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the campaign.

ExchangeRate Double True

Exchange rate for the currency associated with the campaign with respect to the base currency.

ExpectedResponse Integer False

Percent expected response for the campaign.

ExpectedRevenue Double False

Expected revenue from the campaign.

ExpectedRevenue_Base Double True

Base currency equivalent of the expected revenue from the campaign.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsTemplate Boolean False

Indication of whether the campaign is a template.

Message String False

Promotional message for the campaign.

ModifiedBy_Id String True

Unique identifier of the user who last modified the campaign.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the campaign was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the campaign.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the campaign.

Objective String False

Objective of the campaign.

OtherCost Double False

Other miscellaneous costs of the campaign.

OtherCost_Base Double True

Base currency equivalent of the other miscellaneous costs of the campaign.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the campaign.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the campaign.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the campaign.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the campaign.

OwningUser_LogicalName String True

OwningUser_Name String True

PriceListId_Id String False

Unique identifier of the price list for the campaign.

PriceListId_LogicalName String False

PriceListId_Name String False

PromotionCodeName String False

Promotion code for the campaign.

ProposedEnd Datetime False

Proposed end date for the campaign.

ProposedStart Datetime False

Proposed start date for the campaign.

StateCode String True

Status of the campaign.

StatusCode String False

Reason for the status of the campaign.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TotalActualCost Double True

Total actual cost of the campaign.

TotalActualCost_Base Double True

Base currency equivalent of the total actual cost of the campaign.

TotalCampaignActivityActualCost Double True

Sum of all the actual costs of the campaign activities for this campaign.

TotalCampaignActivityActualCost_Base Double True

Base currency equivalent of the sum of all the actual costs of the campaign activities for this campaign.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the campaign.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

TypeCode String False

Type of the campaign.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

CampaignActivity

This is a table representing the CampaignActivity entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the campaign activity.

ActivityId String False

Unique identifier of the campaign activity.

ActivityTypeCode String True

Type of activity.

ActualCost Double False

Actual cost of the campaign activity.

ActualCost_Base Double True

Base currency equivalent of the actual cost of the campaign activity.

ActualDurationMinutes Integer False

Actual duration of the activity in minutes.

ActualEnd Datetime False

Actual end time of the campaign activity.

ActualStart Datetime False

Actual start time of the campaign activity.

BudgetedCost Double False

Budgeted cost for the campaign activity.

BudgetedCost_Base Double True

Base currency equivalent of the budgeted cost for the campaign activity.

Category String False

Category of the campaign activity.

ChannelTypeCode String False

Channel type code for the campaign activity.

CreatedBy_Id String True

Unique identifier of the user who created the campaign activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the campaign activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the campaignactivity.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the campaign activity.

DoNotSendOnOptOut Boolean False

Information about whether to send marketing material to list members that prohibit sending of marketing material.

ExchangeRate Double True

Exchange rate for the currency associated with the campaign activity with respect to the base currency.

ExcludeIfContactedInXDays Integer False

Ignore if the campaign ran in the last X days.

from_Ids String False

For internal use only.

from_LogicalNames String False

from_Names String False

IgnoreInactiveListMembers Boolean False

Information regarding whether to ignore inactive lists during propagation/execution.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information regarding whether the campaign activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information about whether the campaign activity is created by a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the campaign activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the campaign activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the campaignactivity.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the campaign activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the campaign activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the campaign activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the campaign activity.

OwningUser_LogicalName String True

OwningUser_Name String True

Partners_Ids String False

Unique identifier of the partner of the campaign activity.

Partners_LogicalNames String False

Partners_Names String False

PriorityCode String False

Priority code for the campaign activity.

RegardingObjectId_Id String False

Unique identifier of the object with which the campaign activity is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration, specified in minutes, of the campaign activity.

ScheduledEnd Datetime False

Scheduled end time of the campaign activity.

ScheduledStart Datetime False

Scheduled start time of the campaign activity.

ServiceId_Id String False

Unique identifier of the associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the campaign activity.

StatusCode String False

Reason for the status reason for the campaign activity.

Subcategory String False

Subcategory of the campaign activity.

Subject String False

Subject associated with the campaign activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the campaign activity.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

TypeCode String False

Type of the campaign activity.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

CampaignActivityItem

This is a table representing the CampaignActivityItem entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the campaign activity item.

CampaignActivityId_Id String False

Unique identifier of the campaign activity for the item.

CampaignActivityId_LogicalName String False

CampaignActivityId_Name String False

CampaignActivityItemId String False

Unique identifier of the campaign activity item.

ItemId String False

Unique identifier of the item.

ItemObjectTypeCode String False

Identification of the type of the campaign activity item.

OwnerId_Id String True

Unique identifier of the user or team who owns the campaign activity item.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the campaign activity item.

OwningUser String True

Unique identifier of the user that owns the campaign activity item.

CData Python Connector for Microsoft Dynamics CRM

CampaignItem

This is a table representing the CampaignItem entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the campaign item.

CampaignId_Id String False

Unique identifier of the campaign that is associated with the individual item.

CampaignId_LogicalName String False

CampaignId_Name String False

CampaignItemId String False

Unique identifier of the campaign item.

EntityId String False

Unique identifier of the entity for the campaign item.

EntityType Integer False

Object type of entity for the campaign item.

OwnerId_Id String True

Unique identifier of the user or team who owns the campaign item.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the campaign item.

OwningUser String True

Unique identifier of the user that owns the campaign item.

CData Python Connector for Microsoft Dynamics CRM

CampaignResponse

This is a table representing the CampaignResponse entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the campaign response.

ActivityId String False

Unique identifier of the campaign response.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the campaign response in minutes.

ActualEnd Datetime False

Actual end time of the campaign response.

ActualStart Datetime False

Actual start time of the campaign response.

Category String False

Category of the campaign response.

ChannelTypeCode String False

Channel type code of the campaign response.

CompanyName String False

Name of the company with which the campaign response is associated.

CreatedBy_Id String True

Unique identifier of the user who created the campaign response.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the campaign response was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the campaignresponse.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Customer_Ids String False

Customer with which the campaign response is associated.

Customer_LogicalNames String False

Customer_Names String False

Description String False

Description of the campaign response.

EMailAddress String False

email address of the customer from whom this response is received.

ExchangeRate Double True

Exchange rate for the currency associated with the campaignresponse with respect to the base currency.

Fax String False

Fax number of the customer from whom this response is received.

FirstName String False

First name of the customer from whom this response is collected.

from_Ids String False

For internal use only.

from_LogicalNames String False

from_Names String False

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Specifies whether the campaign response was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Specifies whether the campaign response is created by a workflow rule.

LastName String False

Last name of the customer from whom this response is collected.

ModifiedBy_Id String True

Unique identifier of the user who last modified the campaign response.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the campaign response was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the campaignresponse.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OriginatingActivityId_Id String False

Unique identifier of the originating activity for the campaign response.

OriginatingActivityId_LogicalName String False

OriginatingActivityId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the campaign response.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier for the business unit that owns the campaign response.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the campaign response.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the campaign response.

OwningUser_LogicalName String True

OwningUser_Name String True

Partner_Ids String False

Unique identifier of the partner for the campaign response.

Partner_LogicalNames String False

Partner_Names String False

PriorityCode String False

Priority of the campaign response.

PromotionCodeName String False

Promote code name associated with this response.

ReceivedOn Datetime False

Date on which this campaign response was received.

RegardingObjectId_Id String False

Unique identifier of the object with which the campaign response is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ResponseCode String False

Code of the campaign response.

ScheduledDurationMinutes Integer True

Scheduled duration of the campaign response in minutes.

ScheduledEnd Datetime False

Scheduled end time of the campaign response.

ScheduledStart Datetime False

Scheduled start time of the campaign response.

ServiceId_Id String False

Unique identifier for the associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the campaign response.

StatusCode String False

Reason for the status for the campaign response.

Subcategory String False

Subcategory of the campaign response.

Subject String False

Subject associated with the campaign response.

Telephone String False

Telephone number of customer from whom this response is received.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the campaignresponse.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

YomiCompanyName String False

Pronunciation of the company name, written in phonetic hiragana or katakana characters, with which the campaign response activity is associated.

YomiFirstName String False

Pronunciation of the first name of the customer, written in phonetic hiragana or katakana characters, from whom this response is collected.

YomiLastName String False

Pronunciation of the last name of the customer, written in phonetic hiragana or katakana characters, from whom this response is collected.

CData Python Connector for Microsoft Dynamics CRM

ClientUpdate

This is a table representing the ClientUpdate entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the client update.

ClientUpdateId String False

Unique identifier of the client update.

CreatedOn Datetime True

For internal use only. Date and time when the ClientUpdate script was created on server.

Description String False

Description of the client update.

SqlScript String False

Contents of the client update.

WasExecuted Boolean False

For internal use only. Should be set by client to 1 after action was executed.

WhenExecute String False

For internal use only. Values are: 1 - Before SchemaChanges; 2 - After SchemaChanges but before Download data; 3 - After download data.

CData Python Connector for Microsoft Dynamics CRM

ColumnMapping

This is a table representing the ColumnMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the column mapping.

ColumnMappingId String False

Unique identifier of the column mapping.

CreatedBy_Id String True

Unique identifier of the user who created the column mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the column mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the columnmapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportMapId_Id String False

Unique identifier of the associated data map.

ImportMapId_LogicalName String False

ImportMapId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the column mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the column mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the columnmapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ProcessCode String False

Information about whether the column mapping needs to be processed.

SourceAttributeName String False

Name of the source attribute.

SourceEntityName String False

Name of the source entity.

StateCode String True

Status of the column mapping.

StatusCode String False

Reason for the status of the column mapping.

TargetAttributeName String False

Name of the Microsoft Dynamics CRM attribute.

TargetEntityName String False

Name of the Microsoft Dynamics CRM entity.

CData Python Connector for Microsoft Dynamics CRM

Commitment

This is a table representing the Commitment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the commitment.

ActivityId String True

ActivityTypeCode Integer True

CommitmentId String True

Effort Double True

ParticipationTypeMask Integer True

PartyId String True

ResourceSpecId String True

ScheduledEnd Datetime True

ScheduledStart Datetime True

ServiceId_Id String True

ServiceId_LogicalName String True

ServiceId_Name String True

StateCode String True

StatusCode String True

Subject String True

CData Python Connector for Microsoft Dynamics CRM

Competitor

This is a table representing the Competitor entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the competitor.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2. such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

CompetitorId String False

Unique identifier of the competitor.

CreatedBy_Id String True

Unique identifier of the user who created the competitor.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the competitor was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the competitor.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ExchangeRate Double True

Exchange rate for the currency associated with the competitor with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

KeyProduct String False

Key products of the competitor.

ModifiedBy_Id String True

Unique identifier of the user who last modified the competitor.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the competitor was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the competitor.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the competitor.

Opportunities String False

Competitive opportunities against the competitor.

OrganizationId_Id String True

Unique identifier of the associated organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

Overview String False

Summary description of the competitor.

ReferenceInfoUrl String False

URL for the Web site where reference information about the competitor is located.

ReportedRevenue Double False

Reported revenue for the competitor.

ReportedRevenue_Base Double True

Base currency equivalent of the reported revenue for the competitor.

ReportingQuarter Integer False

Fiscal year quarter for the competitor's business.

ReportingYear Integer False

Fiscal year for the competitor's business.

StockExchange String False

Stock exchange on which the competitor is listed.

Strengths String False

Strengths of the competitor.

Threats String False

Competitive threats posed by the competitor.

TickerSymbol String False

Stock exchange ticker symbol for the competitor.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the competitor.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

Weaknesses String False

Competitive weaknesses of the competitor.

WebSiteUrl String False

Web site URL for the competitor.

WinPercentage Double False

Percentage of opportunities that the competitor wins.

YomiName String False

Pronunciation of the competitor name, written in phonetic hiragana or katakana characters.

CData Python Connector for Microsoft Dynamics CRM

CompetitorAddress

This is a table representing the CompetitorAddress entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the competitor address.

AddressNumber Integer False

Information about which competitor address is applicable.

AddressTypeCode String False

Type of address for the competitor, such as primary address.

City String False

City name in the competitor address.

CompetitorAddressId String False

Unique identifier of the competitor address.

Country String False

Country/region name in the competitor address.

County String False

County name in the competitor address.

CreatedBy_Id String True

Unique identifier of the user who created the competitor address.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the competitor address was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the competitor address.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Fax String False

Fax number for the competitor address.

Latitude Double False

Latitude for the competitor address.

Line1 String False

First line for entering address information.

Line2 String False

Second line for entering address information.

Line3 String False

Third line for entering address information.

Longitude Double False

Longitude for the address for the competitor.

ModifiedBy_Id String True

Unique identifier of the user who last modified the competitor address.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the competitor address was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the competitor address.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name used to identify the competitor address.

ParentId_Id String False

Unique identifier of the parent object with which the competitor address is associated.

ParentId_LogicalName String False

ParentId_Name String False

PostalCode String False

ZIP Code or postal code in the competitor address.

PostOfficeBox String False

Post office box number in the competitor address.

ShippingMethodCode String False

Method of shipment for the competitor.

StateOrProvince String False

State or province in the competitor address.

Telephone1 String False

First telephone number for the competitor address.

Telephone2 String False

Second telephone number for the competitor address.

Telephone3 String False

Third telephone number for the competitor address.

UPSZone String False

United Parcel Service (UPS) zone for the address of the competitor.

UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

CData Python Connector for Microsoft Dynamics CRM

CompetitorProduct

This is a table representing the CompetitorProduct entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the competitor product.

CompetitorId String True

CompetitorProductId String False

Unique identifier of the competitor product.

ProductId String True

CData Python Connector for Microsoft Dynamics CRM

CompetitorSalesLiterature

This is a table representing the CompetitorSalesLiterature entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the sales literature for the competitor product.

CompetitorId String True

CompetitorSalesLiteratureId String False

Unique identifier of the sales literature for the competitor product.

SalesLiteratureId String True

CData Python Connector for Microsoft Dynamics CRM

Connection

This is a table representing the Connection entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the connection.

ConnectionId String False

Unique identifier of the connection.

CreatedBy_Id String True

Unique identifier of the user who created the connection.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the connection was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the connection.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the connection.

EffectiveEnd Datetime False

Effective end date for this connection.

EffectiveStart Datetime False

Effective start date for this connection.

ExchangeRate Double True

Exchange rate between the currency associated with the connection and the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsMaster Boolean True

Indicates that this is the master record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the connection.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the connection was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the connection.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String True

Name of the connection.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the connection.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the connection.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the connection.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the connection.

OwningUser_LogicalName String True

OwningUser_Name String True

Record1Id_Id String False

Unique identifier of the source record.

Record1Id_LogicalName String False

Record1Id_Name String False

Record1ObjectTypeCode String True

Record type of the source record.

Record1RoleId_Id String False

Unique identifier of the role for the source record.

Record1RoleId_LogicalName String False

Record1RoleId_Name String False

Record2Id_Id String False

Unique identifier of the target record.

Record2Id_LogicalName String False

Record2Id_Name String False

Record2ObjectTypeCode String True

Record type of the target record.

Record2RoleId_Id String False

Unique identifier of the role for the target record.

Record2RoleId_LogicalName String False

Record2RoleId_Name String False

RelatedConnectionId_Id String True

Unique identifier for the reciprocal connection record.

RelatedConnectionId_LogicalName String True

RelatedConnectionId_Name String True

StateCode String True

Status of the connection.

StatusCode String False

Reason for the status of the connection.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the connection.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

CData Python Connector for Microsoft Dynamics CRM

ConnectionRole

This is a table representing the ConnectionRole entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the connection role.

Category String False

Categories for connection roles.

ComponentState String True

State of the component.

ConnectionRoleId String False

Unique identifier of the connection role.

ConnectionRoleIdUnique String True

Unique identifier of the published or unpublished connection role record.

CreatedBy_Id String True

Unique identifier of the user who created the relationship role.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the connection role was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the relationship role.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the connection role.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

ModifiedBy_Id String True

Unique identifier of the user who last modified the connection role.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the connection role was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the relationship role.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the connection role.

OrganizationId_Id String True

Unique identifier of the organization that this connection role belongs to.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

Date and time when the record was last overwritten.

SolutionId String True

Unique identifier of the associated solution.

StateCode String True

Status of the connection role.

StatusCode String False

Reason for the status of the connection role.

CData Python Connector for Microsoft Dynamics CRM

ConnectionRoleAssociation

This is a table representing the ConnectionRoleAssociation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the connection role association.

AssociatedConnectionRoleId String False

ConnectionRoleAssociationId String False

Unique identifier of the connection role association.

ConnectionRoleId String False

CData Python Connector for Microsoft Dynamics CRM

ConnectionRoleObjectTypeCode

This is a table representing the ConnectionRoleObjectTypeCode entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the connection role object type association.

AssociatedObjectTypeCode Integer False

ConnectionRoleId_Id String False

Unique identifier of the connection role associated with the connection role object type code.

ConnectionRoleId_LogicalName String False

ConnectionRoleId_Name String False

ConnectionRoleObjectTypeCodeId String False

Unique identifier of the connection role object type association.

OrganizationId String True

Unique identifier of the organization associated with the connection role object type code.

CData Python Connector for Microsoft Dynamics CRM

ConstraintBasedGroup

This is a table representing the ConstraintBasedGroup entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the constraint-based resource group.

BusinessUnitId_Id String False

Unique identifier of the associated business unit.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

ConstraintBasedGroupId String False

Unique identifier of the resource group.

Constraints String False

Constraints defined for the resource group, such as availability and location.

CreatedBy_Id String True

Unique identifier of the user who created the resource group.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the resource group was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the constraint-based group.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the resource group.

GroupTypeCode String False

Resource type, such as user/facility or equipment.

ModifiedBy_Id String True

Unique identifier of the user who last modified the resource group.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the resource group was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the constraint-based group.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name for the resource group.

OrganizationId_Id String True

Unique identifier of the organization associated with the resource group.

OrganizationId_LogicalName String True

OrganizationId_Name String True

CData Python Connector for Microsoft Dynamics CRM

Contact

This is a table representing the Contact entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the contact.

AccountId_Id String True

Unique identifier of the account with which the contact is associated.

AccountId_LogicalName String True

AccountId_Name String True

AccountRoleCode String False

Account role of the contact.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_FreightTermsCode String False

Freight terms for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_PrimaryContactName String False

Name to enter for address 1 for the primary contact.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2, such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_FreightTermsCode String False

Freight terms for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_PrimaryContactName String False

Name to enter for address 2 for the primary contact.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

Aging30 Double True

For internal use only.

Aging30_Base Double True

Base currency equivalent of the aging 30 for the contact.

Aging60 Double True

For internal use only.

Aging60_Base Double True

Base currency equivalent of the aging 60 for the contact.

Aging90 Double True

For internal use only.

Aging90_Base Double True

Base currency equivalent of the aging 90 for the contact.

Anniversary Datetime False

Wedding anniversary of the contact.

AnnualIncome Double False

Annual income of the contact.

AnnualIncome_Base Double True

Base currency equivalent of the annual income of the contact.

AssistantName String False

Name of the contact's assistant contact.

AssistantPhone String False

Phone number for the contact's assistant.

BirthDate Datetime False

Birth date of the contact.

ChildrensNames String False

Names of the contact's children.

ContactId String False

Unique identifier of the contact.

CreatedBy_Id String True

Unique identifier of the user who created the contact.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the contact was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the contact.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CreditLimit Double False

Credit limit for the contact.

CreditLimit_Base Double True

Base currency equivalent of the credit limit for the contact.

CreditOnHold Boolean False

Information about whether credit for the contact is on hold.

CustomerSizeCode String False

Size of the contact's business.

CustomerTypeCode String False

Type of business associated with the contact.

DefaultPriceLevelId_Id String False

Unique identifier of the default price list for the contact.

DefaultPriceLevelId_LogicalName String False

DefaultPriceLevelId_Name String False

Department String False

Department in the business unit or organization associated with the contact.

Description String False

Description of the contact.

DoNotBulkEMail Boolean False

Information about whether to allow sending direct email to the contact.

DoNotBulkPostalMail Boolean False

Information about whether to allow sending bulk-rate postal mail to the contact.

DoNotEMail Boolean False

Information about whether to allow sending email to the contact.

DoNotFax Boolean False

Information about whether to allow sending fax transmittals to the contact.

DoNotPhone Boolean False

Information about whether to allow phone calls to the contact.

DoNotPostalMail Boolean False

Information about whether to allow sending postal mail to the contact.

DoNotSendMM Boolean False

Information regarding whether to allow sending marketing mail to the contact.

EducationCode String False

Formal education level that the contact has attained.

EMailAddress1 String False

First email address for the contact.

EMailAddress2 String False

Second email address for the contact.

EMailAddress3 String False

Third email address for the contact.

EmployeeId String False

Employee ID for the contact.

ExchangeRate Double True

Exchange rate for the currency associated with the contact with respect to the base currency.

ExternalUserIdentifier String False

Identifier for an external user.

FamilyStatusCode String False

Marital status of the contact.

Fax String False

Fax number for the contact.

FirstName String False

First name of the contact.

FtpSiteUrl String False

FTP site URL for the contact.

FullName String True

Full name of the contact.

GenderCode String False

Gender of the contact.

GovernmentId String False

Government ID for the contact.

HasChildrenCode String False

Information about whether the contact has children.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBackofficeCustomer Boolean False

Information about whether the contact is in an associated Microsoft Great Plains database.

JobTitle String False

Job title of the contact.

LastName String False

Last name of the contact.

LastUsedInCampaign Datetime False

Date and time when the contact was last contacted as a part of a marketing campaign.

LeadSourceCode String False

Source of the lead of the contact.

ManagerName String False

Name of the contact's manager.

ManagerPhone String False

Phone number for the contact's manager.

MasterId_Id String True

Unique identifier of the master contact for merge.

MasterId_LogicalName String True

MasterId_Name String True

Merged Boolean True

Information regarding whether the account has been merged with a master contact.

MiddleName String False

Middle name of the contact.

MobilePhone String False

Mobile phone number for the contact.

ModifiedBy_Id String True

Unique identifier of the user who last modified the contact.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the contact was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the contact.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NickName String False

Nickname of the contact.

NumberOfChildren Integer False

How many children the contact has.

OriginatingLeadId_Id String False

Unique identifier of the lead from which the contact was created.

OriginatingLeadId_LogicalName String False

OriginatingLeadId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the contact.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the contact.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the contact.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the contact.

OwningUser_LogicalName String True

OwningUser_Name String True

Pager String False

Pager number for the contact.

ParentContactId_Id String True

Unique identifier of the parent contact.

ParentContactId_LogicalName String True

ParentContactId_Name String True

ParentCustomerId_Id String False

Unique identifier of the account or contact associated with the contact.

ParentCustomerId_LogicalName String False

ParentCustomerId_Name String False

ParticipatesInWorkflow Boolean False

Information about whether the contact participates in workflow rules.

PaymentTermsCode String False

Payment terms for the contact.

PreferredAppointmentDayCode String False

Day of the week that the contact prefers for scheduling service activities.

PreferredAppointmentTimeCode String False

Time of day that the contact prefers for scheduling service activities.

PreferredContactMethodCode String False

Preferred contact method for the contact.

PreferredEquipmentId_Id String False

Unique identifier of the facility/equipment preferred by the contact for scheduling service activities.

PreferredEquipmentId_LogicalName String False

PreferredEquipmentId_Name String False

PreferredServiceId_Id String False

Unique identifier of the service preferred by the contact for scheduling service activities.

PreferredServiceId_LogicalName String False

PreferredServiceId_Name String False

PreferredSystemUserId_Id String False

Unique identifier of the system user preferred by the contact for scheduling service activities.

PreferredSystemUserId_LogicalName String False

PreferredSystemUserId_Name String False

Salutation String False

Salutation for correspondence with the contact.

ShippingMethodCode String False

Method of shipping for the contact.

SpousesName String False

Name of the contact's spouse/partner.

StateCode String True

Status of the contact.

StatusCode String False

Reason for the status of the contact.

Suffix String False

Suffix for the contact name, such as Jr., Sr., or III.

Telephone1 String False

First telephone number for the contact.

Telephone2 String False

Second telephone number for the contact.

Telephone3 String False

Third telephone number for the contact.

TerritoryCode String False

Unique identifier of the territory to which the contact is assigned.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the contact.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WebSiteUrl String False

Web site URL for the contact.

YomiFirstName String False

Hiragana or Katakana phonetic guide for the contact first name, used for Yomi sorting.

YomiFullName String True

Hiragana or Katakana phonetic guide for the contact full name, used for Yomi sorting.

YomiLastName String False

Hiragana or Katakana phonetic guide for the contact last name, used for Yomi sorting.

YomiMiddleName String False

Hiragana or Katakana phonetic guide for the contact middle name, used for Yomi sorting.

CData Python Connector for Microsoft Dynamics CRM

ContactInvoices

This is a table representing the ContactInvoices entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the invoices for the contact.

ContactId String True

ContactInvoiceId String False

Unique identifier of the invoices for the contact.

InvoiceId String True

CData Python Connector for Microsoft Dynamics CRM

ContactLeads

This is a table representing the ContactLeads entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the leads for the contact.

ContactId String True

ContactLeadId String False

Unique identifier of the leads for the contact.

LeadId String True

CData Python Connector for Microsoft Dynamics CRM

ContactOrders

This is a table representing the ContactOrders entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the orders for the contact.

ContactId String True

ContactOrderId String False

Unique identifier of the orders for the contact.

SalesOrderId String True

CData Python Connector for Microsoft Dynamics CRM

ContactQuotes

This is a table representing the ContactQuotes entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the quotes for the contact.

ContactId String True

ContactQuoteId String False

Unique identifier of the quotes for the contact.

QuoteId String True

CData Python Connector for Microsoft Dynamics CRM

Contract

This is a table representing the Contract entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the contract.

AccountId_Id String True

Unique identifier of the account with which the contract is associated.

AccountId_LogicalName String True

AccountId_Name String True

ActiveOn Datetime False

Date and time when the contract becomes active.

AllotmentTypeCode String False

Type of allotment that the contract supports.

BillingAccountId_Id String True

Unique identifier of the account to which the contract is to be billed.

BillingAccountId_LogicalName String True

BillingAccountId_Name String True

BillingContactId_Id String True

Unique identifier of the contact to whom the contract is to be billed.

BillingContactId_LogicalName String True

BillingContactId_Name String True

BillingCustomerId_Id String False

Unique identifier of the account or contact to which the contract is to be billed.

BillingCustomerId_LogicalName String False

BillingCustomerId_Name String False

BillingEndOn Datetime False

Date and time when the billing period ends.

BillingFrequencyCode String False

How often the customer or account is to be billed.

BillingStartOn Datetime False

Date and time when the billing period begins.

BillToAddress_Id String False

Address to bill for contract charges.

BillToAddress_LogicalName String False

BillToAddress_Name String False

CancelOn Datetime True

Date when the contract was canceled.

ContactId_Id String True

Unique identifier of the contact specified for the contract.

ContactId_LogicalName String True

ContactId_Name String True

ContractId String False

Unique identifier of the contract.

ContractLanguage String False

Description of the contract.

ContractNumber String False

System-generated contract identification number.

ContractServiceLevelCode String False

Response level or level of service specified for the contract.

ContractTemplateAbbreviation String True

Abbreviation of the contract template name.

ContractTemplateId_Id String False

Unique identifier of the template associated with the contract.

ContractTemplateId_LogicalName String False

ContractTemplateId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the contract.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the contract was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the contract.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the account or contact associated with the contract.

CustomerId_LogicalName String False

CustomerId_Name String False

Duration Integer True

Calculated duration of time that the contract spans.

EffectivityCalendar String False

Days of the week and times during which customer service support is available for the duration of the contract.

ExchangeRate Double True

Exchange rate for the currency associated with the contract with respect to the base currency.

ExpiresOn Datetime False

Date when the contract expires.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the contract.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the contract was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the contract.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NetPrice Double True

Sum of all net values calculated on the contract lines.

NetPrice_Base Double True

Base currency equivalent of the sum of all net values calculated on the contract lines.

OriginatingContract_Id String False

Unique identifier of the original contract from which this current contract was derived.

OriginatingContract_LogicalName String False

OriginatingContract_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the contract.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the contract.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the contract.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the contract.

OwningUser_LogicalName String True

OwningUser_Name String True

ServiceAddress_Id String False

Unique identifier of the address at which service is to be provided.

ServiceAddress_LogicalName String False

ServiceAddress_Name String False

StateCode String True

Status of the contract.

StatusCode String False

Reason for the status of the contract.

TimeZoneRuleVersionNumber Integer False

For internal use only.

Title String False

Title of the contract.

TotalDiscount Double True

Total of all discounts specified on the contract lines.

TotalDiscount_Base Double True

Base currency equivalent of the total of all discounts specified on the contract lines.

TotalPrice Double True

Total price of the contract.

TotalPrice_Base Double True

Base currency equivalent of the total price of the contract.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the contract.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UseDiscountAsPercentage Boolean False

Information about whether the discount is a percentage or a monetary amount.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ContractDetail

This is a table representing the ContractDetail entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the contract line.

AccountId_Id String True

Unique identifier of the account with which the contract is associated.

AccountId_LogicalName String True

AccountId_Name String True

ActiveOn Datetime False

Date and time when the contract line becomes active.

AllotmentsOverage Integer True

Number of overage allotments for the contract line.

AllotmentsRemaining Integer True

Number of allotments remaining for the contract line.

AllotmentsUsed Integer True

Number of allotments that have been used for the contract line.

ContactId_Id String True

Unique identifier for the contact associated with the contract line.

ContactId_LogicalName String True

ContactId_Name String True

ContractDetailId String False

Unique identifier of the contract line.

ContractId_Id String False

Unique identifier of the contract associated with the contract line.

ContractId_LogicalName String False

ContractId_Name String False

ContractStateCode String True

Status of the contract.

CreatedBy_Id String True

Unique identifier of the user who created the contract line.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the contract line was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the contractdetail.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier for the account or contact associated with the contract line.

CustomerId_LogicalName String False

CustomerId_Name String False

Discount Double False

Discount for the contract line. Specified as a monetary amount.

Discount_Base Double True

Base currency equivalent of the discount for the contract line.

DiscountPercentage Double False

Discount for the contract line. Specified as a percentage.

EffectivityCalendar String False

Days of the week and times for which the contract line item is effective.

ExchangeRate Double True

Exchange rate for the currency associated with the contract detail with respect to the base currency.

ExpiresOn Datetime False

Date when the contract line item expires.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

InitialQuantity Integer False

Initial quantity of units allocated in the contract line item.

LineItemOrder Integer False

Position of item in the list of contract line items.

ModifiedBy_Id String True

Unique identifier of the user who last modified the contract line.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the contract line was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the contractdetail.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Net Double True

Net price for the contract line. Net price is the total price minus any applicable discount.

Net_Base Double True

Base currency equivalent of the net price for the contract line.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the contract detail.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the contract line.

OwningUser String True

Unique identifier of the user who owns the contract line.

Price Double False

Price of the contract line.

Price_Base Double True

Base currency equivalent of the price of the contract line.

ProductId_Id String False

Unique identifier of the product associated with the contract line.

ProductId_LogicalName String False

ProductId_Name String False

ProductSerialNumber String False

Serial number of the product referenced in the contract line.

Rate Double True

Billing rate for the contract line.

Rate_Base Double True

Base currency equivalent of the billing rate for the contract line.

ServiceAddress_Id String False

Address at which service is to be provided.

ServiceAddress_LogicalName String False

ServiceAddress_Name String False

ServiceContractUnitsCode String False

Unique identifier of the product units specified on the contract line.

StateCode String True

Status of the contract line item.

StatusCode String False

Reason for the status of the contract line item.

TimeZoneRuleVersionNumber Integer False

For internal use only.

Title String False

Title of the contract line.

TotalAllotments Integer False

Total allotments for the contract line.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the contract detail.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UoMId_Id String False

Unique identifier of the unit associated with the contract line.

UoMId_LogicalName String False

UoMId_Name String False

UoMScheduleId_Id String False

Unique identifier of the unit group associated with the contract line.

UoMScheduleId_LogicalName String False

UoMScheduleId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ContractTemplate

This is a table representing the ContractTemplate entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the contract template.

Abbreviation String False

Abbreviation of the contract template name.

AllotmentTypeCode String False

Criteria for the contracts based on the template, such as number of cases, time, or coverage dates.

BillingFrequencyCode String False

How often the customer or account is to be billed in contracts that are based on the template.

ComponentState String True

For internal use only.

ContractServiceLevelCode String False

Unique identifier of the level of service specified in contracts that are based on the template.

ContractTemplateId String False

Unique identifier of the contract template.

ContractTemplateIdUnique String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the contract template.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the contract template was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the contracttemplate.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the contract template.

EffectivityCalendar String False

Days of the week and times for which contracts based on the template are effective.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

ModifiedBy_Id String True

Unique identifier of the user who last modified the contract template.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the contract template was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the contracttemplate.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the contract template.

OrganizationId_Id String True

Unique identifier of the organization associated with the contract template.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OverwriteTime Datetime True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

UseDiscountAsPercentage Boolean False

Specifies whether the discount is a percentage or a monetary amount in contracts based on the template.

CData Python Connector for Microsoft Dynamics CRM

CustomerAddress

This is a table representing the CustomerAddress entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the customer address.

AddressNumber Integer False

Specifies which customer address is applicable.

AddressTypeCode String False

Type of address for the customer, such as billing, shipping, or primary address.

City String False

City name in the customer address.

Country String False

Country/region name in the customer address.

County String False

County name in the customer address.

CreatedBy_Id String True

Unique identifier of the user who created the customer address.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the customer address was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the customeraddress.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerAddressId String False

Unique identifier of the customer address.

ExchangeRate Double True

Exchange rate for the currency associated with the customeraddress with respect to the base currency.

Fax String False

Fax number for the customer address.

FreightTermsCode String False

Freight terms for the customer address.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

Latitude Double False

Latitude for the customer address.

Line1 String False

First line for entering address information.

Line2 String False

Second line for entering address information.

Line3 String False

Third line for entering address information.

Longitude Double False

Longitude for the customer address.

ModifiedBy_Id String True

Unique identifier of the user who last modified the customer address.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the customer address was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the customeraddress.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name used to identify the customer address.

ObjectTypeCode String False

Type of entity with which the customer address is associated.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the customer address.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the customer address.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the customer address.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentId_Id String False

Unique identifier of the parent object with which the customer address is associated.

ParentId_LogicalName String False

ParentId_Name String False

PostalCode String False

ZIP Code or postal code in the customer address.

PostOfficeBox String False

Post office box number in the customer address.

PrimaryContactName String False

Name of the primary contact at the customer address.

ShippingMethodCode String False

Method of shipment for the customer address.

StateOrProvince String False

State or province in the customer address.

Telephone1 String False

First telephone number for the customer address.

Telephone2 String False

Second telephone number for the customer address.

Telephone3 String False

Third telephone number for the customer address.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the customeraddress.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UPSZone String False

United Parcel Service (UPS) zone for the address of the customer.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

UTCOffset Integer False

UTC offset for the address. This is the difference between local time and standard Coordinated Universal Time.

CData Python Connector for Microsoft Dynamics CRM

CustomerOpportunityRole

This is a table representing the CustomerOpportunityRole entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the opportunity relationship.

CreatedBy_Id String True

Unique Identifier of the user who created the opportunity relationship.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the opportunity relationship was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the customer opportunity role.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the customer for the opportunity relationship.

CustomerId_LogicalName String False

CustomerId_Name String False

CustomerOpportunityRoleId String False

Unique identifier of the opportunity relationship.

Description String False

Description of the opportunity relationship.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the opportunity relationship.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the opportunity relationship was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the customeropportunityrole.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OpportunityId_Id String False

Unique identifier of the opportunity for the opportunity relationship.

OpportunityId_LogicalName String False

OpportunityId_Name String False

OpportunityRoleId_Id String False

Unique identifier for role the customer plays with the opportunity.

OpportunityRoleId_LogicalName String False

OpportunityRoleId_Name String False

OpportunityStateCode Integer True

Status of the opportunity.

OpportunityStatusCode Integer True

Reason for the status of the opportunity.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the customer opportunity role.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier for the business unit that owns the customer opportunity role.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the customer opportunity role.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the customer opportunity role.

OwningUser_LogicalName String True

OwningUser_Name String True

CData Python Connector for Microsoft Dynamics CRM

CustomerRelationship

This is a table representing the CustomerRelationship entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the customer relationship.

ConverseRelationshipId_Id String False

Unique identifier of the converse relationship of the customer relationship.

ConverseRelationshipId_LogicalName String False

ConverseRelationshipId_Name String False

CreatedBy_Id String True

Unique Identifier of the user who created the customer relationship.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the customer relationship was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the customerrelationship.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the primary customer in the relationship.

CustomerId_LogicalName String False

CustomerId_Name String False

CustomerRelationshipId String False

Unique identifier of the customer relationship.

CustomerRoleDescription String False

Description of the customer and the customer's role in this relationship.

CustomerRoleId_Id String False

Unique identifier of the customer role.

CustomerRoleId_LogicalName String False

CustomerRoleId_Name String False

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the customer relationship.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the customer relationship was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the customerrelationship.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the customer relationship.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the customer relationship.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the customer relationship.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the customer relationship.

OwningUser_LogicalName String True

OwningUser_Name String True

PartnerId_Id String False

Unique identifier of the secondary customer in the relationship.

PartnerId_LogicalName String False

PartnerId_Name String False

PartnerRoleDescription String False

Description of the customer and the customer's role in this relationship.

PartnerRoleId_Id String False

Unique identifier of the relationship role of the secondary customer.

PartnerRoleId_LogicalName String False

PartnerRoleId_Name String False

CData Python Connector for Microsoft Dynamics CRM

Dependency

This is a table representing the Dependency entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the dependency.

DependencyId String True

Unique identifier of a dependency.

DependencyType String True

The dependency type of the dependency.

DependentComponentBaseSolutionId String True

DependentComponentNodeId_Id String True

Unique identifier of the dependent component's node.

DependentComponentNodeId_LogicalName String True

DependentComponentNodeId_Name String True

DependentComponentObjectId String True

DependentComponentParentId String True

DependentComponentType String True

RequiredComponentBaseSolutionId String True

RequiredComponentNodeId_Id String True

Unique identifier of the required component's node

RequiredComponentNodeId_LogicalName String True

RequiredComponentNodeId_Name String True

RequiredComponentObjectId String True

RequiredComponentParentId String True

RequiredComponentType String True

CData Python Connector for Microsoft Dynamics CRM

DependencyNode

This is a table representing the DependencyNode entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the node.

BaseSolutionId_Id String True

Unique identifier of the user who created the solution

BaseSolutionId_LogicalName String True

BaseSolutionId_Name String True

ComponentType String True

The type code of the component.

DependencyNodeId String True

Unique identifier of the dependency node.

IsSharedComponent Boolean True

Whether this component is shared by two solutions with the same publisher.

ObjectId String False

Unique identifier of the object with which the node is associated.

ParentId String True

Unique identifier of the parent entity.

TopSolutionId_Id String True

Unique identifier of the top solution.

TopSolutionId_LogicalName String True

TopSolutionId_Name String True

CData Python Connector for Microsoft Dynamics CRM

Discount

This is a table representing the Discount entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the discount.

Amount Double False

Amount of the discount, specified either as a percentage or as a monetary amount.

Amount_Base Double True

Base currency equivalent of the amount of the discount.

CreatedBy_Id String True

Unique identifier of the user who created the discount.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the discount was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the discount.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DiscountId String False

Unique identifier of the discount.

DiscountTypeId_Id String False

Unique identifier of the discount list associated with the discount.

DiscountTypeId_LogicalName String False

DiscountTypeId_Name String False

ExchangeRate Double True

Exchange rate for the currency associated with the discount with respect to the base currency.

HighQuantity Double False

Upper boundary for the quantity range to which a particular discount can be applied.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsAmountType Boolean True

Specifies whether the discount is specified as a monetary amount or a percentage.

LowQuantity Double False

Lower boundary for the quantity range to which a particular discount is applied.

ModifiedBy_Id String True

Unique identifier of the user who last modified the discount.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the discount was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the discount.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId String True

Unique identifier of the organization associated with the discount.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

Percentage Double False

Percentage discount value.

StatusCode String False

Reason for the status of the discount.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the discount.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

CData Python Connector for Microsoft Dynamics CRM

DiscountType

This is a table representing the DiscountType entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the discount list.

CreatedBy_Id String True

Unique identifier of the user who created the discount list.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the discount list was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the discounttype.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the discount list.

DiscountTypeId String False

Unique identifier of the discount list.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsAmountType Boolean False

Information about whether the discount list amounts are specified as monetary amounts or percentages.

ModifiedBy_Id String True

Unique identifier of the user who last modified the discount list.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the discount list was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the discounttype.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the discount list.

OrganizationId_Id String True

Unique identifier of the organization associated with the discount list.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

StateCode String True

Status of the discount list.

StatusCode String False

Reason for the status of the discount list.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the discount type.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

CData Python Connector for Microsoft Dynamics CRM

DisplayString

This is a table representing the DisplayString entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the display string.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the display string.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the display string was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the display string.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomComment String False

Comment for a customized display string.

CustomDisplayString String False

Customized display string.

DisplayStringId String False

Unique identifier of the display string.

DisplayStringIdUnique String True

For internal use only.

DisplayStringKey String True

For internal use only.

FormatParameters Integer True

Parameters used for formatting the display string.

IsManaged Boolean True

LanguageCode Integer False

Language code of the display string.

ModifiedBy_Id String True

Unique identifier of the user who last modified the display string.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the display string was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the displaystring.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the display string.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

PublishedDisplayString String True

Published display string.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

DisplayStringMap

This is a table representing the DisplayStringMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the display string map.

ComponentState String True

For internal use only.

DisplayStringId String False

Unique identifier of the display string.

DisplayStringMapId String False

Unique identifier of the display string map.

DisplayStringMapIdUnique String True

For internal use only.

IsManaged Boolean True

ObjectTypeCode Integer False

Type of entity with which the note is associated.

OverwriteTime Datetime True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

DocumentIndex

This is a table representing the DocumentIndex entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the indexed article.

CreatedBy_Id String True

Unique identifier of the user who created the indexed article.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the indexed article was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the documentindex.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DocumentId_Id String False

Unique identifier of the document.

DocumentId_LogicalName String False

DocumentId_Name String False

DocumentIndexId String False

Unique identifier of the indexed article.

DocumentTypeCode String False

For internal use only.

IsPublished Boolean False

Flag indicating that the document is published.

KeyWords String False

Keywords for the document.

Location String False

Location of the document.

ModifiedBy_Id String True

Unique identifier of the user who last modified the indexed article.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the indexed article was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the documentindex.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Number String False

For internal use only.

OrganizationId_Id String True

Unique identifier of the organization associated with the indexed article.

OrganizationId_LogicalName String True

OrganizationId_Name String True

SearchText String False

For internal use only.

SubjectId_Id String False

Unique identifier of the subject associated with the indexed article.

SubjectId_LogicalName String False

SubjectId_Name String False

Title String False

Title of the indexed article.

CData Python Connector for Microsoft Dynamics CRM

DuplicateRecord

This is a table representing the DuplicateRecord entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the duplicate record.

AsyncOperationId_Id String True

Unique identifier of the system job that created this record.

AsyncOperationId_LogicalName String True

AsyncOperationId_Name String True

BaseRecordId_Id String True

Unique identifier of the base record.

BaseRecordId_LogicalName String True

BaseRecordId_Name String True

CreatedOn Datetime True

Date and time when the duplicate record was created.

DuplicateId String False

Unique identifier of the duplicate record.

DuplicateRecordId_Id String True

Unique identifier of the potential duplicate record.

DuplicateRecordId_LogicalName String True

DuplicateRecordId_Name String True

DuplicateRuleId_Id String True

Unique identifier of the duplicate rule against which this duplicate was found.

DuplicateRuleId_LogicalName String True

DuplicateRuleId_Name String True

OwnerId_Id String True

Unique identifier of the user or team who owns the duplicate record.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the duplicate record.

OwningUser String True

Unique identifier of the user who owns the duplicate record.

CData Python Connector for Microsoft Dynamics CRM

DuplicateRule

This is a table representing the DuplicateRule entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the duplicate detection rule.

BaseEntityMatchCodeTable String True

Database table that stores match codes for the record type being evaluated for potential duplicates.

BaseEntityName String False

Record type of the record being evaluated for potential duplicates.

BaseEntityTypeCode String True

Record type of the record being evaluated for potential duplicates.

CreatedBy_Id String True

Unique identifier of the user who created the duplicate detection rule.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the duplicate detection rule was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the duplicaterule.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the duplicate detection rule.

DuplicateRuleId String False

Unique identifier of the duplicate detection rule.

IsCaseSensitive Boolean False

Indicates if the operator is case-sensitive.

MatchingEntityMatchCodeTable String True

Database table that stores match codes for potential duplicate records.

MatchingEntityName String False

Record type of the records being evaluated as potential duplicates.

MatchingEntityTypeCode String True

Record type of the records being evaluated as potential duplicates.

ModifiedBy_Id String True

Unique identifier of the user who last modified the duplicate detection rule.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the duplicate detection rule was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the duplicaterule.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the duplicate detection rule.

OwnerId_Id String False

Unique identifier of the user or team who owns the duplicate detection rule.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns duplicate detection rule.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the duplicate detection rule.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the duplicate detection rule.

OwningUser_LogicalName String True

OwningUser_Name String True

StateCode String True

Status of the duplicate detection rule.

StatusCode String False

Reason for the status of the duplicate detection rule.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

DuplicateRuleCondition

This is a table representing the DuplicateRuleCondition entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the condition.

BaseAttributeName String False

Field that is being compared.

CreatedBy_Id String True

Unique identifier of the user who created the condition.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the condition was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the duplicate rule condition.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DuplicateRuleConditionId String False

Unique identifier of the condition.

MatchingAttributeName String False

Field that is being compared with the base field.

ModifiedBy_Id String True

Unique identifier of the user who last modified the condition.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the condition was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the duplicate rule condition.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OperatorCode String False

Operator for this rule condition.

OperatorParam Integer False

Parameter value of N if the operator is Same First Characters or Same Last Characters.

OwnerId_Id String True

Unique identifier of the user or team who owns the duplicate rule condition.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the condition.

OwningUser String True

Unique identifier of the user who owns the condition.

RegardingObjectId_Id String False

Unique identifier of the object with which the condition is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

CData Python Connector for Microsoft Dynamics CRM

Email

This is a table representing the Email entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the email.

ActivityId String False

Unique identifier of the email activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Duration of the email activity specified in minutes.

ActualEnd Datetime False

Time when the email activity ends.

ActualStart Datetime False

Time when the email activity begins.

bcc_Ids String False

Blind carbon copy (BCC) recipients.

bcc_LogicalNames String False

bcc_Names String False

Category String False

Category of the activity.

cc_Ids String False

Carbon copy (CC) recipients.

cc_LogicalNames String False

cc_Names String False

Compressed Boolean True

Indicates if the body is compressed.

CreatedBy_Id String True

Unique identifier of the user who created the email activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the email activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the email.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DeliveryAttempts Integer False

Number of attempts made to deliver the email.

DeliveryReceiptRequested Boolean False

Delivery receipt requested.

Description String False

Main body text of the email.

DirectionCode Boolean False

Direction code for the email: incoming or outgoing.

ExchangeRate Double True

Exchange rate for the currency associated with the email with respect to the base currency.

from_Ids String False

Who the email is from.

from_LogicalNames String False

from_Names String False

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information regarding whether the email activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Indication if the email was created by a workflow rule.

MessageId String False

Unique identifier of the email message. Used only for email that is received.

MimeType String False

MIME type of the email message data.

ModifiedBy_Id String True

Unique identifier of the user who last modified the email activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the email activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the email.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Notifications String False

Notifications for detail form.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the email activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the email activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the email activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the email activity.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority code of the email.

ReadReceiptRequested Boolean False

Indicates that a read receipt is requested.

RegardingObjectId_Id String False

Unique identifier of the object with which the email is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the email activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the email activity.

ScheduledStart Datetime False

Scheduled start time of the email activity.

Sender String False

Sender of the email.

ServiceId_Id String False

Unique identifier for the associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the email activity.

StatusCode String False

Reason for the status of the email activity.

Subcategory String False

Subcategory of the email activity.

Subject String False

Subject associated with the email activity.

SubmittedBy String False

email delivery source.

TimeZoneRuleVersionNumber Integer False

For internal use only.

to_Ids String False

Recipient party list for the email, and references recipient records such as users and queues.

to_LogicalNames String False

to_Names String False

ToRecipients String False

String that lists email addresses corresponding to the recipients.

TrackingToken String False

Tracking token number.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the email.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

EmailHash

This is a table representing the EmailHash entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the email hash.

ActivityId_Id String False

Unique identifier of the activity with which the hash is associated.

ActivityId_LogicalName String False

ActivityId_Name String False

EmailHashId String False

Unique identifier of the email hash.

Hash Integer False

Hash value.

HashType Integer False

Hash type.

OwnerId_Id String True

Unique identifier of the user or team who owns the email hash.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the email hash.

OwningUser String True

Unique identifier of the user who owns the email hash.

CData Python Connector for Microsoft Dynamics CRM

EmailSearch

This is a table representing the EmailSearch entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the email search entry.

EmailAddress String False

The email address.

EmailSearchId String False

Unique identifier of the email search entry.

ParentObjectId_Id String False

Unique identifier of the parent object with which the email address is associated.

ParentObjectId_LogicalName String False

ParentObjectId_Name String False

CData Python Connector for Microsoft Dynamics CRM

EntityMap

This is a table representing the EntityMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the entity map.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the entity map.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the entity map was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the entitymap.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EntityMapId String False

Unique identifier of the entity map.

EntityMapIdUnique String True

For internal use only.

IsManaged Boolean True

ModifiedBy_Id String True

Unique identifier of the user who last modified the entity map.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the entity map was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the entitymap.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization with which the entity map is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

SourceEntityName String False

Name of the source entity for the entity mapping.

TargetEntityName String False

Name of the Microsoft Dynamics CRM entity.

CData Python Connector for Microsoft Dynamics CRM

Equipment

This is a table representing the Equipment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the facility/equipment.

BusinessUnitId_Id String False

Unique identifier of the associated business unit.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

CalendarId_Id String False

Fiscal calendar associated with the facility/equipment.

CalendarId_LogicalName String False

CalendarId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the facility/equipment entry.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the facility/equipment entry was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the equipment.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the facility/equipment.

DisplayInServiceViews Boolean False

For internal use only.

EMailAddress String False

Email address of person to contact about the use of the facility/equipment.

EquipmentId String False

Unique identifier of the facility/equipment.

ExchangeRate Double True

Exchange rate for the currency associated with the equipment with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsDisabled Boolean False

Whether the facility/equipment is disabled or operational.

ModifiedBy_Id String True

Unique identifier of the user who last modified the facility/equipment.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the facility/equipment entry was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the equipment.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the facility/equipment.

OrganizationId_Id String True

Unique identifier of the parent business unit.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

SiteId_Id String False

Site where the facility/equipment is located.

SiteId_LogicalName String False

SiteId_Name String False

Skills String False

Skills needed to operate the facility/equipment.

TimeZoneCode Integer False

Local time zone where the facility/equipment is located.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the equipment.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Fax

This is a table representing the Fax entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the fax activity.

ActivityId String False

Unique identifier of the fax activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the fax activity in minutes.

ActualEnd Datetime False

Actual end time of the fax activity.

ActualStart Datetime False

Actual start time of the fax activity.

BillingCode String False

Billing code associated with the sender.

Category String False

Category of the fax activity.

CoverPageName String False

Name of a cover page to use when sending a fax.

CreatedBy_Id String True

Unique identifier of the user who created the fax activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the fax activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the fax.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the fax activity.

DirectionCode Boolean False

Direction code for the fax; incoming or outgoing.

ExchangeRate Double True

Exchange rate for the currency associated with the fax with respect to the base currency.

FaxNumber String False

Telephone number of the receiving fax equipment.

from_Ids String False

Who the fax is from.

from_LogicalNames String False

from_Names String False

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information regarding whether the fax activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Indication of whether the fax activity was created by a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the fax activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the fax activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the fax.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NumberOfPages Integer False

Number of pages in the fax.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the fax activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the fax activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the fax activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user that owns the fax activity.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority code of the fax activity.

RegardingObjectId_Id String False

Unique identifier of the object with which the fax activity is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the fax activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the fax activity.

ScheduledStart Datetime False

Scheduled start time of the fax activity.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the fax activity.

StatusCode String False

Reason for the status of the fax activity.

Subcategory String False

Subcategory of the fax activity.

Subject String False

Subject associated with the fax activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

to_Ids String False

Person who is the receiver of the fax.

to_LogicalNames String False

to_Names String False

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the fax.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

Tsid String False

Transmitting station identifier (TSID) associated with a send action.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

FieldPermission

This is a table representing the FieldPermission entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the attribute.

AttributeLogicalName String False

Attribute name.

CanCreate String False

Can this Profile create the attribute

CanRead String False

Can this Profile read the attribute

CanUpdate String False

Can this Profile update the attribute

ComponentState String True

For internal use only.

EntityName Integer False

Entity name.

FieldPermissionId String False

Unique identifier of the Field Permission.

FieldPermissionIdUnique String True

For internal use only.

FieldSecurityProfileId_Id String False

Unique identifier of profile to which this privilege belongs.

FieldSecurityProfileId_LogicalName String False

FieldSecurityProfileId_Name String False

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

OrganizationId_Id String True

Unique identifier for the organization

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

FieldSecurityProfile

This is a table representing the FieldSecurityProfile entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the profile.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the profile.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the profile was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the role.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the Profile

FieldSecurityProfileId String False

Unique identifier of the profile.

FieldSecurityProfileIdUnique String True

For internal use only.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

ModifiedBy_Id String True

Unique identifier of the user who last modified the profile.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the profile was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the profile.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the profile.

OrganizationId_Id String True

Unique identifier of the associated organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

FilterTemplate

This is a table representing the FilterTemplate entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the filter template.

Description String False

For internal use only.

FetchXml String False

String that specifies the filter template in Fetch XML language.

FilterTemplateId String False

Unique identifier of the filter template.

Name String False

Name of the filter template.

QueryType Integer False

For internal use only.

ReturnedTypeCode Integer False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

FixedMonthlyFiscalCalendar

This is a table representing the FixedMonthlyFiscalCalendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the fixed monthly fiscal calendar.

BusinessUnitId_Id String True

Business unit responsible for the quota associated with this calendar.

BusinessUnitId_LogicalName String True

BusinessUnitId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the fiscal calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quota for the fixed monthly fiscal calendar was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the FixedMonthlyFiscalCalendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EffectiveOn Datetime False

Date and time when the fixed monthly fiscal calendar sales quota takes effect.

ExchangeRate Double True

Exchange rate for the currency associated with the fixed monthly fiscal calendar with respect to the base currency.

FiscalPeriodType Integer True

Type of fiscal period used in the fixed monthly fiscal calendar sales quota.

ModifiedBy_Id String True

Unique identifier of the user who last modified the fixed monthly fiscal calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the fixed monthly fiscal calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the FixedMonthlyFiscalCalendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Period1 Double False

Sales quota for the first period in the fiscal year.

Period1_Base Double True

Base currency equivalent of the sales quota for the first period in the fiscal year.

Period10 Double False

Sales quota for the tenth period in the fiscal year.

Period10_Base Double True

Base currency equivalent of the sales quota for the tenth period in the fiscal year.

Period11 Double False

Sales quota for the eleventh period in the fiscal year.

Period11_Base Double True

Base currency equivalent of the sales quota for the eleventh period in the fiscal year.

Period12 Double False

Sales quota for the twelfth period in the fiscal year.

Period12_Base Double True

Base currency equivalent of the sales quota for the twelfth period in the fiscal year.

Period13 Double False

Sales quota for the thirteenth period in the fiscal year.

Period13_Base Double True

Base currency equivalent of the sales quota for the thirteenth period in the fiscal year.

Period2 Double False

Sales quota for the second period in the fiscal year.

Period2_Base Double True

Base currency equivalent of the sales quota for the second period in the fiscal year.

Period3 Double False

Sales quota for the third period in the fiscal year.

Period3_Base Double True

Base currency equivalent of the sales quota for the third period in the fiscal year.

Period4 Double False

Sales quota for the fourth period in the fiscal year.

Period4_Base Double True

Base currency equivalent of the sales quota for the fourth period in the fiscal year.

Period5 Double False

Sales quota for the fifth period in the fiscal year.

Period5_Base Double True

Base currency equivalent of the sales quota for the fifth period in the fiscal year.

Period6 Double False

Sales quota for the sixth period in the fiscal year.

Period6_Base Double True

Base currency equivalent of the sales quota for the sixth period in the fiscal year.

Period7 Double False

Sales quota for the seventh period in the fiscal year.

Period7_Base Double True

Base currency equivalent of the sales quota for the seventh period in the fiscal year.

Period8 Double False

Sales quota for the eighth period in the fiscal year.

Period8_Base Double True

Base currency equivalent of the sales quota for the eighth period in the fiscal year.

Period9 Double False

Sales quota for the ninth period in the fiscal year.

Period9_Base Double True

Base currency equivalent of the sales quota for the ninth period in the fiscal year.

SalesPersonId_Id String False

Unique identifier of the associated salesperson.

SalesPersonId_LogicalName String False

SalesPersonId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the fixed monthly fiscal calendar.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UserFiscalCalendarId String False

Unique identifier of the user of the fiscal calendar.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Goal

This is a table representing the Goal entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the goal.

ActualDecimal Double False

Actual value (decimal type) against the target.

ActualInteger Integer False

Actual value (integer type) against the target.

ActualMoney Double False

Actual value (money type) against the target.

ActualMoney_Base Double True

Actual value (money type) in base currency against the target.

ActualString String True

Actual Value of the goal.

AmountDataType String False

Data type of the amount.

ComputedTargetAsOfTodayDecimal Double True

A system-generated expected amount for Actual (decimal) against the target goal.

ComputedTargetAsOfTodayInteger Integer True

A system-generated expected amount for Actual (integer) against the target goal.

ComputedTargetAsOfTodayMoney Double True

A system-generated expected amount for Actual (money) against the target goal.

ComputedTargetAsOfTodayMoney_Base Double True

A system-generated expected amount in base currency for Actual (money) against the target goal.

ComputedTargetAsOfTodayPercentageAchieved Double True

A system-generated expected value for percentage achieved against the target goal.

ConsiderOnlyGoalOwnersRecords Boolean False

Indicates whether only the goal owner's records, or all records, will be rolled up.

CreatedBy_Id String True

Unique identifier of the user who created the record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomRollupFieldDecimal Double False

Placeholder rollup field for value (decimal) against the target.

CustomRollupFieldInteger Integer False

Placeholder rollup field for value (integer) against the target.

CustomRollupFieldMoney Double False

Placeholder rollup field for value (money) against the target.

CustomRollupFieldMoney_Base Double True

Placeholder rollup field for value (money) in base currency against the target.

CustomRollupFieldString String True

Placeholder rollup field for the goal.

Depth Integer True

Depth of the goal in the tree.

ExchangeRate Double True

Exchange rate between the currency associated with the entity and the base currency.

FiscalPeriod String False

Fiscal period for the goal.

FiscalYear String False

Fiscal year for the goal.

GoalEndDate Datetime False

End date for the goal period.

GoalId String False

Unique identifier of the goal.

GoalOwnerId_Id String False

Unique identifier of the user or team who needs to meet the goal.

GoalOwnerId_LogicalName String False

GoalOwnerId_Name String False

GoalStartDate Datetime False

Start date for the goal period.

GoalWithErrorId_Id String False

Unique identifier of the goal that caused an error in the rollup of the goal hierarchy.

GoalWithErrorId_LogicalName String False

GoalWithErrorId_Name String False

ImportSequenceNumber Integer False

Sequence number of the import that created this record.

InProgressDecimal Double False

In-progress value (decimal) against the target.

InProgressInteger Integer False

In-progress value (integer) against the target.

InProgressMoney Double False

In-progress value (money) against the target.

InProgressMoney_Base Double True

In-progress value (money) in base currency against the goal.

InProgressString String True

In-progress value of the goal.

IsAmount Boolean False

Indicates whether the metric type is Count or Amount.

IsFiscalPeriodGoal Boolean False

Indicates whether the goal period is a fiscal period or a custom period.

IsOverridden Boolean False

Indicates whether the system rollup fields are updated. If set to Yes, system rollup will not update the values of the rollup fields.

IsOverride Boolean False

Indicates whether the values of system rollup fields can be updated.

LastRolledupDate Datetime False

Date and time when the data for this goal was last rolled up.

MetricId_Id String False

Unique identifier of the metric associated with the goal.

MetricId_LogicalName String False

MetricId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who modified the record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the manager of the goal.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier for the business unit that owns the record.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the goal.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier for the user who owns the record.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentGoalId_Id String False

Unique identifier of the parent goal to which the goal is connected.

ParentGoalId_LogicalName String False

ParentGoalId_Name String False

Percentage Double False

Percentage achieved against the target goal.

RollupErrorCode Integer False

Error code associated with rollup.

RollupOnlyFromChildGoals Boolean False

Indicates whether the data should be rolled up only from the child goals.

RollUpQueryActualDecimalId_Id String False

Unique identifier of the rollup query for the actual (decimal) rollup field.

RollUpQueryActualDecimalId_LogicalName String False

RollUpQueryActualDecimalId_Name String False

RollupQueryActualIntegerId_Id String False

Unique identifier of the rollup query for the actual (integer) rollup field.

RollupQueryActualIntegerId_LogicalName String False

RollupQueryActualIntegerId_Name String False

RollUpQueryActualMoneyId_Id String False

Unique identifier of the rollup query for the actual (money) rollup field.

RollUpQueryActualMoneyId_LogicalName String False

RollUpQueryActualMoneyId_Name String False

RollUpQueryCustomDecimalId_Id String False

Unique identifier of the rollup query for the custom rollup field (decimal).

RollUpQueryCustomDecimalId_LogicalName String False

RollUpQueryCustomDecimalId_Name String False

RollUpQueryCustomIntegerId_Id String False

Unique identifier of the rollup query for the custom rollup field (integer).

RollUpQueryCustomIntegerId_LogicalName String False

RollUpQueryCustomIntegerId_Name String False

RollUpQueryCustomMoneyId_Id String False

Unique identifier of the rollup query for the custom rollup field (money).

RollUpQueryCustomMoneyId_LogicalName String False

RollUpQueryCustomMoneyId_Name String False

RollUpQueryInprogressDecimalId_Id String False

Unique identifier of the rollup query for the in-progress (decimal) rollup field.

RollUpQueryInprogressDecimalId_LogicalName String False

RollUpQueryInprogressDecimalId_Name String False

RollUpQueryInprogressIntegerId_Id String False

Unique identifier of the rollup query for the in-progress (integer) rollup field.

RollUpQueryInprogressIntegerId_LogicalName String False

RollUpQueryInprogressIntegerId_Name String False

RollUpQueryInprogressMoneyId_Id String False

Unique identifier of the rollup query for the in-progress (money) rollup field.

RollUpQueryInprogressMoneyId_LogicalName String False

RollUpQueryInprogressMoneyId_Name String False

StateCode String True

Status of the goal.

StatusCode String False

Reason for the status of the goal.

StretchTargetDecimal Double False

Stretch target (decimal) of the goal.

StretchTargetInteger Integer False

Stretch target (integer) of the goal.

StretchTargetMoney Double False

Stretch target (money) of the goal.

StretchTargetMoney_Base Double True

Value of the stretch target (money) in base currency.

StretchTargetString String True

Stretch target value for all data types.

TargetDecimal Double False

Goal target of the decimal type.

TargetInteger Integer False

Goal target of the integer type.

TargetMoney Double False

Goal target of the money type.

TargetMoney_Base Double True

Goal target of the money type in base currency.

TargetString String True

Target value of the goal.

TimeZoneRuleVersionNumber Integer False

For internal use only.

Title String False

Title of the goal.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the entity.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

TreeId String True

Unique identifier of the goal tree.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

GoalRollupQuery

This is a table representing the GoalRollupQuery entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the goal rollup query.

CreatedBy_Id String True

Unique identifier of the user who created the record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

FetchXml String False

String that specifies the condition criteria in FetchXML.

GoalRollupQueryId String False

Unique identifier of the rollup query.

ImportSequenceNumber Integer False

Sequence number of the import that created this record.

ModifiedBy_Id String True

Unique identifier of the user who modified the record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the rollup query.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the goal rollup query.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the record.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the record.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the record.

OwningUser_LogicalName String True

OwningUser_Name String True

QueryEntityType String False

Entity type of the rollup query.

StateCode String True

Status of the goal rollup query.

StatusCode String False

Reason for the status of the goal rollup query.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Import

This is a table representing the Import entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the import job.

CreatedBy_Id String True

Unique identifier of the user who created the import job.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the import job was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the import.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EMailAddress String False

email address to send notification to.

ImportId String False

Unique identifier of the import job.

IsImport Boolean False

Information about whether the source of this import job is data import or data migration.

ModeCode String False

Information about whether to create or update records.

ModifiedBy_Id String True

Unique identifier of the user who last modified the import job.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the import job was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the import.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the import job.

OwnerId_Id String False

Unique identifier of the user or team who owns the import job.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Business unit that owns the import job.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the import.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the import.

OwningUser_LogicalName String True

OwningUser_Name String True

SendNotification Boolean False

Information about whether to send notification.

Sequence Integer True

Order in which the import was created.

StateCode String True

Status of the import job.

StatusCode String False

Reason for the status of the import job.

CData Python Connector for Microsoft Dynamics CRM

ImportData

This is a table representing the ImportData entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the import data.

CreatedBy_Id String True

Unique identifier of the user who created the import data.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the import data was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the import data.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Data String False

Data row of the import file.

ErrorType String False

Type of the import error.

HasError Boolean False

Information about whether this import data has an error.

ImportDataId String False

Unique identifier of the import data.

ImportFileId_Id String False

Unique identifier of the import file for this import data.

ImportFileId_LogicalName String False

ImportFileId_Name String False

LineNumber Integer False

Original line number of the data present in the file.

ModifiedBy_Id String True

Unique identifier of the user who last modified the import data.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the import data was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the import data.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerId_Id String False

Unique identifier of the user or team who owns the import data.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Business unit that owns the import data.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the import data.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the import data.

OwningUser_LogicalName String True

OwningUser_Name String True

RecordId String False

Unique identifier of the record.

StateCode String True

Status of the import data.

StatusCode String False

Reason for the status of the import data.

CData Python Connector for Microsoft Dynamics CRM

ImportEntityMapping

This is a table representing the ImportEntityMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the import entity mapping.

CreatedBy_Id String True

Unique identifier of the user who created the import entity mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the import entity mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the importentitymapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DeDupe String False

Information about whether the entity needs to be processed to find and delete duplicate records.

ImportEntityMappingId String False

Unique identifier of the import entity mapping.

ImportMapId_Id String False

Unique identifier of the associated data map.

ImportMapId_LogicalName String False

ImportMapId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the import entity mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the import entity mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the importentitymapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ProcessCode String False

Information about whether the import entity mapping needs to be processed.

SourceEntityName String False

Name of the source entity.

StateCode String True

Status of the import entity mapping.

StatusCode String False

Reason for the status of the import entity mapping.

TargetEntityName String False

Name of the Microsoft Dynamics CRM entity.

CData Python Connector for Microsoft Dynamics CRM

ImportFile

This is a table representing the ImportFile entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the import file.

AdditionalHeaderRow String True

System generated heading row used for processing transformations.

CompletedOn Datetime True

Date and time when the import was completed for this import file.

Content String False

Content of the import file.

CreatedBy_Id String True

Unique identifier of the user who created the import file record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the import file was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the import file.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DataDelimiterCode String False

Single character data delimiter used in the import file.

EnableDuplicateDetection Boolean False

Information about whether duplicate detection is enabled.

FailureCount Integer True

Number of records in this file that could not be imported.

FieldDelimiterCode String False

Single character field delimiter used in the import file.

FileTypeCode String False

File type of the uploaded source file

HeaderRow String True

Header row of the import file.

ImportFileId String False

Unique identifier of the import file.

ImportId_Id String False

Unique identifier of the import job for this import file.

ImportId_LogicalName String False

ImportId_Name String False

ImportMapId_Id String False

Unique identifier of the associated data map.

ImportMapId_LogicalName String False

ImportMapId_Name String False

IsFirstRowHeader Boolean False

Information about whether the first row contains column headings.

ModifiedBy_Id String True

Unique identifier of the user who last modified the import file.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the import file was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the importfile.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the import file.

OwnerId_Id String False

Unique identifier of the user or team who owns the import file.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Business unit that owns the import file.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the import file.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the import file.

OwningUser_LogicalName String True

OwningUser_Name String True

ParsedTableColumnPrefix String True

Prefix of the column in the parsed table.

ParsedTableColumnsNumber Integer True

Total number of columns present in the parsed table.

ParsedTableName String True

Name of the table that contains the parsed data of the import file.

PartialFailureCount Integer True

Number of records in this file that had failures in updating.

ProcessCode String False

Information about whether the import file needs to be processed.

ProcessingStatus String True

Detailed status showing how much the import file has been processed.

ProgressCounter Integer True

Indicates how much of a particular operation has been completed. Used when resuming a paused import job.

RecordsOwnerId_Id String False

Unique identifier of the owner to whom records imported from this file are assigned.

RecordsOwnerId_LogicalName String False

RecordsOwnerId_Name String False

RelatedEntityColumns String False

Related Entity Columns

Size String False

Size of the import file.

Source String False

Source of the import file.

SourceEntityName String False

Name of the source entity.

StateCode String True

Status of the import file.

StatusCode String False

Reason for the status of the import file.

SuccessCount Integer True

Number of records in this file that were imported successfully.

TargetEntityName String False

Name of the Microsoft Dynamics CRM entity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TotalCount Integer True

Number of records processed in this file.

UseSystemMap Boolean False

Information about whether to use the system map.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ImportJob

This is a table representing the ImportJob entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the import job.

CompletedOn Datetime True

Date and time when the import job was completed.

CreatedBy_Id String True

Unique identifier of the user who created the importJob.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the import job record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the import job record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Data String False

Unstructured data associated with the import job.

ImportJobId String False

Unique identifier of the import job.

ModifiedBy_Id String True

Unique identifier of the user who modified the importJob.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the import job was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the import job record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the import job.

OrganizationId_Id String True

Unique identifier of the organization associated with the importjob.

OrganizationId_LogicalName String True

OrganizationId_Name String True

Progress Double False

Import Progress Percentage.

SolutionName String False

Unique identifier of the solution.

StartedOn Datetime True

Date and time when the import job was started.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ImportLog

This is a table representing the ImportLog entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the import log.

AdditionalInfo String False

Additional information related to the error.

ColumnValue String False

Value in the column.

CreatedBy_Id String True

Unique identifier of the user who created the import log.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the import log was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the import log.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ErrorDescription String False

Description of an error.

ErrorNumber Integer False

Error code of an error.

HeaderColumn String False

Name of the column heading.

ImportDataId_Id String False

Unique identifier of the import data for this import log.

ImportDataId_LogicalName String False

ImportDataId_Name String False

ImportFileId_Id String False

Unique identifier of the import file for this import log.

ImportFileId_LogicalName String False

ImportFileId_Name String False

ImportLogId String False

Unique identifier of the import log.

LineNumber Integer False

Original line number of the data used in this log.

LogPhaseCode String False

Phase for which the log is recorded.

ModifiedBy_Id String True

Unique identifier of the user who last modified the import log.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the import log was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the importlog.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerId_Id String False

Unique identifier of the user or team who owns the import log.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Business unit that owns the import log.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the import log.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the import log.

OwningUser_LogicalName String True

OwningUser_Name String True

SequenceNumber Integer True

Sequence number of the error in this log.

StateCode String True

Status of the import log.

StatusCode String False

Reason for the status of the import log.

CData Python Connector for Microsoft Dynamics CRM

ImportMap

This is a table representing the ImportMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the data map.

CreatedBy_Id String True

Unique identifier of the user who created the data map.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the data map was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the data map.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the data map.

EntitiesPerFile String False

Denotes if a data file can have data for one or more entity

ImportMapId String False

Unique identifier of the data map.

ImportMapType String False

Type of data map.

IsValidForImport Boolean True

Information about whether the data map is valid for use with data import.

IsWizardCreated Boolean False

Information about whether this data map was created by the Data Migration Manager.

MapCustomizations String False

Customizations XML

ModifiedBy_Id String True

Unique identifier of the user who last modified the data map.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the data map was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the data map.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the data map.

OwnerId_Id String False

Unique identifier of the user or team who owns the data map.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Business unit that owns the data map.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the data map.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the data map.

OwningUser_LogicalName String True

OwningUser_Name String True

Source String False

Name of the migration source for which this data map is used.

SourceType String False

Type of the migration source for which this data map is used.

SourceUserIdentifierForSourceCRMUserLink String False

Source user value for source Microsoft Dynamics CRM user link.

SourceUserIdentifierForSourceDataSourceUserLink String False

Column in the source file that uniquely identifies a user.

StateCode String True

Status of the data map.

StatusCode String False

Reason for the status of the data map.

TargetEntity String True

Name of the Microsoft Dynamics CRM record type for which this data map is defined.

TargetUserIdentifierForSourceCRMUserLink String False

Microsoft Dynamics CRM user.

CData Python Connector for Microsoft Dynamics CRM

Incident

This is a table representing the Incident entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the case.

AccountId_Id String True

Unique identifier of the account with which the case is associated.

AccountId_LogicalName String True

AccountId_Name String True

ActualServiceUnits Integer False

Actual number of service units provided for the case.

BilledServiceUnits Integer False

Number of service units billed for the case.

CaseOriginCode String False

Information that specifies the source of the case information, such as Web, telephone, or email.

CaseTypeCode String False

Information that specifies the type of case.

ContactId_Id String True

Unique identifier of the contact associated with the case.

ContactId_LogicalName String True

ContactId_Name String True

ContractDetailId_Id String False

Unique identifier of the specific contract line item that is referenced in the case.

ContractDetailId_LogicalName String False

ContractDetailId_Name String False

ContractId_Id String False

Unique identifier of the contract referenced in the case.

ContractId_LogicalName String False

ContractId_Name String False

ContractServiceLevelCode String False

Response level for the case. The response level corresponds to the level of service specified in the contract.

CreatedBy_Id String True

Unique identifier of the user who created the case.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the case was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the incident.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the account or contact associated with the case.

CustomerId_LogicalName String False

CustomerId_Name String False

CustomerSatisfactionCode String False

Customer's level of satisfaction with the resolution of the case.

Description String False

Description of the case.

ExchangeRate Double True

Exchange rate for the currency associated with the incident with respect to the base currency.

FollowupBy Datetime False

Date by which the customer support representative needs to follow up the case.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IncidentId String False

Unique identifier of the case.

IncidentStageCode String False

Stage of the resolution process for the case.

IsDecrementing Boolean False

Information that specifies whether the case is decrementing.

KbArticleId_Id String False

Unique identifier of the knowledge base article associated with the case.

KbArticleId_LogicalName String False

KbArticleId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the case.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the case was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the incident.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the case.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the case.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the case.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the case.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority of the case.

ProductId_Id String False

Unique identifier of the product associated with the case.

ProductId_LogicalName String False

ProductId_Name String False

ProductSerialNumber String False

Serial number of the product that is referenced in the case.

ResponsibleContactId_Id String False

Unique identifier of the contact responsible for resolving the case.

ResponsibleContactId_LogicalName String False

ResponsibleContactId_Name String False

SeverityCode String False

Severity of the case.

StateCode String True

Status of the case.

StatusCode String False

Reason for the status of the case.

SubjectId_Id String False

Unique identifier of the subject associated with the case.

SubjectId_LogicalName String False

SubjectId_Name String False

TicketNumber String False

Auto-generated case number.

TimeZoneRuleVersionNumber Integer False

For internal use only.

Title String False

Title of the case.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the incident.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

IncidentResolution

This is a table representing the IncidentResolution entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the case resolution activity.

ActivityId String False

Unique identifier of the case resolution activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the case resolution activity in minutes.

ActualEnd Datetime False

Actual end time of the case resolution activity.

ActualStart Datetime False

Actual start time of the case resolution activity.

Category String False

Category for the case resolution activity.

CreatedBy_Id String True

Unique identifier of the user who created the case resolution activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the case resolution activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the incidentresolution.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Special type of activity that includes such information as the description of the resolution, billing status, and the duration of a case.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IncidentId_Id String False

Unique identifier of the case.

IncidentId_LogicalName String False

IncidentId_Name String False

IsBilled Boolean False

Information about whether the case resolution activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information that specifies if the case resolution activity was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the case resolution activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the case resolution activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the incidentresolution.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the case resolution activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the case resolution activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the case resolution.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the case resolution.

OwningUser_LogicalName String True

OwningUser_Name String True

ScheduledDurationMinutes Integer True

Scheduled duration of the case resolution activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the case resolution activity.

ScheduledStart Datetime False

Scheduled start time of the case resolution activity.

ServiceId_Id String False

Unique identifier of the service with which the case resolution activity is associated.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the case resolution activity.

StatusCode String False

Reason for the status of the case resolution activity.

Subcategory String False

Subcategory of the case resolution activity.

Subject String False

Subject associated with the case resolution activity.

TimeSpent Integer False

Time spent on the case resolution activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

IntegrationStatus

This is a table representing the IntegrationStatus entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the integration status.

CreatedBy_Id String True

Unique identifier of the user who created the integration status.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the integration status was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the integrationstatus.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

IntegrationEntryId String False

For internal use only.

ModifiedBy_Id String True

Unique identifier of the user who last modified the integration status.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the integration status was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the integrationstatus.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ObjectId String True

For internal use only.

ObjectTypeCode String True

Type of entity with which the integration status is associated.

OrganizationId String True

Unique identifier of the organization associated with the integration status.

StateCode String False

Status of the integration.

StateDescription String False

For internal use only.

StatusCode String False

Reason for the status of the integration.

StatusDescription String False

For internal use only.

SystemName String True

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

InternalAddress

This is a table representing the InternalAddress entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the internal address.

AddressNumber Integer False

Information about which internal address is applicable.

AddressTypeCode String False

Type of address for the internal address.

City String False

City name in the internal address.

Country String False

Country/region name in the internal address.

County String False

County name in the internal address.

CreatedBy_Id String True

Unique identifier of the user who created the internal address record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the internal address was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the internal address.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Fax String False

Fax number for the internal address.

InternalAddressId String False

Unique identifier of the internal address.

Latitude Double False

Latitude for the internal address.

Line1 String False

First line for entering address information.

Line2 String False

Second line for entering address information.

Line3 String False

Third line for entering address information.

Longitude Double False

Longitude for the internal address.

ModifiedBy_Id String True

Unique identifier of the user who last modified the internal address.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the internal address record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the internaladdress.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name used to identify the internal address.

ObjectTypeCode String False

Type of entity with which the internal address is associated.

ParentId String False

Unique identifier of the parent object with which the internal address is associated.

PostalCode String False

ZIP Code or postal code in the internal address.

PostOfficeBox String False

Post office box number in the internal address.

ShippingMethodCode String False

Method of shipment for the internal address.

StateOrProvince String False

State or province in the internal address.

Telephone1 String False

First telephone number for the internal address.

Telephone2 String False

Second telephone number for an internal address.

Telephone3 String False

Third telephone number for an internal address.

UPSZone String False

United Parcel Service (UPS) zone for the internal address.

UTCOffset Integer False

UTC offset for the internal address. The difference between local time and standard Coordinated Universal Time.

CData Python Connector for Microsoft Dynamics CRM

InterProcessLock

This is a table representing the InterProcessLock entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the interprocess lock record.

InterProcessLockId String False

Unique identifier of the interprocess lock record.

ModifiedOn Datetime False

Date and time when the record was last modified.

Token String False

Lock token.

CData Python Connector for Microsoft Dynamics CRM

InvalidDependency

This is a table representing the InvalidDependency entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the invalid dependency.

ExistingComponentId String True

Unique identifier of the object that has an invalid dependency

ExistingComponentType String True

Component type of the object that has an invalid dependency

ExistingDependencyType String True

The dependency type of the invalid dependency.

InvalidDependencyId String True

Unique identifier of the invalid dependency.

IsExistingNodeRequiredComponent Boolean True

Indicates whether the existing node is the required component in the dependency

MissingComponentId String False

Unique identifier of the missing component.

MissingComponentInfo String True

MissingComponentLookupType Integer True

The lookup type of the missing component.

MissingComponentType String True

The object type code of the missing component.

CData Python Connector for Microsoft Dynamics CRM

Invoice

This is a table representing the Invoice entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the invoice.

AccountId_Id String True

Unique identifier of the account with which the invoice is associated.

AccountId_LogicalName String True

AccountId_Name String True

BillTo_City String False

City name in the billing address.

BillTo_Country String False

Country/region name in the billing address.

BillTo_Fax String False

Fax number for the billing address.

BillTo_Line1 String False

First line for entering billing address information.

BillTo_Line2 String False

Second line for entering billing address information.

BillTo_Line3 String False

Third line for entering billing address information.

BillTo_Name String False

Name to enter for the billing address.

BillTo_PostalCode String False

ZIP Code or postal code in the billing address.

BillTo_StateOrProvince String False

State or province in the billing address.

BillTo_Telephone String False

Telephone number associated with the billing address.

ContactId_Id String True

Unique identifier of the contact associated with the invoice.

ContactId_LogicalName String True

ContactId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the invoice.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the invoice was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the invoice.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the account or contact associated with the invoice.

CustomerId_LogicalName String False

CustomerId_Name String False

DateDelivered Datetime False

Date all products in the invoice were delivered.

Description String False

Description of the invoice.

DiscountAmount Double False

Discount specified as a monetary amount for the invoice.

DiscountAmount_Base Double True

Base currency equivalent of the discount specified as a monetary amount for the invoice.

DiscountPercentage Double False

Discount specified as a percentage for the invoice.

DueDate Datetime False

Date by which the invoice needs to be paid.

ExchangeRate Double True

Exchange rate for the currency associated with the invoice with respect to the base currency.

FreightAmount Double False

Cost of freight for the invoice.

FreightAmount_Base Double True

Base currency equivalent of the cost of freight for the invoice.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

InvoiceId String False

Unique identifier of the invoice.

InvoiceNumber String False

Invoice number.

IsPriceLocked Boolean True

Information about whether invoice pricing is locked.

LastBackofficeSubmit Datetime False

Date and time when the invoice was last submitted to Microsoft Great Plains.

ModifiedBy_Id String True

Unique identifier of the user who last modified the invoice.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the invoice was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the invoice.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the invoice.

OpportunityId_Id String False

Unique identifier of the opportunity with which the invoice is associated.

OpportunityId_LogicalName String False

OpportunityId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the invoice.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the invoice.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the invoice.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the invoice.

OwningUser_LogicalName String True

OwningUser_Name String True

PaymentTermsCode String False

Payment terms for the invoice.

PriceLevelId_Id String False

Unique identifier of the price list associated with the invoice.

PriceLevelId_LogicalName String False

PriceLevelId_Name String False

PricingErrorCode String False

Type of pricing error for the invoice.

PriorityCode String False

Priority of the invoice.

SalesOrderId_Id String False

Unique identifier of the order that is associated with the invoice.

SalesOrderId_LogicalName String False

SalesOrderId_Name String False

ShippingMethodCode String False

Method of shipment for the invoice.

ShipTo_City String False

City name in the shipping address.

ShipTo_Country String False

Country/region name in the shipping address.

ShipTo_Fax String False

Fax number for the shipping address.

ShipTo_FreightTermsCode String False

Freight terms for the shipping address.

ShipTo_Line1 String False

First line for entering shipping address information.

ShipTo_Line2 String False

Second line for entering shipping address information.

ShipTo_Line3 String False

Third line for entering shipping address information.

ShipTo_Name String False

Name to enter for the shipping address.

ShipTo_PostalCode String False

ZIP Code or postal code in the shipping address.

ShipTo_StateOrProvince String False

State or province in the shipping address.

ShipTo_Telephone String False

Telephone number associated with the shipping address.

StateCode String True

Status of the invoice.

StatusCode String False

Reason for the status of the invoice.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TotalAmount Double True

Total price for the invoice.

TotalAmount_Base Double True

Base currency equivalent of the total price for the invoice.

TotalAmountLessFreight Double True

Total price minus the freight charges for the invoice.

TotalAmountLessFreight_Base Double True

Base currency equivalent of the total price minus the freight charges for the invoice.

TotalDiscountAmount Double True

Total discount for the invoice.

TotalDiscountAmount_Base Double True

Base currency equivalent of the total discount for the invoice.

TotalLineItemAmount Double True

Total line item amount for the invoice.

TotalLineItemAmount_Base Double True

Base currency equivalent of the total line item amount for the invoice

TotalLineItemDiscountAmount Double True

Total line item discount for the invoice.

TotalLineItemDiscountAmount_Base Double True

Base currency equivalent of the total line item discount for the invoice.

TotalTax Double True

Total tax for the invoice.

TotalTax_Base Double True

Base currency equivalent of the total tax for the invoice.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the invoice.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WillCall Boolean False

Information about whether the customer will call for the invoiced products or the products are to be shipped.

CData Python Connector for Microsoft Dynamics CRM

InvoiceDetail

This is a table representing the InvoiceDetail entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the invoice product line item.

ActualDeliveryOn Datetime False

Date on which the product on the invoice is delivered.

BaseAmount Double True

Subtotal for the invoice product before discounts are applied and taxes are added.

BaseAmount_Base Double True

Base currency equivalent of the subtotal for the invoice product before discounts are applied and taxes are added.

CreatedBy_Id String True

Unique identifier of the user who created the invoice product line item.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the invoice product line item was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the invoice detail.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the invoice product line item.

ExchangeRate Double True

Exchange rate for the currency associated with the invoice detail with respect to the base currency.

ExtendedAmount Double True

Subtotal of the invoice product after discounts are applied and taxes are added.

ExtendedAmount_Base Double True

Base currency equivalent of the subtotal of the invoice product after discounts are applied and taxes are added.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

InvoiceDetailId String False

Unique identifier of the invoice product line item.

InvoiceId_Id String False

Unique identifier of the invoice associated with the invoice product line item.

InvoiceId_LogicalName String False

InvoiceId_Name String False

InvoiceIsPriceLocked Boolean True

Information about whether invoice product pricing is locked.

InvoiceStateCode String True

Status of the invoice product.

IsCopied Boolean False

Information about whether the invoice line item is copied.

IsPriceOverridden Boolean False

Information about whether to override product catalog pricing.

IsProductOverridden Boolean False

Information about whether the product is a write-in product or an existing product.

LineItemNumber Integer False

Line item number of the invoice product.

ManualDiscountAmount Double False

Customized discount amount for the invoice product line item.

ManualDiscountAmount_Base Double True

Base currency equivalent of the customized discount amount for the invoice product line item.

ModifiedBy_Id String True

Unique identifier of the user who last modified the invoice product line item.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the invoice product line item was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the invoicedetail.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the invoice detail.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the invoice product line item.

OwningUser String True

Unique identifier of the user who owns the invoice product line item.

PricePerUnit Double False

Price per unit for the invoice product line item.

PricePerUnit_Base Double True

Base currency equivalent of the price per unit for the invoice product line item.

PricingErrorCode String False

Pricing error for the invoice product line item.

ProductDescription String False

Product description for the invoice product line item.

ProductId_Id String False

Product identifier for the invoice product line item.

ProductId_LogicalName String False

ProductId_Name String False

Quantity Double False

Product quantity specified for the invoice product line item.

QuantityBackordered Double False

Product quantity that has been backordered for the invoice product line item.

QuantityCancelled Double False

Product quantity that was canceled for the invoice product line item.

QuantityShipped Double False

Product quantity shipped for the product line item specified on the invoice.

SalesRepId_Id String False

Unique identifier of the sales person associated with the invoice product line item.

SalesRepId_LogicalName String False

SalesRepId_Name String False

ShippingTrackingNumber String False

Tracking number for shipping the invoiced product line item.

ShipTo_City String False

City name in the shipping address.

ShipTo_Country String False

Country/region name in the shipping address.

ShipTo_Fax String False

Fax number for the shipping address.

ShipTo_FreightTermsCode String False

Freight terms for the shipping address.

ShipTo_Line1 String False

First line for entering shipping address information.

ShipTo_Line2 String False

Second line for entering shipping address information.

ShipTo_Line3 String False

Third line for entering shipping address information.

ShipTo_Name String False

Name to enter for the shipping address.

ShipTo_PostalCode String False

ZIP Code or postal code in the shipping address.

ShipTo_StateOrProvince String False

State or province in the shipping address.

ShipTo_Telephone String False

Telephone number associated with the shipping address.

Tax Double False

Tax amount for the invoice product line item.

Tax_Base Double True

Base currency equivalent of the tax amount for the invoice product line item.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the invoice detail.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UoMId_Id String False

Unique identifier for unit that is associated with the invoice product line item.

UoMId_LogicalName String False

UoMId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

VolumeDiscountAmount Double True

Volume discount amount for the invoice product line item.

VolumeDiscountAmount_Base Double True

Base currency equivalent of the volume discount amount for the invoice product line item.

WillCall Boolean False

Information about whether the customer will call for the invoiced products or the products are to be shipped.

CData Python Connector for Microsoft Dynamics CRM

IsvConfig

This is a table representing the IsvConfig entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the ISV configuration.

ConfigXML String False

Structured XML data representing the customizations.

CreatedBy_Id String True

Unique identifier of the user who created the ISV configuration.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the ISV configuration was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the isvconfig.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

IsvConfigId String False

Unique identifier of the ISV configuration.

ModifiedBy_Id String True

Unique identifier of the user who last modified the ISV configuration.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the ISV configuration was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the ISV configuration.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId String True

Unique identifier of the organization associated with the ISV configuration XML.

CData Python Connector for Microsoft Dynamics CRM

KbArticle

This is a table representing the KbArticle entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the knowledge base article.

ArticleXml String False

XML data for the knowledge base article.

Comments String False

Comments regarding the knowledge base article.

Content String True

Description of the content of the knowledge base article.

CreatedBy_Id String True

Unique identifier of the user who created the knowledge base article.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the knowledge base article was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the article.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the knowledge base article.

ExchangeRate Double True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

KbArticleId String False

Unique identifier of the knowledge base article.

KbArticleTemplateId_Id String False

Unique identifier of the template associated with the knowledge base article.

KbArticleTemplateId_LogicalName String False

KbArticleTemplateId_Name String False

KeyWords String False

Keywords to be used for searches in knowledge base articles.

LanguageCode Integer False

Language of the Article Template

ModifiedBy_Id String True

Unique identifier of the user who last modified the knowledge base article.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the knowledge base article was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the kbarticle.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Number String True

Knowledge base article number.

OrganizationId_Id String True

Unique identifier of the organization associated with the article.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

StateCode String True

Status of the knowledge base article.

StatusCode String False

Reason for the status of the knowledge base article.

SubjectId_Id String False

Unique identifier of the subject associated with the knowledge base article.

SubjectId_LogicalName String False

SubjectId_Name String False

Title String False

Title of the knowledge base article.

TransactionCurrencyId_Id String False

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

CData Python Connector for Microsoft Dynamics CRM

KbArticleComment

This is a table representing the KbArticleComment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the knowledge base article.

CommentText String False

Comment text for the knowledge base article.

CreatedBy_Id String True

Unique identifier of the user who created the knowledge base article comment.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the knowledge base article comment was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the KB article comment.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

KbArticleCommentId String False

Unique identifier of the knowledge base article comment.

KbArticleId_Id String False

Unique identifier of the knowledge base article to which the comment applies.

KbArticleId_LogicalName String False

KbArticleId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the knowledge base article comment.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the knowledge base article comment was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the kbarticlecomment.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId String True

Unique identifier of the organization with which the article comment is associated.

Title String False

Title of the knowledge base article comment.

CData Python Connector for Microsoft Dynamics CRM

KbArticleTemplate

This is a table representing the KbArticleTemplate entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the knowledge base article template.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the knowledge base article template.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the knowledge base article template was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the kbarticletemplate.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the knowledge base article template.

FormatXml String False

XML format of the knowledge base article template.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsActive Boolean False

Information about whether the knowledge base article is active.

IsManaged Boolean True

KbArticleTemplateId String False

Unique identifier of the knowledge base article template.

KbArticleTemplateIdUnique String True

For internal use only.

LanguageCode Integer False

Language of the Article Template

ModifiedBy_Id String True

Unique identifier of the user who last modified the knowledge base article template.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the knowledge base article template was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the kbarticletemplate.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the template.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OverwriteTime Datetime True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

StructureXml String False

XML structure of the knowledge base article.

Title String False

Title of the knowledge base article template.

CData Python Connector for Microsoft Dynamics CRM

Lead

This is a table representing the Lead entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the lead.

AccountId_Id String True

Unique identifier of the account with which the lead is associated.

AccountId_LogicalName String True

AccountId_Name String True

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2, such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

CampaignId_Id String False

Unique identifier of the source campaign associated with the lead.

CampaignId_LogicalName String False

CampaignId_Name String False

CompanyName String False

Name of the company with which the lead is associated.

ContactId_Id String True

Unique identifier of the contact with which the lead is associated.

ContactId_LogicalName String True

ContactId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the lead.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the lead was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the lead.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier for the account or contact associated with the lead.

CustomerId_LogicalName String False

CustomerId_Name String False

Description String False

Description of the lead.

DoNotBulkEMail Boolean False

Information about whether to allow sending direct email to the lead.

DoNotEMail Boolean False

Information about whether to allow sending email to the lead.

DoNotFax Boolean False

Information about whether to allow sending fax transmittals to the lead.

DoNotPhone Boolean False

Information about whether to allow phone calls to the lead.

DoNotPostalMail Boolean False

Information about whether to allow sending postal mail to the lead.

DoNotSendMM Boolean False

Information regarding whether to allow sending marketing mail to the lead.

EMailAddress1 String False

First email address for the lead.

EMailAddress2 String False

Second email address for the lead.

EMailAddress3 String False

Third email address for the lead.

EstimatedAmount Double False

Estimated value of the opportunity that was generated from the lead.

EstimatedAmount_Base Double True

Base currency equivalent of the estimated value of the opportunity that was generated from the lead.

EstimatedCloseDate Datetime False

Estimated date on which the opportunity that was generated from the lead is expected to close.

EstimatedValue Double False

Estimated value of the opportunity that was generated from the lead.

ExchangeRate Double True

Exchange rate for the currency associated with the lead with respect to the base currency.

Fax String False

Fax number for the lead.

FirstName String False

First name for the lead.

FullName String True

Full name for the lead.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IndustryCode String False

Type of industry with which the company or organization of the lead is associated.

JobTitle String False

Job title of the lead.

LastName String False

Last name for the lead.

LastUsedInCampaign Datetime False

Date and time when the lead was last contacted as a part of a marketing campaign.

LeadId String False

Unique identifier of the lead.

LeadQualityCode String False

Quality of the lead, such as hot, warm, or cold.

LeadSourceCode String False

Source of the lead.

MasterId_Id String True

Unique identifier of the master lead for merge.

MasterId_LogicalName String True

MasterId_Name String True

Merged Boolean True

Information regarding whether the account has been merged with a master lead.

MiddleName String False

Middle name for the lead.

MobilePhone String False

Mobile phone number for the lead.

ModifiedBy_Id String True

Unique identifier of the user who last modified the lead.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the lead was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the lead.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NumberOfEmployees Integer False

Number of employees at the lead's company.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the lead record.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the lead.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the lead.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the lead.

OwningUser_LogicalName String True

OwningUser_Name String True

Pager String False

Pager number for the lead.

ParticipatesInWorkflow Boolean False

Information about whether the lead participates in workflow rules.

PreferredContactMethodCode String False

Preferred contact method for the lead.

PriorityCode String False

Priority of the lead.

Revenue Double False

Revenue amount for the lead.

Revenue_Base Double True

Base currency equivalent of the revenue amount for the lead.

SalesStageCode String False

Current stage of the sales process for the lead.

Salutation String False

Salutation for correspondence with the lead.

SIC String False

Standard Industrial Classification (SIC) code for the lead.

StateCode String True

Status of the lead.

StatusCode String False

Reason for the status of the lead.

Subject String False

Subject associated with the lead.

Telephone1 String False

First telephone number for the lead.

Telephone2 String False

Second telephone number for the lead.

Telephone3 String False

Third telephone number for the lead.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the lead.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WebSiteUrl String False

Web site URL for the lead.

YomiCompanyName String False

Name of the company with which the lead is associated.

YomiFirstName String False

Hiragana or Katakana phonetic guide for the lead first name, used for Yomi sorting.

YomiFullName String True

Hiragana or Katakana phonetic guide for the lead full name, used for Yomi sorting.

YomiLastName String False

Hiragana or Katakana phonetic guide for the lead last name, used for Yomi sorting.

YomiMiddleName String False

Hiragana or Katakana phonetic guide for the lead middle name, used for Yomi sorting.

CData Python Connector for Microsoft Dynamics CRM

LeadAddress

This is a table representing the LeadAddress entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the lead address.

AddressNumber Integer False

Information about the address for the lead.

AddressTypeCode String False

Type of address for the lead address.

City String False

City name in the address for the lead.

Country String False

Country/region name in the address for the lead.

County String False

County name in the address for the lead.

CreatedBy_Id String True

Unique identifier of the user who created the lead address.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the lead address was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the leadaddress.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ExchangeRate Double True

Exchange rate for the currency associated with the leadaddress with respect to the base currency.

Fax String False

Fax number for the address for the lead.

Latitude Double False

Latitude for the address for the lead.

LeadAddressId String False

Unique identifier of the lead address.

Line1 String False

First line for entering address information.

Line2 String False

Second line for entering address information.

Line3 String False

Third line for entering address information.

Longitude Double False

Longitude for the address for the lead.

ModifiedBy_Id String True

Unique identifier of the user who last modified the lead address.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the lead address was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the leadaddress.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name used to identify the lead address.

ParentId_Id String False

Unique identifier of the parent object with which the lead address is associated.

ParentId_LogicalName String False

ParentId_Name String False

PostalCode String False

ZIP Code or postal code in the address for the lead.

PostOfficeBox String False

Post office box number in the address for the lead.

ShippingMethodCode String False

Method of shipment for the lead.

StateOrProvince String False

State or province in the address for the lead.

Telephone1 String False

First telephone number for the lead address.

Telephone2 String False

Second telephone number for the lead address.

Telephone3 String False

Third telephone number for the lead address.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the leadaddress.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UPSZone String False

United Parcel Service (UPS) zone for the address of the lead.

UTCOffset Integer False

UTC offset for the lead address. This is the difference between local time and standard Coordinated Universal Time.

CData Python Connector for Microsoft Dynamics CRM

LeadCompetitors

This is a table representing the LeadCompetitors entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the lead competitor.

CompetitorId String True

LeadCompetitorId String False

Unique identifier of the lead competitor.

LeadId String True

CData Python Connector for Microsoft Dynamics CRM

LeadProduct

This is a table representing the LeadProduct entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the lead product.

LeadId String True

LeadProductId String False

Unique identifier of the lead product.

ProductId String True

CData Python Connector for Microsoft Dynamics CRM

Letter

This is a table representing the Letter entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the letter activity.

ActivityId String False

Unique identifier of the letter activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the letter activity in minutes.

ActualEnd Datetime False

Actual end time of the letter activity.

ActualStart Datetime False

Actual start time of the letter activity.

Address String False

Address for the letter.

bcc_Ids String False

Blind carbon copy (BCC) recipient of the letter.

bcc_LogicalNames String False

bcc_Names String False

Category String False

Category of the letter.

cc_Ids String False

Carbon copy (CC) recipient of the letter.

cc_LogicalNames String False

cc_Names String False

CreatedBy_Id String True

Unique identifier of the user who created the letter activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the letter activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the letter.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the letter activity.

DirectionCode Boolean False

Direction code for the letter: incoming or outgoing.

ExchangeRate Double True

Exchange rate for the currency associated with the letter with respect to the base currency.

from_Ids String False

Who the letter is from.

from_LogicalNames String False

from_Names String False

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information regarding whether the letter activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Indication of whether the letter activity was created by a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the letter activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the letter activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the letter.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the letter activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the letter activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the letter activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user that owns the letter activity.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority code of the letter.

RegardingObjectId_Id String False

Unique identifier of the object with which the letter activity is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the letter activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the letter activity.

ScheduledStart Datetime False

Scheduled start time of the letter activity.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the letter activity.

StatusCode String False

Reason for the status of the letter activity.

Subcategory String False

Subcategory of the letter activity.

Subject String False

Subject associated with the letter activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

to_Ids String False

Who the letter is sent to.

to_LogicalNames String False

to_Names String False

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the letter.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

License

This is a table representing the License entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the license.

InstalledOn Datetime False

Date and time when the license was installed.

LicenseId String False

Unique identifier of the license.

LicenseKey String False

Key for the license.

LicenseType String False

Type of license, such as Professional, Standard, or Suite.

OrganizationId_Id String True

Unique identifier of the organization associated with the license.

OrganizationId_LogicalName String True

OrganizationId_Name String True

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

List

This is a table representing the List entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the marketing list.

Cost Double False

Cost of the marketing list.

Cost_Base Double True

Base currency equivalent of the cost of the marketing list.

CreatedBy_Id String True

Unique Identifier of the user who created the marketing list.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedFromCode String False

Information about how the marketing list was created. Restricts the type of objects that can be added to the list.

CreatedOn Datetime True

Date and time when the marketing list was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the list.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the marketing list.

DoNotSendOnOptOut Boolean False

Information about whether to send marketing material to list members that prohibit sending of marketing material.

ExchangeRate Double True

Exchange rate for the currency associated with the list with respect to the base currency.

IgnoreInactiveListMembers Boolean False

Information about whether to ignore inactive marketing list members during propagation/execution.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

LastUsedOn Datetime True

Date and time when the list was last used in a campaign, to create activities, or to create opportunities.

ListId String False

Unique identifier of the marketing list.

ListName String False

User-defined name of the marketing list.

LockStatus Boolean False

Indicates whether the marketing list is locked.

MemberCount Integer True

Total number of members in the marketing list.

MemberType Integer False

Type of the members that can be stored in the marketing list.

ModifiedBy_Id String True

Unique identifier of the user who last modified the marketing list.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the marketing list was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the list.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the marketing list.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the marketing list.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the marketing list.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the marketing list.

OwningUser_LogicalName String True

OwningUser_Name String True

Purpose String False

Reason why the marketing list was created.

Query String False

Query used for retrieving members of marketing list.

Source String False

Source of the marketing list.

StateCode String True

Status of the marketing list.

StatusCode String False

Reason for the status of the marketing list.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the list.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

Type Boolean False

Type of marketing list (Static or Dynamic).

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ListMember

This is a table representing the ListMember entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the list member.

CreatedBy_Id String True

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

CreatedOnBehalfBy_Id String True

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EntityId_Id String False

EntityId_LogicalName String False

EntityId_Name String False

EntityType Integer False

ListId_Id String False

ListId_LogicalName String False

ListId_Name String False

ListMemberId String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the list member.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the list member was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the listmember.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerId_Id String True

Unique identifier of the user or team who owns the list member.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

OwningUser String True

CData Python Connector for Microsoft Dynamics CRM

LookUpMapping

This is a table representing the LookUpMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the lookup mapping.

ColumnMappingId_Id String False

Unique identifier of the column mapping with which this lookup mapping is associated.

ColumnMappingId_LogicalName String False

ColumnMappingId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the lookup mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the lookup mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the lookupmapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

LookUpAttributeName String False

Name of the field with which the lookup is associated.

LookUpEntityName String False

Name of the entity with which the lookup is associated.

LookUpMappingId String False

Unique identifier of the lookup mapping.

LookUpSourceCode String False

Lookup source code for lookup mapping.

ModifiedBy_Id String True

Unique identifier of the user who last modified the lookup mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the lookup mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the lookupmapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ProcessCode String False

Information about whether the lookup mapping has to be processed.

StateCode String True

Status of the lookup mapping.

StatusCode String False

Reason for the status of the lookup mapping.

TransformationParameterMappingId_Id String False

Unique identifier of the transformation parameter mapping with which this lookup mapping is associated.

TransformationParameterMappingId_LogicalName String False

TransformationParameterMappingId_Name String False

CData Python Connector for Microsoft Dynamics CRM

MailMergeTemplate

This is a table representing the MailMergeTemplate entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the mail merge template.

Body String False

Body text of the mail merge template.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the mail merge template.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the mail merge template was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the mailmergetemplate.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DefaultFilter String False

Default data fields associated with the mail merge template.

Description String False

Description of the mail merge template.

DocumentFormat String False

Version of the Microsoft Office Word XML format used by the template.

ExchangeRate Double True

Exchange rate for the currency associated with the mailmergetemplate with respect to the base currency.

FileName String False

File name of the mail merge template.

FileSize Integer True

File size of the mail merge template.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

IsPersonal Boolean False

Information about whether the mail merge template is personal or is available to all users.

LanguageCode Integer False

Language of the mail merge template.

MailMergeTemplateId String False

Unique identifier of the mail merge template.

MailMergeTemplateIdUnique String True

For internal use only.

MailMergeType String False

Drop-down list for selecting the type of the mail merge.

MimeType String False

MIME type of the mail merge template.

ModifiedBy_Id String True

Unique identifier of the user who last modified the mail merge template.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the mail merge template was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the mailmergetemplate.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the mail merge template.

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String False

Unique identifier of the user or team who owns the mail merge template.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the mail merge template.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the mail merge template.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the mail merge template.

OwningUser_LogicalName String True

OwningUser_Name String True

ParameterXml String True

Parameter Xml.

SolutionId String True

Unique identifier of the associated solution.

StateCode String True

Status of the mail merge template.

StatusCode String False

Reason for the status of the mail merge template.

TemplateTypeCode String False

Type of mail merge template.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the mailmergetemplate.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Metric

This is a table representing the Metric entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the goal metric.

AmountDataType String False

Data type of the amount.

CreatedBy_Id String True

Unique identifier of the user who created the record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the goal metric.

ImportSequenceNumber Integer False

Sequence number of the import that created this record.

IsAmount Boolean False

Information that indicates whether the metric type is Count or Amount.

IsStretchTracked Boolean False

Indicates whether the goal metric tracks stretch targets.

MetricId String False

Unique identifier of the goal metric.

ModifiedBy_Id String True

Unique identifier of the user who modified the record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the goal metric.

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

StateCode String True

Status of the goal metric.

StatusCode String False

Reason for the status of the goal metric.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

MonthlyFiscalCalendar

This is a table representing the MonthlyFiscalCalendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the monthly fiscal calendar.

BusinessUnitId_Id String True

BusinessUnitId_LogicalName String True

BusinessUnitId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the fiscal calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quota for the monthly fiscal calendar was modified.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the MonthlyFiscalCalendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EffectiveOn Datetime False

Date and time when the monthly fiscal calendar sales quota takes effect.

ExchangeRate Double True

Exchange rate for the currency associated with the monthly fiscal calendar with respect to the base currency.

FiscalPeriodType Integer True

Type of fiscal period used in the sales quota.

ModifiedBy_Id String True

Unique identifier of the user who last modified the quota for the monthly fiscal calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the quota for the monthly fiscal calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the MonthlyFiscalCalendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

month1 Double False

Sales quota for the first month in the fiscal year.

month1_base Double True

Base currency equivalent of the sales quota for the first month in the fiscal year.

month10 Double False

Sales quota for the tenth month in the fiscal year.

month10_base Double True

Base currency equivalent of the sales quota for the tenth month in the fiscal year.

month11 Double False

Sales quota for the eleventh month in the fiscal year.

month11_base Double True

Base currency equivalent of the sales quota for the eleventh month in the fiscal year.

month12 Double False

Sales quota for the twelfth month in the fiscal year.

month12_base Double True

Base currency equivalent of the sales quota for the twelfth month in the fiscal year.

month2 Double False

Sales quota for the second month in the fiscal year.

month2_base Double True

Base currency equivalent of the sales quota for the second month in the fiscal year.

month3 Double False

Sales quota for the third month in the fiscal year.

month3_base Double True

Base currency equivalent of the sales quota for the third month in the fiscal year.

month4 Double False

Sales quota for the fourth month in the fiscal year.

month4_base Double True

Base currency equivalent of the sales quota for the fourth month in the fiscal year.

month5 Double False

Sales quota for the fifth month in the fiscal year.

month5_base Double True

Base currency equivalent of the sales quota for the fifth month in the fiscal year.

month6 Double False

Sales quota for the sixth month in the fiscal year.

month6_base Double True

Base currency equivalent of the sales quota for the sixth month in the fiscal year.

month7 Double False

Sales quota for the seventh month in the fiscal year.

month7_base Double True

Base currency equivalent of the sales quota for the seventh month in the fiscal year.

month8 Double False

Sales quota for the eighth month in the fiscal year.

month8_base Double True

Base currency equivalent of the sales quota for the eighth month in the fiscal year.

month9 Double False

Sales quota for the ninth month in the fiscal year.

month9_base Double True

Base currency equivalent of the sales quota for the ninth month in the fiscal year.

SalesPersonId_Id String False

Unique identifier of the associated salesperson.

SalesPersonId_LogicalName String False

SalesPersonId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the monthly fiscal calendar.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UserFiscalCalendarId String False

Unique identifier of the monthly fiscal calendar.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Notification

This is a table representing the Notification entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the notification.

CreatedOn Datetime True

For internal use only.

CreatedOnString String True

For internal use only.

EventData String False

For internal use only.

EventId Integer False

For internal use only.

NotificationId String False

For internal use only.

NotificationNumber Integer True

For internal use only.

OrganizationId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

Opportunity

This is a table representing the Opportunity entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the opportunity.

AccountId_Id String True

Unique identifier of the account with which the opportunity is associated.

AccountId_LogicalName String True

AccountId_Name String True

ActualCloseDate Datetime False

Date when the opportunity was closed.

ActualValue Double False

Actual revenue for the opportunity.

ActualValue_Base Double True

Base currency equivalent of the actual revenue for the opportunity.

CampaignId_Id String False

Unique identifier for the source campaign associated with the opportunity.

CampaignId_LogicalName String False

CampaignId_Name String False

CloseProbability Integer False

Likelihood of closing the opportunity.

ContactId_Id String True

Unique identifier of the contact associated with the opportunity.

ContactId_LogicalName String True

ContactId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the opportunity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the opportunity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the opportunity.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the account or contact associated with the opportunity.

CustomerId_LogicalName String False

CustomerId_Name String False

Description String False

Description of the opportunity.

DiscountAmount Double False

Discount specified as a monetary amount for the opportunity.

DiscountAmount_Base Double True

Base currency equivalent of the discount specified as a monetary amount for the opportunity.

DiscountPercentage Double False

Discount specified as a percentage for the opportunity.

EstimatedCloseDate Datetime False

Estimated date on which the opportunity is expected to close.

EstimatedValue Double False

Estimated value of the opportunity.

EstimatedValue_Base Double True

Base currency equivalent of the estimated value of the opportunity.

ExchangeRate Double True

Exchange rate for the currency associated with the opportunity with respect to the base currency.

FreightAmount Double False

Cost of freight for the opportunity.

FreightAmount_Base Double True

Base currency equivalent of the cost of freight for the opportunity

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsRevenueSystemCalculated Boolean False

Specifies whether estimated revenue is to be calculated by the system or provided by the user.

ModifiedBy_Id String True

Unique identifier of the user who last modified the opportunity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the opportunity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the opportunity.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the opportunity.

OpportunityId String False

Unique identifier of the opportunity.

OpportunityRatingCode String False

Quality of the opportunity, such as hot.

OriginatingLeadId_Id String False

Unique identifier of the lead that originated the opportunity.

OriginatingLeadId_LogicalName String False

OriginatingLeadId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the opportunity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the opportunity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the opportunity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the opportunity.

OwningUser_LogicalName String True

OwningUser_Name String True

ParticipatesInWorkflow Boolean False

Information about whether the opportunity participates in workflow rules.

PriceLevelId_Id String False

Unique identifier of the price list associated with the opportunity.

PriceLevelId_LogicalName String False

PriceLevelId_Name String False

PricingErrorCode String False

Pricing error for the opportunity.

PriorityCode String False

Priority of the opportunity.

SalesStageCode String False

Customizable code that represents the current stage of an opportunity in a manual sales process. Designed to support manual sales processes upgraded from earlier versions of Microsoft Dynamics CRM.

StateCode String True

Status of the opportunity.

StatusCode String False

Reason for the status of the opportunity.

StepId String False

Unique identifier of the step in the sales process.

StepName String False

Current phase in the sales pipeline for the opportunity. Designed to be updated by using workflows.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TotalAmount Double True

Total amount for the opportunity.

TotalAmount_Base Double True

Base currency equivalent of the total amount for the opportunity.

TotalAmountLessFreight Double True

Total amount minus the freight charges for the opportunity.

TotalAmountLessFreight_Base Double True

Base currency equivalent of the total amount minus the freight charges for the opportunity.

TotalDiscountAmount Double True

Total discount for the opportunity.

TotalDiscountAmount_Base Double True

Base currency equivalent of the total discount for the opportunity.

TotalLineItemAmount Double True

Total line item amount for the opportunity.

TotalLineItemAmount_Base Double True

Base currency equivalent of the total line item amount for the opportunity.

TotalLineItemDiscountAmount Double True

Total line item discount for the opportunity.

TotalLineItemDiscountAmount_Base Double True

Base currency equivalent of the total line item discount for the opportunity.

TotalTax Double True

Total tax for the opportunity.

TotalTax_Base Double True

Base currency equivalent of the total tax for the opportunity.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the opportunity.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

OpportunityClose

This is a table representing the OpportunityClose entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the opportunity closed.

ActivityId String False

Unique identifier of the opportunity close activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the opportunity close activity in minutes.

ActualEnd Datetime False

Actual end time of the opportunity close activity.

ActualRevenue Double False

Actual revenue generated for the opportunity.

ActualRevenue_Base Double True

Base currency equivalent of the actual revenue generated for the opportunity.

ActualStart Datetime False

Actual start time of the opportunity close activity.

Category String False

Category of the opportunity close activity.

CompetitorId_Id String False

Unique identifier of the competitor with which the opportunity close activity is associated.

CompetitorId_LogicalName String False

CompetitorId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the opportunity close activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the opportunity close activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the opportunityclose.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Activity that is created automatically when an opportunity is closed, containing information such as the description of the closing and actual revenue.

ExchangeRate Double True

Exchange rate for the currency associated with the opportunity close activity with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information about whether the opportunity close activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information that specifies if the opportunity close activity was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the opportunity close activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the opportunity close activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the opportunityclose.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OpportunityId_Id String False

Unique identifier of the opportunity closed.

OpportunityId_LogicalName String False

OpportunityId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the opportunity close activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the opportunity close activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the opportunity close activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the opportunity close activity.

OwningUser_LogicalName String True

OwningUser_Name String True

ScheduledDurationMinutes Integer True

Scheduled duration of the opportunity close activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the opportunity close activity.

ScheduledStart Datetime False

Scheduled start time of the opportunity close activity.

ServiceId_Id String False

Unique identifier of the service with which the opportunity close activity is associated.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the opportunity close activity.

StatusCode String False

Reason for the status of the opportunity close activity.

Subcategory String False

Subcategory of the opportunity close activity.

Subject String False

Subject associated with the opportunity close activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the opportunity close.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

OpportunityCompetitors

This is a table representing the OpportunityCompetitors entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the opportunity competitor.

CompetitorId String True

OpportunityCompetitorId String False

Unique identifier of the opportunity competitor.

OpportunityId String True

CData Python Connector for Microsoft Dynamics CRM

OpportunityProduct

This is a table representing the OpportunityProduct entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the opportunity product.

BaseAmount Double True

Subtotal for the opportunity product before discounts are applied and taxes are added.

BaseAmount_Base Double True

Base currency equivalent of the subtotal for the opportunity product before discounts are applied and taxes are added.

CreatedBy_Id String True

Unique identifier of the user who created the opportunity product.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the opportunity product was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the opportunity product.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the opportunity product.

ExchangeRate Double True

Exchange rate for the currency associated with the opportunity product with respect to the base currency.

ExtendedAmount Double True

Subtotal of the opportunity product after discounts are applied and taxes are added.

ExtendedAmount_Base Double True

Base currency equivalent of the subtotal of the opportunity product after discounts are applied and taxes are added.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsPriceOverridden Boolean False

Specifies whether to override product catalog pricing.

IsProductOverridden Boolean False

Specifies whether the product is a write-in product or an existing product.

LineItemNumber Integer False

Line item number for the opportunity product.

ManualDiscountAmount Double False

Customized discount amount for the opportunity product.

ManualDiscountAmount_Base Double True

Base currency equivalent of the customized discount amount for the opportunity product.

ModifiedBy_Id String True

Unique identifier of the user who last modified the opportunity product.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the opportunity product was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the opportunity product.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OpportunityId_Id String False

Unique identifier of the opportunity with which the opportunity product is associated.

OpportunityId_LogicalName String False

OpportunityId_Name String False

OpportunityProductId String False

Unique identifier of the opportunity product.

OpportunityStateCode String True

Status of the opportunity product.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the opportunity product.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the opportunity product.

OwningUser String True

Unique identifier of the user who owns the opportunity product.

PricePerUnit Double False

Price per unit for the opportunity product.

PricePerUnit_Base Double True

Base currency equivalent of the price per unit for the opportunity product.

PricingErrorCode String False

Pricing error for the opportunity product.

ProductDescription String False

Product description for the opportunity product.

ProductId_Id String False

Unique identifier of the product listed for the opportunity product.

ProductId_LogicalName String False

ProductId_Name String False

Quantity Double False

Product quantity specified for the opportunity product.

Tax Double False

Tax amount for the opportunity product.

Tax_Base Double True

Base currency equivalent of the tax amount for the opportunity product.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the opportunity product.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UoMId_Id String False

Unique identifier of the unit that is associated with the opportunity product.

UoMId_LogicalName String False

UoMId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

VolumeDiscountAmount Double True

Volume discount amount for the opportunity product.

VolumeDiscountAmount_Base Double True

Base currency equivalent of the volume discount amount for the opportunity product.

CData Python Connector for Microsoft Dynamics CRM

OptionSetInfo

Gets basic information about the OptionSet values available for a given table and displays the mapping of OptionSet string values to OptionSet int values.

Columns

Name Type ReadOnly Description
TableName [KEY] String False

The table to retrieve information about. This must be specified as an input.

ColumnName [KEY] String False

The internal name of the column.

DisplayName String False

The column name.

OptionSetString String False

A string value for the OptionSet column.

OptionSetInt [KEY] Integer False

A int value for the OptionSet column.

DataType String True

The system data type for the column.

DataSourceDataType String True

The Dynamics CRM data type for the column before conversion to the system data type.

Description String True

A description for the column if available.

IsReadOnly Boolean True

Boolean determining if the column is read-only or not.

CData Python Connector for Microsoft Dynamics CRM

OrderClose

This is a table representing the OrderClose entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the order close activity.

ActivityId String False

Unique identifier of the order close activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the order close activity in minutes.

ActualEnd Datetime False

Actual end time of the order close activity.

ActualStart Datetime False

Actual start time of the order close activity.

Category String False

Category of the order close activity.

CreatedBy_Id String True

Unique identifier of the user who created the order close activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the order close activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the orderclose.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Activity generated automatically when an order is closed.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information about whether the order close activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information that specifies if the order close activity was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the order close activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the order close activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the orderclose.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrderNumber String False

Order number.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the order close activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the order close activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the order close activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the order close activity.

OwningUser_LogicalName String True

OwningUser_Name String True

Revision Integer False

Order revision number.

SalesOrderId_Id String False

Unique identifier of the order with which the order close activity is associated.

SalesOrderId_LogicalName String False

SalesOrderId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the order close activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the order close activity.

ScheduledStart Datetime False

Scheduled start time of the order close activity.

ServiceId_Id String False

Unique identifier of the service with which the order close activity is associated.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the order close activity.

StatusCode String False

Reason for the status of the order close activity.

Subcategory String False

Subcategory of the order close activity.

Subject String False

Subject associated with the order close activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Organization

This is a table representing the Organization entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the organization.

AcknowledgementTemplateId_Id String False

Unique identifier of the template to be used for acknowledgement when a user unsubscribes.

AcknowledgementTemplateId_LogicalName String False

AcknowledgementTemplateId_Name String False

AllowAddressBookSyncs Boolean False

Indicates whether background address book synchronization in Microsoft Office Outlook is allowed.

AllowAutoResponseCreation Boolean False

Indicates whether automatic response creation is allowed.

AllowAutoUnsubscribe Boolean False

Indicates whether automatic unsubscribe is allowed.

AllowAutoUnsubscribeAcknowledgement Boolean False

Indicates whether automatic unsubscribe acknowledgement email is allowed to send.

AllowClientMessageBarAd Boolean False

Indicates whether Outlook Client message bar advertisement is allowed.

AllowEntityOnlyAudit Boolean False

Indicates whether auditing of changes to entity is allowed when no attributes have changed.

AllowMarketingEmailExecution Boolean False

Indicates whether marketing emails execution is allowed.

AllowOfflineScheduledSyncs Boolean False

Indicates whether background offline synchronization in Microsoft Office Outlook is allowed.

AllowOutlookScheduledSyncs Boolean False

Indicates whether scheduled synchronizations to Outlook are allowed.

AllowUnresolvedPartiesOnEmailSend Boolean False

Indicates whether users are allowed to send email to unresolved parties (parties must still have an email address).

AllowWebExcelExport Boolean False

Indicates whether Web-based export of grids to Microsoft Office Excel is allowed.

AMDesignator String False

AM designator to use throughout Microsoft Dynamics CRM.

BaseCurrencyId_Id String False

Unique identifier of the base currency of the organization.

BaseCurrencyId_LogicalName String False

BaseCurrencyId_Name String False

BaseCurrencyPrecision Integer True

Number of decimal places that can be used for the base currency.

BaseCurrencySymbol String True

Symbol used for the base currency.

BlockedAttachments String False

Prevent upload or download of certain attachment types that are considered dangerous.

BulkOperationPrefix String False

Prefix used for bulk operation numbering.

BusinessClosureCalendarId String False

Unique identifier of the business closure calendar of organization.

CalendarType Integer False

Calendar type for the system. Set to Gregorian US by default.

CampaignPrefix String False

Prefix used for campaign numbering.

CasePrefix String False

Prefix to use for all cases throughout Microsoft Dynamics CRM.

ContractPrefix String False

Prefix to use for all contracts throughout Microsoft Dynamics CRM.

CreatedBy_Id String True

Unique identifier of the user who created the organization.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the organization was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the organization.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CurrencyDecimalPrecision Integer False

Number of decimal places that can be used for currency.

CurrencyDisplayOption String False

Indicates whether to display money fields with currency code or currency symbol.

CurrencyFormatCode String False

Information about how currency symbols are placed throughout Microsoft Dynamics CRM.

CurrencySymbol String False

Symbol used for currency throughout Microsoft Dynamics CRM.

CurrentBulkOperationNumber Integer False

Current bulk operation number.

CurrentCampaignNumber Integer False

Current campaign number.

CurrentCaseNumber Integer False

First case number to use.

CurrentContractNumber Integer False

First contract number to use.

CurrentImportSequenceNumber Integer True

Import sequence to use.

CurrentInvoiceNumber Integer False

First invoice number to use.

CurrentKbNumber Integer False

First article number to use.

CurrentOrderNumber Integer False

First order number to use.

CurrentParsedTableNumber Integer True

First parsed table number to use.

CurrentQuoteNumber Integer False

First quote number to use.

DateFormatCode String False

Information about how the date is displayed throughout Microsoft CRM.

DateFormatString String False

String showing how the date is displayed throughout Microsoft CRM.

DateSeparator String False

Character used to separate the month, the day, and the year in dates throughout Microsoft Dynamics CRM.

DecimalSymbol String False

Symbol used for decimal in Microsoft Dynamics CRM.

DefaultRecurrenceEndRangeType String False

Type of default recurrence end range date.

DisabledReason String True

Reason for disabling the organization.

EmailSendPollingPeriod Integer False

Normal polling frequency used for sending email in Microsoft Office Outlook.

EnablePricingOnCreate Boolean False

Enable pricing calculations on a Create call.

EnableSmartMatching Boolean False

Use Smart Matching.

ExpireSubscriptionsInDays Integer False

Maximum number of days before deleting inactive subscriptions.

FeatureSet String False

Features to be enabled as an XML BLOB.

FiscalCalendarStart Datetime False

Start date for the fiscal period that is to be used throughout Microsoft CRM.

FiscalPeriodFormat String False

Information that specifies how the name of the fiscal period is displayed throughout Microsoft CRM.

FiscalPeriodFormatPeriod String False

Format in which the fiscal period will be displayed.

FiscalPeriodType Integer False

Type of fiscal period used throughout Microsoft CRM.

FiscalSettingsUpdated Boolean True

Information that specifies whether the fiscal settings have been updated.

FiscalYearDisplayCode Integer False

Information that specifies whether the fiscal year should be displayed based on the start date or the end date of the fiscal year.

FiscalYearFormat String False

Information that specifies how the name of the fiscal year is displayed throughout Microsoft CRM.

FiscalYearFormatPrefix String False

Prefix for the display of the fiscal year.

FiscalYearFormatSuffix String False

Suffix for the display of the fiscal year.

FiscalYearFormatYear String False

Format for the year.

FiscalYearPeriodConnect String False

Information that specifies how the names of the fiscal year and the fiscal period should be connected when displayed together.

FullNameConventionCode String False

Order in which names are to be displayed throughout Microsoft CRM.

FutureExpansionWindow Integer False

Specifies the maximum number of months in future for which the recurring activities can be created.

GetStartedPaneContentEnabled Boolean False

Indicates whether Get Started content is enabled for this organization.

GoalRollupExpiryTime Integer False

Number of days after the goal's end date after which the rollup of the goal stops automatically.

GoalRollupFrequency Integer False

Number of hours between automatic rollup jobs .

GrantAccessToNetworkService Boolean False

For internal use only.

HashDeltaSubjectCount Integer False

Maximum difference allowed between subject keywords count of the email messaged to be correlated

HashFilterKeywords String False

Filter Subject Keywords

HashMaxCount Integer False

Maximum number of subject keywords or recipients used for correlation

HashMinAddressCount Integer False

Minimum number of recipients required to match for email messaged to be correlated

IgnoreInternalEmail Boolean False

Indicates whether incoming email sent by internal Microsoft Dynamics CRM users or queues should be tracked.

InitialVersion String False

Initial version of the organization.

IntegrationUserId String False

Unique identifier of the integration user for the organization.

InvoicePrefix String False

Prefix to use for all invoice numbers throughout Microsoft Dynamics CRM.

IsAppMode Boolean False

Indicates whether loading of Microsoft Dynamics CRM in a browser window that does not have address, tool, and menu bars is enabled.

IsAuditEnabled Boolean False

Enable or disable auditing of changes.

IsDisabled Boolean True

Information that specifies whether the organization is disabled.

IsDuplicateDetectionEnabled Boolean False

Indicates whether duplicate detection of records is enabled.

IsDuplicateDetectionEnabledForImport Boolean False

Indicates whether duplicate detection of records during import is enabled.

IsDuplicateDetectionEnabledForOfflineSync Boolean False

Indicates whether duplicate detection of records during offline synchronization is enabled.

IsDuplicateDetectionEnabledForOnlineCreateUpdate Boolean False

Indicates whether duplicate detection during online create or update is enabled.

IsFiscalPeriodMonthBased Boolean False

Indicates whether the fiscal period is displayed as the month number.

IsPresenceEnabled Boolean False

Information on whether IM presence is enabled.

IsRegistered Boolean True

For internal use only.

IsSOPIntegrationEnabled Boolean False

Enable sales order processing integration.

ISVIntegrationCode String False

Indicates whether loading of Microsoft Dynamics CRM in a browser window that does not have address, tool, and menu bars is enabled.

KbPrefix String False

Prefix to use for all articles in Microsoft Dynamics CRM.

LanguageCode Integer False

Preferred language for the organization.

LocaleId Integer False

Unique identifier of the locale of the organization.

LongDateFormatCode Integer False

Information that specifies how the Long Date format is displayed in Microsoft Dynamics CRM.

MaxAppointmentDurationDays Integer False

Maximum number of days an appointment can last.

MaximumTrackingNumber Integer False

Maximum tracking number before recycling takes place.

MaxRecordsForExportToExcel Integer False

Maximum number of records that will be exported to a static Microsoft Office Excel worksheet when exporting from the grid.

MaxRecordsForLookupFilters Integer False

Maximum number of lookup and picklist records that can be selected by user for filtering.

MaxUploadFileSize Integer False

Maximum allowed size of an attachment.

MinAddressBookSyncInterval Integer False

Normal polling frequency used for address book synchronization in Microsoft Office Outlook.

MinOfflineSyncInterval Integer False

Normal polling frequency used for background offline synchronization in Microsoft Office Outlook.

MinOutlookSyncInterval Integer False

Minimum allowed time between scheduled Outlook synchronizations.

ModifiedBy_Id String True

Unique identifier of the user who last modified the organization.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the organization was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the organization.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the organization. The name is set when Microsoft CRM is installed and should not be changed.

NegativeCurrencyFormatCode Integer False

Information that specifies how negative currency numbers are displayed throughout Microsoft Dynamics CRM.

NegativeFormatCode String False

Information that specifies how negative numbers are displayed throughout Microsoft CRM.

NextTrackingNumber Integer False

Next token to be placed on the subject line of an email message.

NumberFormat String False

Specification of how numbers are displayed throughout Microsoft CRM.

NumberGroupFormat String False

Specifies how numbers are grouped in Microsoft Dynamics CRM.

NumberSeparator String False

Symbol used for number separation in Microsoft Dynamics CRM.

OrderPrefix String False

Prefix to use for all orders throughout Microsoft Dynamics CRM.

OrganizationId String True

Unique identifier of the organization.

OrgDbOrgSettings String False

Organization settings stored in Organization Database.

ParsedTableColumnPrefix String True

Prefix used for parsed table columns.

ParsedTablePrefix String True

Prefix used for parsed tables.

PastExpansionWindow Integer False

Specifies the maximum number of months in past for which the recurring activities can be created.

Picture String False

For internal use only.

PinpointLanguageCode Integer False

PMDesignator String False

PM designator to use throughout Microsoft Dynamics CRM.

PricingDecimalPrecision Integer False

Number of decimal places that can be used for prices.

PrivilegeUserGroupId String False

Unique identifier of the default privilege for users in the organization.

PrivReportingGroupId String False

For internal use only.

PrivReportingGroupName String False

For internal use only.

QuotePrefix String False

Prefix to use for all quotes throughout Microsoft Dynamics CRM.

RecurrenceDefaultNumberOfOccurrences Integer False

Specifies the default value for number of occurrences field in the recurrence dialog.

RecurrenceExpansionJobBatchInterval Integer False

Specifies the interval (in seconds) for pausing expansion job.

RecurrenceExpansionJobBatchSize Integer False

Specifies the value for number of instances created in on demand job in one shot.

RecurrenceExpansionSynchCreateMax Integer False

Specifies the maximum number of instances to be created synchronously after creating a recurring appointment.

ReferenceSiteMapXml String False

XML string that defines the navigation structure for the application. This is the site map from the previously upgraded build and is used in a 3-way merge during upgrade.

RenderSecureIFrameForEmail Boolean False

Flag to render the body of email in the Web form in an IFRAME with the security='restricted' attribute set. This is additional security but can cause a credentials prompt.

ReportingGroupId String False

For internal use only.

ReportingGroupName String False

For internal use only.

ReportScriptErrors String False

Picklist for selecting the organization preference for reporting scripting errors.

RequireApprovalForQueueEmail Boolean False

Indicates whether Send As Other User privilege is enabled.

RequireApprovalForUserEmail Boolean False

Indicates whether Send As Other User privilege is enabled.

SampleDataImportId String False

Unique identifier of the sample data import job.

SchemaNamePrefix String False

Prefix used for custom entities and attributes.

ShareToPreviousOwnerOnAssign Boolean False

Information that specifies whether to share to previous owner on assign.

ShowWeekNumber Boolean False

Information that specifies whether to display the week number in calendar displays throughout Microsoft CRM.

SiteMapXml String False

XML string that defines the navigation structure for the application.

SortId Integer False

For internal use only.

SqlAccessGroupId String False

For internal use only.

SqlAccessGroupName String False

For internal use only.

SQMEnabled Boolean False

Setting for SQM data collection, 0 no, 1 yes enabled

SupportUserId String False

Unique identifier of the support user for the organization.

SystemUserId String False

Unique identifier of the system user for the organization.

TagMaxAggressiveCycles Integer False

Maximum number of aggressive polling cycles executed for email auto-tagging when a new email is received.

TagPollingPeriod Integer False

Normal polling frequency used for email receive auto-tagging in outlook.

TimeFormatCode String False

Information that specifies how the time is displayed throughout Microsoft CRM.

TimeFormatString String False

Text for how time is displayed in Microsoft Dynamics CRM.

TimeSeparator String False

Text for how the time separator is displayed throughout Microsoft Dynamics CRM.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TokenExpiry Integer False

Duration used for token expiration.

TrackingPrefix String False

History list of tracking token prefixes.

TrackingTokenIdBase Integer False

Base number used to provide separate tracking token identifiers to users belonging to different deployments.

TrackingTokenIdDigits Integer False

Number of digits used to represent a tracking token identifier.

UniqueSpecifierLength Integer False

Number of characters appended to invoice, quote, and order numbers.

UserGroupId String False

Unique identifier of the default group of users in the organization.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

V3CalloutConfigHash String True

Hash of the V3 callout configuration file.

WeekStartDayCode String False

Designated first day of the week throughout Microsoft Dynamics CRM.

YearStartWeekCode Integer False

Information that specifies how the first week of the year is specified in Microsoft Dynamics CRM.

CData Python Connector for Microsoft Dynamics CRM

OrganizationStatistic

This is a table representing the OrganizationStatistic entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the statistic measurement.

Hour Integer True

Hour that the statistic measurement was taken.

OrganizationStatisticId String True

Unique identifier of the record.

ServerName String True

Server that owns this record.

StatisticType Integer True

Statistic type that is being measured.

StatisticValue Integer True

Value of the statistic.

CData Python Connector for Microsoft Dynamics CRM

OrganizationUI

This is a table representing the OrganizationUI entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the organization UI entity.

ComponentState String True

For internal use only.

FieldXml String False

For internal use only.

FormId String False

Unique identifier of the record type form.

FormIdUnique String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

FormXml String False

XML representation of the form layout.

GridIcon String False

Binary representation of the icon used in record type grid views.

IsManaged Boolean True

LargeEntityIcon String False

Binary representation of the large icon used in the record type form.

ObjectTypeCode String False

Code that represents the record type.

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OutlookShortcutIcon String False

Binary representation of the large icon used in the Microsoft Dynamics CRM client for Outlook for this record type.

OverwriteTime Datetime True

For internal use only.

PreviewColumnsetXml String False

For internal use only.

PreviewXml String False

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

Version Integer False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

Owner

This is a table representing the Owner entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the owner.

Name String True

Name of the Owner.

OwnerId String False

Unique identifier for the owner: systemuserid or teamid.

OwnerIdType Integer True

YomiName String True

Pronunciation of the name of the owner, written in phonetic hiragana or katakana characters.

CData Python Connector for Microsoft Dynamics CRM

OwnerMapping

This is a table representing the OwnerMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the owner mapping.

CreatedBy_Id String True

Unique identifier of the user who created the owner mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the owner mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the ownermapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportMapId_Id String False

Unique identifier of the data map with which the owner mapping is associated.

ImportMapId_LogicalName String False

ImportMapId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the lookup mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the owner mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the ownermapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerMappingId String False

Unique identifier of the owner mapping.

ProcessCode String False

Code that indicates whether the owner mapping has to be processed

SourceSystemUserName String False

Source user name that has to be replaced

SourceUserValueForSourceCRMUserLink String False

Source user value for source Microsoft Dynamics CRM user link.

StateCode String True

Status of the owner mapping.

StatusCode String False

Reason for the status of the owner mapping.

TargetSystemUserDomainName String False

Microsoft Dynamics CRM logon name with which the source user name should be replaced.

TargetSystemUserId_Id String False

Unique identifier of the Microsoft Dynamics CRM user.

TargetSystemUserId_LogicalName String False

TargetSystemUserId_Name String False

TargetUserValueForSourceCRMUserLink String False

Microsoft Dynamics CRM user.

CData Python Connector for Microsoft Dynamics CRM

PhoneCall

This is a table representing the PhoneCall entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the phone call activity.

ActivityId String False

Unique identifier of the phone call activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the phone call activity in minutes.

ActualEnd Datetime False

Actual end time of the phone call activity.

ActualStart Datetime False

Actual start time of the phone call activity.

Category String False

Category of the phone call activity.

CreatedBy_Id String True

Unique identifier of the user who created the phone call activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the phone call activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the phonecall.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the phone call activity.

DirectionCode Boolean False

Direction code for the phone call; incoming or outgoing.

ExchangeRate Double True

Exchange rate for the currency associated with the phonecall with respect to the base currency.

from_Ids String False

Who the phone call is from.

from_LogicalNames String False

from_Names String False

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information which specifies whether the phone call activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Indication which specifies if the phone call activity was created by a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the phone call activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the email phone call activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the phonecall.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the phone call activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the phone call activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the phone call activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user that owns the phone call activity.

OwningUser_LogicalName String True

OwningUser_Name String True

PhoneNumber String False

Telephone number associated with the phone call activity.

PriorityCode String False

Priority of the phone call activity.

RegardingObjectId_Id String False

Unique identifier of the object with which the phone call activity is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the phone call activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the phone call activity.

ScheduledStart Datetime False

Scheduled start time of the phone call activity.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the phone call activity.

StatusCode String False

Reason for the status of the phone call activity.

Subcategory String False

Subcategory of the phone call activity.

Subject String False

Subject associated with the phone call activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

to_Ids String False

Person that is being called.

to_LogicalNames String False

to_Names String False

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the phonecall.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

PickListMapping

This is a table representing the PickListMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the list value mapping.

ColumnMappingId_Id String False

Unique identifier of the column mapping with which this list value mapping is associated.

ColumnMappingId_LogicalName String False

ColumnMappingId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the list value mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the list value mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the picklistmapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ModifiedBy_Id String True

Unique identifier of the user who last modified the list value mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the list value mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the picklistmapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

PickListMappingId String False

Unique identifier of the picklist mapping.

ProcessCode String False

Information about whether the list value mapping needs to be processed.

SourceValue String False

Source value to be replaced.

StateCode String True

Status of the picklist mapping.

StatusCode String False

Reason for the status of the picklist mapping.

TargetValue Integer False

Microsoft Dynamics CRM list value with which to replace the source value.

CData Python Connector for Microsoft Dynamics CRM

PluginAssembly

This is a table representing the PluginAssembly entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the plug-in assembly.

ComponentState String True

For internal use only.

Content String False

Bytes of the assembly, in Base64 format.

CreatedBy_Id String True

Unique identifier of the user who created the plug-in assembly.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the plug-in assembly was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the plug-in assembly.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Culture String False

Culture code for the plug-in assembly.

CustomizationLevel Integer True

Customization Level.

Description String False

Description of the plug-in assembly.

IsManaged Boolean True

Information that specifies whether this component is managed.

IsolationMode String False

Information about how the plug-in assembly is to be isolated at execution time; None / Sandboxed.

Major Integer True

Major of the assembly version.

Minor Integer True

Minor of the assembly version.

ModifiedBy_Id String True

Unique identifier of the user who last modified the plug-in assembly.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the plug-in assembly was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the plug-in assembly.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the plug-in assembly.

OrganizationId_Id String True

Unique identifier of the organization with which the plug-in assembly is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

Path String False

File name of the plug-in assembly. Used when the source type is set to 1.

PluginAssemblyId String False

Unique identifier of the plug-in assembly.

PluginAssemblyIdUnique String True

Unique identifier of the plug-in assembly.

PublicKeyToken String False

Public key token of the assembly. This value can be obtained from the assembly by using reflection.

SolutionId String True

Unique identifier of the associated solution.

SourceHash String False

Hash of the source of the assembly.

SourceType String False

Location of the assembly, for example 0=database, 1=on-disk.

Version String False

Version number of the assembly. The value can be obtained from the assembly through reflection.

CData Python Connector for Microsoft Dynamics CRM

plug-intype

This is a table representing the plug-in type entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the plugin-type.

AssemblyName String True

Full path name of the plug-in assembly.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the plug-in type.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the plug-in type was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the plug-in type.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Culture String True

Culture code for the plug-in assembly.

CustomizationLevel Integer True

Customization level of the plug-in type.

Description String False

Description of the plug-in type.

FriendlyName String False

User friendly name for the plug-in.

IsManaged Boolean True

IsWorkflowActivity Boolean True

Indicates if the plug-in is a custom activity for workflows.

Major Integer True

Major of the version number of the assembly for the plug-in type.

Minor Integer True

Minor of the version number of the assembly for the plug-in type.

ModifiedBy_Id String True

Unique identifier of the user who last modified the plug-in type.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the plug-in type was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the plug-in type.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the plug-in type.

OrganizationId_Id String True

Unique identifier of the organization with which the plug-in type is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

PluginAssemblyId_Id String False

Unique identifier of the plug-in assembly that contains this plug-in type.

PluginAssemblyId_LogicalName String False

PluginAssemblyId_Name String False

plug-in typeId String False

Unique identifier of the plug-in type.

plug-in typeIdUnique String True

Unique identifier of the plug-in type.

PublicKeyToken String True

Public key token of the assembly for the plug-in type.

SolutionId String True

Unique identifier of the associated solution.

TypeName String False

Fully qualified type name of the plug-in type.

Version String True

Version number of the assembly for the plug-in type.

WorkflowActivityGroupName String False

Group name of workflow custom activity.

CData Python Connector for Microsoft Dynamics CRM

PluginTypeStatistic

This is a table representing the PluginTypeStatistic entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the plugin-type statistic.

AverageExecuteTimeInMilliseconds Integer True

The average execution time (in milliseconds) for the plug-in type statistic.

CrashContributionPercent Integer True

The plug-in type percentage contribution to crashes.

CrashCount Integer True

Number of times the plug-in type has crashed.

CrashPercent Integer True

Percentage of crashes for the plug-in type.

CreatedBy_Id String True

Unique identifier of the user who created the plug-in type statistic.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the plug-in type statistic was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the plug-in type statistic.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ExecuteCount Integer True

Number of times the plug-in type has been executed.

FailureCount Integer True

Number of times the plug-in type has failed.

FailurePercent Integer True

Percentage of failures for the plug-in type.

ModifiedBy_Id String True

Unique identifier of the user who last modified the plug-in type statistic.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the plug-in type statistic was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the plug-in type statistic.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization with which the plug-in type statistic is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PluginTypeId_Id String True

Unique identifier of the plug-in type associated with this plug-in type statistic.

PluginTypeId_LogicalName String True

PluginTypeId_Name String True

PluginTypeStatisticId String True

Unique identifier of the plug-in type statistic.

TerminateCpuContributionPercent Integer True

The plug-in type percentage contribution to Worker process termination due to excessive CPU usage.

TerminateHandlesContributionPercent Integer True

The plug-in type percentage contribution to Worker process termination due to excessive handle usage.

TerminateMemoryContributionPercent Integer True

The plug-in type percentage contribution to Worker process termination due to excessive memory usage.

TerminateOtherContributionPercent Integer True

The plug-in type percentage contribution to Worker process termination due to unknown reasons.

CData Python Connector for Microsoft Dynamics CRM

PriceLevel

This is a table representing the PriceLevel entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the price list.

BeginDate Datetime False

Date on which the price list becomes effective.

CreatedBy_Id String True

Unique identifier of the user who created the price list.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the price list was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the pricelevel.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the price list.

EndDate Datetime False

Date that is the last day the price list is valid.

ExchangeRate Double True

FreightTermsCode String False

Freight terms for the price list.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the price list.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the price list was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the pricelevel.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the price list.

OrganizationId_Id String True

Unique identifier of the organization associated with the price list.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

PaymentMethodCode String False

Payment terms to use with the price list.

PriceLevelId String False

Unique identifier of the price list.

ShippingMethodCode String False

Method of shipment for products in the price list.

StateCode String True

Status of the price list.

StatusCode String False

Reason for the status of the price list.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the price level.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

PrincipalAttributeAccessMap

This is a table representing the PrincipalAttributeAccessMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the principal attribute access map.

AttributeId String False

CreateAccess String False

PrincipalAttributeAccessMapId String False

Unique identifier of the principal attribute access map.

PrincipalId String False

ReadAccess String False

UpdateAccess String False

CData Python Connector for Microsoft Dynamics CRM

PrincipalEntityMap

This is a table representing the PrincipalEntityMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the principal entity map.

ObjectTypeCode String True

PrincipalEntityMapId String False

For internal use only.

PrincipalId String True

CData Python Connector for Microsoft Dynamics CRM

PrincipalObjectAccess

This is a table representing the PrincipalObjectAccess entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the principal object access.

AccessRightsMask Integer False

ChangedOn Datetime False

InheritedAccessRightsMask Integer False

ObjectId String True

ObjectTypeCode String False

PrincipalId String True

PrincipalObjectAccessId String False

Unique identifier of the principal object access.

PrincipalTypeCode String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

PrincipalObjectAttributeAccess

This is a table representing the PrincipalObjectAttributeAccess entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the shared secured field.

AttributeId String False

Unique identifier of the shared secured field.

ObjectId_Id String False

Unique identifier of the entity instance with shared secured field.

ObjectId_LogicalName String False

ObjectId_Name String False

OrganizationId_Id String True

Unique identifier of the associated organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PrincipalId_Id String False

Unique identifier of the principal to which secured field is shared

PrincipalId_LogicalName String False

PrincipalId_Name String False

PrincipalObjectAttributeAccessId String False

Unique identifier of the shared secured field instance.

ReadAccess Boolean False

Read permission for secured field instance.

UpdateAccess Boolean False

Update permission for secured field instance.

CData Python Connector for Microsoft Dynamics CRM

Privilege

This is a table representing the Privilege entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the privelege.

AccessRight Integer False

Rights a user has to an instance of an entity.

CanBeBasic Boolean False

Information that specifies whether the privilege applies to the user, the user's team, or objects shared by the user.

CanBeDeep Boolean False

Information that specifies whether the privilege applies to child business units of the business unit associated with the user.

CanBeGlobal Boolean False

Information that specifies whether the privilege applies to the entire organization.

CanBeLocal Boolean False

Information that specifies whether the privilege applies to the user's business unit.

Name String False

Name of the privilege.

PrivilegeId String False

Unique identifier of the privilege.

CData Python Connector for Microsoft Dynamics CRM

PrivilegeObjectTypeCodes

This is a table representing the PrivilegeObjectTypeCodes entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the privilege object type code.

ObjectTypeCode Integer False

For internal use only.

PrivilegeId_Id String False

For internal use only.

PrivilegeId_LogicalName String False

PrivilegeId_Name String False

PrivilegeObjectTypeCodeId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

ProcessSession

This is a table representing the ProcessSession entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the dialog session.

ActivityName String False

Name of the activity that is being executed.

CanceledBy_Id String True

Unique identifier of the user who canceled the dialog session.

CanceledBy_LogicalName String True

CanceledBy_Name String True

CanceledOn Datetime False

Date and time when the dialog session was canceled.

Comments String False

User comments.

CompletedBy_Id String True

Unique identifier of the user who completed the dialog session.

CompletedBy_LogicalName String True

CompletedBy_Name String True

CompletedOn Datetime False

Date and time when the dialog session was completed.

CreatedBy_Id String True

Unique identifier of the user who started the dialog session.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the dialog session was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the dialog session.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ErrorCode Integer False

Error code related to the dialog session.

ExecutedBy_Id String False

Unique identifier of the user who ran the dialog process.

ExecutedBy_LogicalName String False

ExecutedBy_Name String False

ExecutedOn Datetime True

Date and time when the dialog process was run.

InputArguments String False

Input arguments for the child dialog process.

ModifiedBy_Id String True

Unique identifier of the user who last modified the dialog session.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the dialog session was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the dialog session.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the dialog session.

NextLinkedSessionId_Id String False

Unique identifier of the succeeding linked dialog session.

NextLinkedSessionId_LogicalName String False

NextLinkedSessionId_Name String False

OriginatingSessionId_Id String False

Unique identifier of the originating dialog session.

OriginatingSessionId_LogicalName String False

OriginatingSessionId_Name String False

OwnerId_Id String False

Unique identifier of the user or team who owns the dialog session.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the dialog session.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the dialog session.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the dialog session.

OwningUser_LogicalName String True

OwningUser_Name String True

PreviousLinkedSessionId_Id String False

Unique identifier of the preceding linked dialog session.

PreviousLinkedSessionId_LogicalName String False

PreviousLinkedSessionId_Name String False

ProcessId_Id String False

Unique identifier of the process activation record that is related to the dialog session.

ProcessId_LogicalName String False

ProcessId_Name String False

ProcessSessionId String False

Unique identifier of the dialog session.

ProcessStageName String False

Name of the dialog stage.

ProcessState String False

State of the dialog process.

RegardingObjectId_Id String False

Unique identifier of the object with which the dialog session is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

StartedBy_Id String True

Unique identifier of the user who started the dialog session.

StartedBy_LogicalName String True

StartedBy_Name String True

StartedOn Datetime False

Date and time when the dialog session was started.

StateCode String True

Status of the dialog session.

StatusCode String False

Reason for the status of the dialog session.

StepName String False

Name of the dialog step.

CData Python Connector for Microsoft Dynamics CRM

Product

This is a table representing the Product entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the product.

CreatedBy_Id String True

Unique identifier of the user who created the product.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the product was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the product.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CurrentCost Double False

Current cost for the product item. Used in price calculations.

CurrentCost_Base Double True

Base currency equivalent of the current cost for the product item.

DefaultUoMId_Id String False

Default unit for the product.

DefaultUoMId_LogicalName String False

DefaultUoMId_Name String False

DefaultUoMScheduleId_Id String False

Default unit group for the product.

DefaultUoMScheduleId_LogicalName String False

DefaultUoMScheduleId_Name String False

Description String False

Description of the product.

ExchangeRate Double True

Exchange rate for the currency associated with the product with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsKit Boolean False

Information that specifies whether the product is a kit.

IsStockItem Boolean False

Information about whether the product is a stock item.

ModifiedBy_Id String True

Unique identifier of the user who last modified the product.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the product was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the product.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the product.

OrganizationId_Id String True

Unique identifier of the organization associated with the product.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

Price Double False

List price of the product.

Price_Base Double True

Base currency equivalent of the list price of the product

PriceLevelId_Id String False

Unique identifier of the price list associated with the product.

PriceLevelId_LogicalName String False

PriceLevelId_Name String False

ProductId String False

Unique identifier of the product.

ProductNumber String False

User-defined product number.

ProductTypeCode String False

Type of product.

ProductUrl String False

URL for the Web site associated with the product.

QuantityDecimal Integer False

Number of decimal places that can be used in monetary amounts for the product.

QuantityOnHand Double False

Quantity of the product in stock.

Size String False

Product size.

StandardCost Double False

Standard cost of the product.

StandardCost_Base Double True

Base currency equivalent of the standard cost of the product.

StateCode String True

Status of the product.

StatusCode String False

Reason for the status of the product.

StockVolume Double False

Stock volume of the product.

StockWeight Double False

Stock weight of the product.

SubjectId_Id String False

Unique identifier of the subject associated with the product.

SubjectId_LogicalName String False

SubjectId_Name String False

SupplierName String False

Name of the product's supplier.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the product.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

VendorName String False

Name of the product vendor.

VendorPartNumber String False

Part number for the vendor's product.

CData Python Connector for Microsoft Dynamics CRM

ProductAssociation

This is a table representing the ProductAssociation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the product association.

AssociatedProduct String False

ProductAssociationId String False

Unique identifier of the product association.

ProductId String False

CData Python Connector for Microsoft Dynamics CRM

ProductPriceLevel

This is a table representing the ProductPriceLevel entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the price list.

Amount Double False

Monetary amount for the price list.

Amount_Base Double True

Base currency equivalent of the monetary amount for the price list.

CreatedBy_Id String True

Unique identifier of the user who created the price list.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the price list was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the lead.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DiscountTypeId_Id String False

Unique identifier of the discount list associated with the price list.

DiscountTypeId_LogicalName String False

DiscountTypeId_Name String False

ExchangeRate Double True

Exchange rate for the currency associated with the product price level with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the price list.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the price list was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the lead.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId String True

Unique identifier of the organization associated with the price list.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

Percentage Double False

Percentage for the price list.

PriceLevelId_Id String False

Unique identifier of the price level associated with this price list.

PriceLevelId_LogicalName String False

PriceLevelId_Name String False

PricingMethodCode String False

Pricing method applied to the price list.

ProductId_Id String False

Product associated with the price list.

ProductId_LogicalName String False

ProductId_Name String False

ProductPriceLevelId String False

Unique identifier of the price list.

QuantitySellingCode String False

Quantity of the product that must be sold for a given price level.

RoundingOptionAmount Double False

Rounding option amount for the price list.

RoundingOptionAmount_Base Double True

Base currency equivalent of the rounding option amount for the price list.

RoundingOptionCode String False

Option for rounding the price list.

RoundingPolicyCode String False

Policy for rounding the price list.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the product price level.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UoMId_Id String False

Unique identifier of the unit for the price list.

UoMId_LogicalName String False

UoMId_Name String False

UoMScheduleId_Id String False

Unique identifier of the unit schedule for the price list.

UoMScheduleId_LogicalName String False

UoMScheduleId_Name String False

CData Python Connector for Microsoft Dynamics CRM

ProductSalesLiterature

This is a table representing the ProductSalesLiterature entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the product sales literature associated with this price list.

ProductId String True

ProductSalesLiteratureId String False

Unique identifier of the product sales literature associated with this price list.

SalesLiteratureId String True

CData Python Connector for Microsoft Dynamics CRM

ProductSubstitute

This is a table representing the ProductSubstitute entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the product substitute.

ProductId String False

ProductSubstituteId String False

Unique identifier of the product substitute.

SubstitutedProductId String False

CData Python Connector for Microsoft Dynamics CRM

Publisher

This is a table representing the Publisher entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the publisher.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2. such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

CreatedBy_Id String True

Unique identifier of the user who created the publisher.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the publisher was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the publisher.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationOptionValuePrefix Integer False

Default option value prefix used for newly created options for solutions associated with this publisher.

CustomizationPrefix String False

Prefix used for new entities, attributes, and entity relationships for solutions associated with this publisher.

Description String False

Description of the solution.

EMailAddress String False

email address for the publisher.

FriendlyName String False

User display name for this publisher.

IsReadonly Boolean True

Indicates whether the publisher was created as part of a managed solution installation.

ModifiedBy_Id String True

Unique identifier of the user who last modified the publisher.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the publisher was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the publisher.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the publisher.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PinpointPublisherDefaultLocale String True

Default locale of the publisher in Microsoft Pinpoint.

PublisherId String False

Unique identifier of the publisher.

SupportingWebsiteUrl String False

URL for the supporting web site of this publisher.

UniqueName String False

The unique name of this publisher.

CData Python Connector for Microsoft Dynamics CRM

PublisherAddress

This is a table representing the PublisherAddress entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the publisher address.

AddressNumber Integer False

Specifies which publisher address is applicable.

AddressTypeCode String False

Type of address for the publisher, such as billing, shipping, or primary address.

City String False

City name in the publisher address.

Country String False

Country/region name in the publisher address.

County String False

County name in the publisher address.

CreatedBy_Id String True

Unique identifier of the user who created the publisher address.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the publisher address was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the publisher address.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Fax String False

Fax number for the publisher address.

FreightTermsCode String False

Freight terms for the publisher address.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

Latitude Double False

Latitude for the publisher address.

Line1 String False

First line for entering address information.

Line2 String False

Second line for entering address information.

Line3 String False

Third line for entering address information.

Longitude Double False

Longitude for the publisher address.

ModifiedBy_Id String True

Unique identifier of the user who last modified the publisher address.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the publisher address was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the publisher address.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name used to identify the publisher address.

ParentId_Id String False

Unique identifier of the parent object with which the publisher address is associated.

ParentId_LogicalName String False

ParentId_Name String False

PostalCode String False

ZIP Code or postal code in the publisher address.

PostOfficeBox String False

Post office box number in the publisher address.

PrimaryContactName String False

Name of the primary contact at the publisher address.

PublisherAddressId String False

Unique identifier of the publisher address.

ShippingMethodCode String False

Method of shipment for the publisher address.

StateOrProvince String False

State or province in the publisher address.

Telephone1 String False

First telephone number for the publisher address.

Telephone2 String False

Second telephone number for the publisher address.

Telephone3 String False

Third telephone number for the publisher address.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UPSZone String False

United Parcel Service (UPS) zone for the address of the publisher.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

UTCOffset Integer False

UTC offset for the address. This is the difference between local time and standard Coordinated Universal Time.

CData Python Connector for Microsoft Dynamics CRM

QuarterlyFiscalCalendar

This is a table representing the QuarterlyFiscalCalendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the quarterly fiscal calendar.

BusinessUnitId_Id String True

BusinessUnitId_LogicalName String True

BusinessUnitId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the quarterly fiscal calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quota for the quarterly fiscal calendar was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the QuarterlyFiscalCalendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EffectiveOn Datetime False

Date and time when the quarterly fiscal calendar sales quota takes effect.

ExchangeRate Double True

Exchange rate for the currency associated with the quarterly fiscal calendar with respect to the base currency.

FiscalPeriodType Integer True

Type of fiscal period used in the sales quota.

ModifiedBy_Id String True

Unique identifier of the user who last modified the quarterly fiscal calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the quarterly fiscal calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the QuarterlyFiscalCalendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

quarter1 Double False

Sales quota for the first quarter in the fiscal year.

quarter1_base Double True

Base currency equivalent of the sales quota for the first quarter in the fiscal year.

quarter2 Double False

Sales quota for the second quarter in the fiscal year.

quarter2_base Double True

Base currency equivalent of the sales quota for the second quarter in the fiscal year

quarter3 Double False

Sales quota for the third quarter in the fiscal year.

quarter3_base Double True

Base currency equivalent of the sales quota for the third quarter in the fiscal year.

quarter4 Double False

Sales quota for the fourth quarter in the fiscal year.

quarter4_base Double True

Base currency equivalent of the sales quota for the fourth quarter in the fiscal year.

SalesPersonId_Id String False

Unique identifier of the associated salesperson.

SalesPersonId_LogicalName String False

SalesPersonId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the quarterly fiscal calendar.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UserFiscalCalendarId String False

Unique identifier of the quarterly fiscal calendar.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Queue

This is a table representing the Queue entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the queue.

AllowEmailCredentials Boolean False

Information about whether a user wants to specify email credentials for the email router.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the queue is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the queue record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the queue was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the queue.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the queue.

EMailAddress String False

email address that is associated with the queue.

EmailPassword String False

Password for email.

EmailRouterAccessApproval String False

Shows the status of the primary email address.

EmailUsername String False

User name for email.

ExchangeRate Double True

Exchange rate for the currency associated with the queue with respect to the base currency.

IgnoreUnsolicitedEmail Boolean False

Information that specifies whether a queue is to ignore unsolicited email (deprecated).

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IncomingEmailDeliveryMethod String False

Incoming email delivery method for the queue.

IncomingEmailFilteringMethod String False

Incoming email filtering method.

IsFaxQueue Boolean True

Indication of whether a queue is the fax delivery queue.

ModifiedBy_Id String True

Unique identifier of the user who last modified the queue.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the queue was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the queue.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the queue.

OrganizationId_Id String True

Unique identifier of the organization associated with the queue.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OutgoingEmailDeliveryMethod String False

Outgoing email delivery method for the queue.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the queue.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the queue.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the queue.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the queue.

OwningUser_LogicalName String True

OwningUser_Name String True

PrimaryUserId_Id String False

Unique identifier of the owner of the queue.

PrimaryUserId_LogicalName String False

PrimaryUserId_Name String False

QueueId String False

Unique identifier of the queue.

QueueSemantics Integer False

For internal use only.

QueueTypeCode String True

Type of queue that is automatically assigned when a user or queue is created. The type can be public, private, or work in process.

StateCode String True

Status of the queue.

StatusCode String False

Reason for the status of the queue.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the queue.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

CData Python Connector for Microsoft Dynamics CRM

QueueItem

This is a table representing the QueueItem entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the queue item.

CreatedBy_Id String True

Unique identifier of the user who created the queue item.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the queue item was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the queueitem.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EnteredOn Datetime True

Date and time when the queue item was entered.

ExchangeRate Double True

Exchange rate for the currency associated with the queueitem with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the queue item.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the queue item was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the queueitem.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ObjectId_Id String False

The unique identifier of the entity that is in the queue.

ObjectId_LogicalName String False

ObjectId_Name String False

ObjectTypeCode String True

Identifies the type of queue item, such as the specific activity type, case, or article.

OrganizationId_Id String True

Unique identifier of the organization with which the queue item is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the queue item.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the queue item.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the queue item.

OwningUser_LogicalName String True

OwningUser_Name String True

Priority Integer False

Priority of the queue item.

QueueId_Id String False

Unique identifier of the queue in which the queue item resides.

QueueId_LogicalName String False

QueueId_Name String False

QueueItemId String False

Unique identifier of the queue item.

Sender String False

Sender who created the queue item.

State Integer False

Status of the queue item.

StateCode String True

Status of the queue item.

Status Integer False

Reason for the status of the queue item.

StatusCode String False

Reason for the status of the queue item.

TimeZoneRuleVersionNumber Integer False

For internal use only.

Title String True

Title of the queue item.

ToRecipients String False

Recipients listed on the To line of the message for email queue items.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the queueitem.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WorkerId_Id String False

Unique identifier of the user or team that is working on the queue item.

WorkerId_LogicalName String False

WorkerId_Name String False

WorkerIdModifiedOn Datetime True

Date and time when the queue item was assigned a worker.

CData Python Connector for Microsoft Dynamics CRM

Quote

This is a table representing the Quote entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the quote.

AccountId_Id String True

Unique identifier of the account with which the quote is associated.

AccountId_LogicalName String True

AccountId_Name String True

BillTo_AddressId String False

Unique identifier of the billing address.

BillTo_City String False

City name in the billing address.

BillTo_ContactName String False

Contact name for the billing address.

BillTo_Country String False

Country/region name in the billing address.

BillTo_Fax String False

Fax number for the billing address.

BillTo_Line1 String False

First line for entering billing address information.

BillTo_Line2 String False

Second line for entering billing address information.

BillTo_Line3 String False

Third line for entering billing address information.

BillTo_Name String False

Name to enter for the billing address.

BillTo_PostalCode String False

ZIP Code or postal code in the billing address.

BillTo_StateOrProvince String False

State or province in the billing address.

BillTo_Telephone String False

Telephone number associated with the billing address.

CampaignId_Id String False

Unique identifier of the source campaign associated with the quote.

CampaignId_LogicalName String False

CampaignId_Name String False

ClosedOn Datetime False

Date and time when the quote is to be closed.

ContactId_Id String True

Unique identifier of the contact associated with the quote.

ContactId_LogicalName String True

ContactId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the quote record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quote was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the quote.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier of the account or contact associated with the quote.

CustomerId_LogicalName String False

CustomerId_Name String False

Description String False

Description of the quote.

DiscountAmount Double False

Discount specified as a monetary amount for the quote.

DiscountAmount_Base Double True

Base currency equivalent of the discount specified as a monetary amount for the quote.

DiscountPercentage Double False

Discount specified as a percentage for the quote.

EffectiveFrom Datetime False

Date and time when the quote becomes effective.

EffectiveTo Datetime False

Date that is the last day the quote is in effect.

ExchangeRate Double True

Exchange rate for the currency associated with the quote with respect to the base currency.

ExpiresOn Datetime False

Date when the quote expires.

FreightAmount Double False

Cost of freight for the quote.

FreightAmount_Base Double True

Base currency equivalent of the cost of freight for the quote

FreightTermsCode String False

Freight terms for the quote.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the quote record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the quote was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the quote.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the quote.

OpportunityId_Id String False

Unique identifier of the opportunity with which the quote is associated.

OpportunityId_LogicalName String False

OpportunityId_Name String False

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the quote.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the quote.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the quote.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the quote.

OwningUser_LogicalName String True

OwningUser_Name String True

PaymentTermsCode String False

Payment terms for the quote.

PriceLevelId_Id String False

Unique identifier of the price list associated with the quote.

PriceLevelId_LogicalName String False

PriceLevelId_Name String False

PricingErrorCode String False

Pricing error for the quote.

QuoteId String False

Unique identifier of the quote.

QuoteNumber String False

Quote number.

RequestDeliveryBy Datetime False

Requested delivery date for the quote.

RevisionNumber Integer True

Revision number for the quote.

ShippingMethodCode String False

Method of shipment for the quote.

ShipTo_AddressId String False

Unique identifier of the shipping address.

ShipTo_City String False

City name in the shipping address.

ShipTo_ContactName String False

Contact name for the shipping address.

ShipTo_Country String False

Country/region name in the shipping address.

ShipTo_Fax String False

Fax number for the shipping address.

ShipTo_FreightTermsCode String False

Freight terms for the shipping address.

ShipTo_Line1 String False

First line for entering shipping address information.

ShipTo_Line2 String False

Second line for entering shipping address information.

ShipTo_Line3 String False

Third line for entering shipping address information.

ShipTo_Name String False

Name to enter for the shipping address.

ShipTo_PostalCode String False

ZIP Code or postal code in the shipping address.

ShipTo_StateOrProvince String False

State or province in the shipping address.

ShipTo_Telephone String False

Telephone number associated with the shipping address.

StateCode String True

Status of the quote.

StatusCode String False

Reason for the status of the quote.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TotalAmount Double True

Total amount for the quote.

TotalAmount_Base Double True

Base currency equivalent of the total amount for the quote.

TotalAmountLessFreight Double True

Total amount minus the freight charges for the quote.

TotalAmountLessFreight_Base Double True

Base currency equivalent of the total amount minus the freight charges for the quote.

TotalDiscountAmount Double True

Total discount for the quote.

TotalDiscountAmount_Base Double True

Base currency equivalent of the total discount for the quote.

TotalLineItemAmount Double True

Total line item amount for the quote.

TotalLineItemAmount_Base Double True

Base currency equivalent of the total line item amount for the quote.

TotalLineItemDiscountAmount Double True

Total line item discount for the quote.

TotalLineItemDiscountAmount_Base Double True

Base currency equivalent of the total line item discount for the quote.

TotalTax Double True

Total tax for the quote.

TotalTax_Base Double True

Base currency equivalent of the total tax for the quote.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the quote.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WillCall Boolean False

Information about whether the customer will call for the quoted products or the products are to be shipped.

CData Python Connector for Microsoft Dynamics CRM

QuoteClose

This is a table representing the QuoteClose entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the quote close activity.

ActivityId String False

Unique identifier of the quote close activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the quote close activity in minutes.

ActualEnd Datetime False

Actual end time of the quote close activity.

ActualStart Datetime False

Actual start time of the quote close activity.

Category String False

Category of the quote close activity.

CreatedBy_Id String True

Unique identifier of the user who created the quote close activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quote close activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the quoteclose.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Activity generated when a quote is closed.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information about whether the quote close activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information that specifies if the quote close activity was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the quote close activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the quote close activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the quoteclose.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the quote close activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the quote close activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the quote close activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the quote close activity.

OwningUser_LogicalName String True

OwningUser_Name String True

QuoteId_Id String False

Unique identifier of the quote with which the quote close activity is associated.

QuoteId_LogicalName String False

QuoteId_Name String False

QuoteNumber String False

Quote number.

Revision Integer False

Quote revision number.

ScheduledDurationMinutes Integer True

Scheduled duration of the quote close activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the quote close activity.

ScheduledStart Datetime False

Scheduled start time of the quote close activity.

ServiceId_Id String False

Unique identifier of the service with which the quote close activity is associated.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the quote close activity.

StatusCode String False

Reason for the status of the quote close activity.

Subcategory String False

Subcategory of the quote close activity.

Subject String False

Subject associated with the quote close activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

QuoteDetail

This is a table representing the QuoteDetail entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the quote detail.

BaseAmount Double True

Subtotal of the quote product before discounts are applied and taxes are added.

BaseAmount_Base Double True

Base currency equivalent of the subtotal of the quote product before discounts are applied and taxes are added.

CreatedBy_Id String True

Unique identifier of the user who created the quote product.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quote product was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the quotedetail.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the quote product.

ExchangeRate Double True

Exchange rate for the currency associated with the quote detail with respect to the base currency.

ExtendedAmount Double True

Subtotal of the quote product after discounts are applied and taxes are added.

ExtendedAmount_Base Double True

Base currency equivalent of the subtotal of the quote product after discounts are applied and taxes are added.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsPriceOverridden Boolean False

Information about whether to override product catalog pricing.

IsProductOverridden Boolean False

Information about whether the product is a write-in product or an existing product.

LineItemNumber Integer False

Line item number for the quote product.

ManualDiscountAmount Double False

Customized discount amount for the quote product.

ManualDiscountAmount_Base Double True

Base currency equivalent of the customized discount amount for the quote product.

ModifiedBy_Id String True

Unique identifier of the user who last modified the quote product.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the quote product was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the quotedetail.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the quote detail.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the quote detail.

OwningUser String True

Unique identifier of the user who owns the quote detail.

PricePerUnit Double False

Price per unit for the quote product.

PricePerUnit_Base Double True

Base currency equivalent of the price per unit for the quote product.

PricingErrorCode String False

Pricing error for the quote product.

ProductDescription String False

Product description for the quote product.

ProductId_Id String False

Unique identifier of the product associated with the quote product.

ProductId_LogicalName String False

ProductId_Name String False

Quantity Double False

Product quantity specified for the quote product.

QuoteDetailId String False

Unique identifier of the product line item in the quote.

QuoteId_Id String False

Unique identifier of the quote for the quote product.

QuoteId_LogicalName String False

QuoteId_Name String False

QuoteStateCode String True

Status of the quote product.

RequestDeliveryBy Datetime False

Requested delivery date for the quote product.

SalesRepId_Id String False

Unique identifier of the salesperson associated with the quote product.

SalesRepId_LogicalName String False

SalesRepId_Name String False

ShipTo_AddressId String False

Unique identifier of the shipping address.

ShipTo_City String False

City name in the shipping address.

ShipTo_ContactName String False

Contact name for the shipping address.

ShipTo_Country String False

Country/region name in the shipping address.

ShipTo_Fax String False

Fax number for the shipping address.

ShipTo_FreightTermsCode String False

Freight terms for the shipping address.

ShipTo_Line1 String False

First line for entering shipping address information.

ShipTo_Line2 String False

Second line for entering shipping address information.

ShipTo_Line3 String False

Third line for entering shipping address information.

ShipTo_Name String False

Name to enter for the shipping address.

ShipTo_PostalCode String False

ZIP Code or postal code in the shipping address.

ShipTo_StateOrProvince String False

State or province in the shipping address.

ShipTo_Telephone String False

Telephone number associated with the shipping address.

Tax Double False

Tax amount for the quote product.

Tax_Base Double True

Base currency equivalent of the tax amount for the quote product.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the quote detail.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UoMId_Id String False

Unique identifier of the unit that is associated with the quote product.

UoMId_LogicalName String False

UoMId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

VolumeDiscountAmount Double True

Volume discount amount for the quote product.

VolumeDiscountAmount_Base Double True

Base currency equivalent of the volume discount amount for the quote product.

WillCall Boolean False

Information about whether the customer will call for the quoted products or the products are to be shipped.

CData Python Connector for Microsoft Dynamics CRM

RecurrenceRule

This is a table representing the RecurrenceRule entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the recurrence rule.

CreatedBy_Id String True

Unique identifier of the user who created the recurrence rule.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the recurrence rule was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the recurrence rule.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DayOfMonth Integer False

The day of the month on which the recurring appointment or task occurs.

DaysOfWeekMask Integer False

Bitmask representing the days of the week on which the recurring appointment or task occurs.

Duration Integer False

Duration of the recurrence pattern in minutes.

EffectiveEndDate Datetime False

The actual end date for expansion of the recurrence pattern.

EffectiveStartDate Datetime False

The actual start date for expansion of the recurrence pattern.

EndTime Datetime False

End time of the associated activity.

FirstDayOfWeek Integer False

First day Of week for the recurrence pattern.

Instance String False

Specifies the count for which the recurrence pattern is valid for a given interval.

Interval Integer False

Number of units of a given recurrence type between occurrences.

IsNthMonthly Boolean False

Specifies whether the monthly recurrence pattern is Nth monthly, valid only for monthly recurrence.

IsNthYearly Boolean False

Specifies whether the yearly recurrence pattern is Nth yearly, valid only for yearly recurrence.

IsRegenerate Boolean False

Valid only for task type recurrence,indicates whether task should be regenerated.

IsWeekDayPattern Boolean False

Specifies whether the weekly recurrence pattern is actually a daily every weekday pattern, valid only for weekly recurrence.

ModifiedBy_Id String True

Unique identifier of the user who last modified the recurrence rule.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the recurrence rule was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the recurrence rule.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

MonthOfYear String False

Specifies the month of the year valid for the recurrence pattern.

ObjectId_Id String False

Unique identifier of the object with which the recurrence rule is associated.

ObjectId_LogicalName String False

ObjectId_Name String False

Occurrences Integer False

Number of occurrences of the recurrence pattern.

OwnerId_Id String False

Unique identifier of the user or team who owns the recurrence rule.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the recurrence rule.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

OwningUser_LogicalName String True

OwningUser_Name String True

PatternEndDate Datetime False

End date of the Recurrence Range.

PatternEndType String False

Pattern End Type of a recurring series.

PatternStartDate Datetime False

Start date of the Recurrence Range.

RecurrencePatternType String False

Type of Recurrence.

RuleId String False

Unique identifier of the entity associated with recurrence rule.

StartTime Datetime False

Start time of the recurring activity.

CData Python Connector for Microsoft Dynamics CRM

RecurringAppointmentMaster

This is a table representing the RecurringAppointmentMaster entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the recurring appoint.

ActivityId String False

Unique identifier of the recurring appointment series.

ActivityTypeCode String True

Type of activity.

Category String False

Category of the recurring appointment series.

CreatedBy_Id String True

Unique identifier of the user who created the recurring appointment series.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the recurring appointment series was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the recurring appointment series.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DayOfMonth Integer False

The day of the month on which the recurring appointment occurs.

DaysOfWeekMask Integer False

Bitmask that represents the days of the week on which the recurring appointment occurs.

DeletedExceptionsList String True

List of deleted instances of the recurring appointment series.

Description String False

Description of the recurring appointment series.

Duration Integer False

Duration of the recurring appointment series in minutes.

EffectiveEndDate Datetime False

Actual end date of the recurring appointment series based on the specified end date and recurrence pattern.

EffectiveStartDate Datetime False

Actual start date of the recurring appointment series based on the specified start date and recurrence pattern.

EndTime Datetime False

End time of the associated activity.

ExchangeRate Double True

Exchange rate between the currency associated with the recurring appointment series and the base currency.

ExpansionStateCode String True

State code to indicate whether the recurring appointment series is expanded fully or partially.

FirstDayOfWeek Integer False

First day of week for the recurrence pattern.

GlobalObjectId String False

Unique Outlook identifier to correlate recurring appointment series across Exchange mailboxes.

GroupId_Id String True

Unique identifier of the recurring appointment series for which the recurrence information was updated.

GroupId_LogicalName String True

GroupId_Name String True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

Instance String False

Specifies the recurring appointment series to occur on every Nth day of a month. Valid for monthly and yearly recurrence patterns only.

InstanceTypeCode String True

Type of instance of a recurring appointment series.

Interval Integer False

Number of units of a given recurrence type between occurrences.

IsAllDayEvent Boolean False

Indicates whether the recurring appointment series is an all day event.

IsBilled Boolean False

Indicates whether the recurring appointment series was billed as part of resolving a case.

IsNthMonthly Boolean False

Indicates whether the recurring appointment series should occur after every N months. Valid for monthly recurrence pattern only.

IsNthYearly Boolean False

Indicates whether the recurring appointment series should occur after every N years. Valid for yearly recurrence pattern only.

IsRegenerate Boolean False

For internal use only.

IsRegularActivity Boolean True

Indicates whether the activity is a regular activity type or event type.

IsWeekDayPattern Boolean False

Indicates whether the weekly recurrence pattern is a daily weekday pattern. Valid for weekly recurrence pattern only.

IsWorkflowCreated Boolean False

Indicates whether the recurring appointment series was created from a workflow rule.

LastExpandedInstanceDate Datetime True

Date of last expanded instance of a recurring appointment series.

Location String False

Location where the recurring appointment series will occur.

ModifiedBy_Id String True

Unique identifier of the user who last modified the recurring appointment series.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the recurring appointment series was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the recurring appointment series.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

MonthOfYear String False

Indicates the month of the year for the recurrence pattern.

NextExpansionInstanceDate Datetime True

Date of the next expanded instance of a recurring appointment series.

Occurrences Integer False

Number of appointment occurrences in a recurring appointment series.

OptionalAttendees_Ids String False

List of optional attendees for the recurring appointment series.

OptionalAttendees_LogicalNames String False

OptionalAttendees_Names String False

Organizer_Ids String False

Person who organized the recurring appointment series.

Organizer_LogicalNames String False

Organizer_Names String False

OutlookOwnerApptId Integer False

Unique identifier of the Microsoft Office Outlook recurring appointment series owner that correlates to the PR_OWNER_APPT_ID MAPI property.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the recurring appointment series.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the recurring appointment series.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the recurring appointment series.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the recurring appointment series.

OwningUser_LogicalName String True

OwningUser_Name String True

PatternEndDate Datetime False

End date of the recurrence range.

PatternEndType String False

End type of the recurrence range.

PatternStartDate Datetime False

Start date of the recurrence range.

PriorityCode String False

Priority of the recurring appointment series.

RecurrencePatternType String False

Type of recurrence pattern.

RegardingObjectId_Id String False

Unique identifier of the object with which the recurring appointment series is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

RequiredAttendees_Ids String False

List of required attendees for the recurring appointment series.

RequiredAttendees_LogicalNames String False

RequiredAttendees_Names String False

RuleId_Id String True

Unique identifier of the recurrence rule that is associated with the recurring appointment series.

RuleId_LogicalName String True

RuleId_Name String True

ScheduledEnd Datetime True

Scheduled end time of the recurring appointment series.

ScheduledStart Datetime True

Scheduled start time of the recurring appointment series.

SeriesStatus Boolean False

Indicates whether the recurring appointment series is active or inactive.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StartTime Datetime False

Start time of the recurring appointment series.

StateCode String False

Status of the recurring appointment series.

StatusCode String False

Reason for the status of the recurring appointment series.

Subcategory String False

Sub-category of the recurring appointment series.

Subject String False

Subject associated with the recurring appointment series.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the recurring appointment series.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

RelationshipRole

This is a table representing the RelationshipRole entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the relationship role.

CreatedBy_Id String True

Unique Identifier of the user who created the relationship role.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the relationship role was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the relationshiprole.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the relationship role.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the relationship role.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the relationship role was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the relationshiprole.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the relationship role.

OrganizationId_Id String True

Unique Identifier of the organization that this relationship role belongs to.

OrganizationId_LogicalName String True

OrganizationId_Name String True

RelationshipRoleId String False

Unique identifier of the relationship role.

StateCode String True

Status of the relationship role.

StatusCode String False

Reason for the status of the relationship role.

CData Python Connector for Microsoft Dynamics CRM

RelationshipRoleMap

This is a table representing the RelationshipRoleMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the relationship role mapping.

AssociateObjectTypeCode String False

Type of the associated entity in the relationship role mapping.

CreatedBy_Id String True

Unique identifier of the user who created the relationship role map.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the relationship role mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the relationship role mapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ModifiedBy_Id String True

Unique identifier of the user who last modified the relationship role mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the relationship role mapping record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the relationship role mapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId String True

Unique identifier of the organization with which the relationship role mapping is associated.

PrimaryObjectTypeCode String False

Type of the primary entity in the relationship role mapping.

RelationshipRoleId_Id String False

Unique identifier of the relationship role. This relationship role is only valid in a relationship between an entity of type specified in the PrimaryObjectTypeCode property and an entity of type specified in the AssociatedObjectTypeCode property.

RelationshipRoleId_LogicalName String False

RelationshipRoleId_Name String False

RelationshipRoleMapId String False

Unique identifier of the relationship role mapping.

CData Python Connector for Microsoft Dynamics CRM

Report

This is a table representing the Report entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the report.

BodyBinary String False

Binary report contents (base-64 encoded).

BodyText String False

Text contents of the RDL file for a Reporting Services report.

BodyUrl String False

URL for a linked report.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the report.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the report was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the report.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomReportXml String True

XML used to define a custom report.

DefaultFilter String False

Default filter for the report.

Description String False

Description of the report.

FileName String False

File name of the report.

FileSize Integer True

File size of the report.

IsCustomReport Boolean True

Information about whether the report is a custom report.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

IsPersonal Boolean False

Information about whether the report is personal or is available to all users.

IsScheduledReport Boolean True

Information about whether the report is a scheduled report.

LanguageCode Integer False

Language in which the report will be displayed.

MimeType String False

MIME type of the report.

ModifiedBy_Id String True

Unique identifier of the user who last modified the report.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the report was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the report.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the report.

OriginalBodyText String True

Original Text contents of the RDL file for a Reporting Services report.

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String False

Unique identifier of the user or team who owns the report.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the report.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the report.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the report.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentReportId_Id String False

Unique identifier of the parent report.

ParentReportId_LogicalName String False

ParentReportId_Name String False

QueryInfo String True

For internal use only.

ReportId String False

Unique identifier of the report.

ReportIdUnique String True

For internal use only.

ReportNameOnSRS String True

Name of the report on SRS.

ReportTypeCode String False

Type of the report.

ScheduleXml String True

XML used for defining the report schedule.

SignatureDate Datetime False

Report signature date, used to identify a report for upgrades and hotfixes.

SignatureId String False

Unique identifier of the report signature used to identify a report for upgrades and hotfixes.

SignatureLcid Integer False

Report signature language code used to identify a report for upgrades and hotfixes.

SignatureMajorVersion Integer False

Report signature major version, used to identify a report for upgrades and hotfixes.

SignatureMinorVersion Integer False

Report signature minor version, used to identify a report for upgrades and hotfixes.

SolutionId String True

Unique identifier of the associated solution.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ReportCategory

This is a table representing the ReportCategory entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the report category.

CategoryCode String False

Category of the report.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the report category.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the report category record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the report category.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ExchangeRate Double True

Exchange rate for the currency associated with the report category with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

ModifiedBy_Id String True

Unique identifier of the user who last modified the report category.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the report category was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the report category.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String True

Unique identifier of the user or team who owns the report category.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the report category.

OwningUser String True

Unique identifier of the user who owns the report category.

ReportCategoryId String False

Unique identifier of the report category.

ReportCategoryIdUnique String True

For internal use only.

ReportId_Id String False

Unique identifier of the report.

ReportId_LogicalName String False

ReportId_Name String False

SolutionId String True

Unique identifier of the associated solution.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the Report category.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ReportEntity

This is a table representing the ReportEntity entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the report record.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the report record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the report record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the reportentity.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsFilterable Boolean False

Information about whether the report is filterable.

IsManaged Boolean True

ModifiedBy_Id String True

Unique identifier of the user who last modified the report record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the report record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the reportentity.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ObjectTypeCode String False

Type of record with which the report is associated.

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String True

Unique identifier of the user or team who owns the report entity.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the report record.

OwningUser String True

Unique identifier of the user who owns the report record.

ReportEntityId String False

Unique identifier of the report record.

ReportEntityIdUnique String True

For internal use only.

ReportId_Id String False

Unique identifier of the report.

ReportId_LogicalName String False

ReportId_Name String False

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

ReportLink

CData Python Connector for Microsoft Dynamics CRM

ReportVisibility

This is a table representing the ReportVisibility entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the report visibility record.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the report visibility record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the report visibility record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the reportvisibility.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsManaged Boolean True

ModifiedBy_Id String True

Unique identifier of the user who last modified the report visibility record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the report visibility record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the reportvisibility.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String True

Unique identifier of the user or team who owns the report visibility.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the report visibility record.

OwningUser String True

Unique identifier of the user who owns the report visibility record.

ReportId_Id String False

Unique identifier of the report.

ReportId_LogicalName String False

ReportId_Name String False

ReportVisibilityId String False

Unique identifier of the report visibility record.

ReportVisibilityIdUnique String True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

VisibilityCode String False

Type of visibility of the report.

CData Python Connector for Microsoft Dynamics CRM

Resource

This is a table representing the Resource entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the resource.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the resource is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

CalendarId String False

Unique identifier of the calendar for the resource.

DisplayInServiceViews Boolean False

For internal use only.

IsDisabled Boolean False

Information about whether the resource is enabled.

Name String False

Name of the resource.

ObjectTypeCode String False

Type of entity with which the resource is associated.

OrganizationId_Id String True

Unique identifier of the organization with which the resource is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

ResourceId String False

Unique identifier of the resource.

SiteId_Id String False

Unique identifier of the site at which the resource is located.

SiteId_LogicalName String False

SiteId_Name String False

CData Python Connector for Microsoft Dynamics CRM

ResourceGroup

This is a table representing the ResourceGroup entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the scheduling group.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the scheduling group is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

GroupTypeCode String True

Scheduling group type code.

Name String False

Name of the scheduling group.

ObjectTypeCode String False

Type of entity with which the scheduling group is associated.

OrganizationId_Id String True

Unique identifier of the organization associated with the scheduling group.

OrganizationId_LogicalName String True

OrganizationId_Name String True

ResourceGroupId String False

Unique identifier of the scheduling group.

CData Python Connector for Microsoft Dynamics CRM

ResourceGroupExpansion

This is a table representing the ResourceGroupExpansion entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the resource expansion record.

ItemId String False

Item that is part of expansion of resource identified by object Id. One object Id can have many item Ids.

MethodCode String False

Code for retrieval method.

ModifiedOn Datetime False

Date and time when the record was last modified.

ObjectId String False

Object being expanded.

ResourceGroupExpansionId String False

Unique identifier of the resource expansion record.

CData Python Connector for Microsoft Dynamics CRM

ResourceSpec

This is a table representing the ResourceSpec entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the resource specification.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the resource specification is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

Constraints String False

Additional constraints, specified as expressions, which are used to filter a set of valid resources.

CreatedBy_Id String True

Unique identifier of the user who created the resource specification.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the resource specification was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the resourcespec.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Selection rule that allows the scheduling engine to select a number of resources from a pool of resources. The rules can be associated with a service.

EffortRequired Double False

Number that specifies the minimal effort required from resources.

GroupObjectId String False

Unique identifier of the scheduling group with which the resource specification is associated.

ModifiedBy_Id String True

Unique identifier of the user who last modified the resource specification.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the resource specification was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the resourcespec.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the resource specification.

ObjectiveExpression String False

Search strategy to use for the resource specification.

ObjectTypeCode String False

Type of entity with which the resource specification is associated.

OrganizationId_Id String True

Unique identifier of the organization with which the resource specification is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

RequiredCount Integer False

Required number of resources that must be available. Use -1 to indicate all resources.

ResourceSpecId String False

Unique identifier of the resource specification.

SameSite Boolean False

Value that specifies that all valid and available resources must be in the same site.

CData Python Connector for Microsoft Dynamics CRM

RibbonCommand

This is a table representing the RibbonCommand entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the ribbon command.

Command String False

The command's Id.

CommandDefinition String False

The JScript library and function to run when this command is executed.

ComponentState String True

For internal use only.

Entity String False

The entity this rule applies to, also the entity this rule was imported from, will be exported to.

IsManaged Boolean True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

RibbonCommandId String False

Unique identifier.

RibbonCommandUniqueId String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

RibbonCustomizationId_Id String False

Unique identifier of the ribbon customization with which the ribbon command is associated.

RibbonCustomizationId_LogicalName String False

RibbonCustomizationId_Name String False

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

RibbonContextGroup

This is a table representing the RibbonContextGroup entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the group of contextual tabs.

ComponentState String True

For internal use only.

ContextGroupId String False

The id of a group of contextual tabs.

ContextGroupXml String False

Layout XML for a contextual group header

Entity String False

The entity this rule applies to, also the entity this rule was imported from, will be exported to.

IsManaged Boolean True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

RibbonContextGroupId String False

Unique identifier.

RibbonContextGroupUniqueId String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

RibbonCustomizationId_Id String False

Unique identifier of the ribbon customization with which the ribbon command is associated.

RibbonCustomizationId_LogicalName String False

RibbonCustomizationId_Name String False

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

RibbonCustomization

This is a table representing the RibbonCustomization entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the ribbon customization.

ComponentState String True

For internal use only.

Entity String False

Specifies which entity's ribbons this customization applies to. If null, then the customizations apply to the global ribbons.

IsManaged Boolean True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

PublishedOn Datetime True

RibbonCustomizationId String False

Unique identifier.

RibbonCustomizationUniqueId String True

Unique identifier for this row.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

RibbonDiff

This is a table representing the RibbonDiff entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the ribbon definition.

ComponentState String True

For internal use only.

ContextGroupId String False

Unique identifier of the context group for this tab. If this ribbon definition adds a new tab, then it is a contextual tab.

DiffId String False

The string ID of this ribbon definition.

DiffType String True

Indicates the type of ribbon definition.

Entity String False

The entity this rule applies to, also the entity this rule was imported from, will be exported to.

IsManaged Boolean True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

RDX String False

Ribbon definition XML string that contains one change action.

RibbonCustomizationId_Id String False

Unique identifier of the ribbon customization with which the ribbon command is associated.

RibbonCustomizationId_LogicalName String False

RibbonCustomizationId_Name String False

RibbonDiffId String False

Unique identifier.

RibbonDiffUniqueId String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

Sequence Integer False

Sequence in which the definition is to be applied.

SolutionId String True

Unique identifier of the associated solution.

TabId String False

The ID of the tab this definition applies to.

CData Python Connector for Microsoft Dynamics CRM

RibbonRule

This is a table representing the RibbonRule entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the ribbon rule.

ComponentState String True

For internal use only.

Entity String False

The entity this rule applies to, also the entity this rule was imported from, will be exported to.

IsManaged Boolean True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

RibbonCustomizationId_Id String False

Unique identifier of the ribbon customization with which the ribbon command is associated.

RibbonCustomizationId_LogicalName String False

RibbonCustomizationId_Name String False

RibbonRuleId String False

Unique identifier.

RibbonRuleUniqueId String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

RuleDefinition String False

The definition of the rule - what entities, permissions, data values, etc. can change when this rule is true or false.

RuleId String False

The Id of a rule

RuleType String False

The type of a rule

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

RibbonTabToCommandMap

This is a table representing the RibbonTabToCommandMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the ribbon tab.

Command String False

A command Id of a control within that tab.

ComponentState String True

For internal use only.

ControlId String False

A control id within that tab.

Entity String False

The entity this rule applies to, also the entity this rule was imported from, will be exported to.

IsManaged Boolean True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

RibbonDiffId_Id String False

Unique identifier of the ribbon customization with which the ribbon command is associated.

RibbonDiffId_LogicalName String False

RibbonDiffId_Name String False

RibbonTabToCommandMapId String False

Unique identifier.

RibbonTabToCommandMapUniqueId String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

SolutionId String True

Unique identifier of the associated solution.

TabId String False

The Id of a tab

CData Python Connector for Microsoft Dynamics CRM

Role

This is a table representing the Role entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the role.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the role is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the role.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the role was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the role.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

ModifiedBy_Id String True

Unique identifier of the user who last modified the role.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the role was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the role.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the role.

OrganizationId String True

Unique identifier of the organization associated with the role.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OverwriteTime Datetime True

For internal use only.

ParentRoleId_Id String True

Unique identifier of the parent role.

ParentRoleId_LogicalName String True

ParentRoleId_Name String True

ParentRootRoleId_Id String True

Unique identifier of the parent root role.

ParentRootRoleId_LogicalName String True

ParentRootRoleId_Name String True

RoleId String False

Unique identifier of the role.

RoleIdUnique String True

For internal use only.

RoleTemplateId_Id String True

Unique identifier of the role template that is associated with the role.

RoleTemplateId_LogicalName String True

RoleTemplateId_Name String True

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

RolePrivileges

This is a table representing the RolePrivileges entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the role privilege.

ComponentState String True

For internal use only.

IsManaged Boolean True

OverwriteTime Datetime True

For internal use only.

PrivilegeDepthMask Integer False

System-generated attribute that stores the privileges associated with the role.

PrivilegeId String True

Unique identifier of the privilege associated with the role.

RoleId String True

Unique identifier of the role that is associated with the role privilege.

RolePrivilegeId String False

Unique identifier of the role privilege.

RolePrivilegeIdUnique String True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

RoleTemplate

This is a table representing the RoleTemplate entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the role template.

Name String False

Name of the role template.

RoleTemplateId String False

Unique identifier of the role template.

CData Python Connector for Microsoft Dynamics CRM

RoleTemplatePrivileges

This is a table representing the RoleTemplatePrivileges entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the role template.

IsBasic Boolean False

Information about whether the role template applies to the user, the user's team, or objects shared by the user.

IsDeep Boolean False

Information about whether the role template applies to child business units of the business unit associated with the user.

IsGlobal Boolean False

Information about whether the role template applies to the entire organization.

IsLocal Boolean False

Information about whether the role template applies to the user's business unit.

PrivilegeId String True

Unique identifier of the privilege assigned to the role template.

RoleTemplateId String True

Unique identifier of the role template that is associated with the role privilege.

RoleTemplatePrivilegeId String False

Unique identifier of the role template privileges.

CData Python Connector for Microsoft Dynamics CRM

RollupField

This is a table representing the RollupField entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the rollup field.

CreatedBy_Id String True

Unique identifier of the user who created the record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DateAttribute String False

Date field that is validated against the goal time period.

EntityForDateAttribute String False

Entity of the date field.

GoalAttribute String False

Goal rollup field.

ImportSequenceNumber Integer False

Sequence number of the import that created this record.

IsStateParentEntityAttribute Boolean False

Indicates whether state or status belong to the parent entity.

MetricId_Id String False

Unique identifier of the goal metric associated with the rollup field.

MetricId_LogicalName String False

MetricId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who modified the record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

RollupFieldId String False

Unique identifier of the rollup field.

SourceAttribute String False

Field from where data is being rolled up.

SourceEntity String False

Entity from where data is being rolled up.

SourceState Integer False

Status of the source entity that is considered for a rollup.

SourceStatus Integer False

Reason for the source entity that is considered for a rollup.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

SalesLiterature

This is a table representing the SalesLiterature entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the sales literature.

CreatedBy_Id String True

Unique identifier of the user who created the sales literature.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the sales literature was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the salesliterature.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the sales literature.

EmployeeContactId_Id String False

Unique identifier of the user who is responsible for the sales literature.

EmployeeContactId_LogicalName String False

EmployeeContactId_Name String False

ExchangeRate Double True

Exchange rate for the currency associated with the salesliterature with respect to the base currency.

ExpirationDate Datetime False

Date when the sales literature item expires.

HasAttachments Boolean False

Information that specifies whether the sales literature has attachments.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsCustomerViewable Boolean False

Information that specifies whether sales literature is to be visible to customers.

KeyWords String False

Keywords to use for searches in the sales literature.

LiteratureTypeCode String False

Type of sales literature.

ModifiedBy_Id String True

Unique identifier of the user who last modified the sales literature.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the sales literature was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the salesliterature.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the sales literature.

OrganizationId_Id String True

Unique identifier of the organization associated with the sales literature.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

SalesLiteratureId String False

Unique identifier of the sales literature.

SubjectId_Id String False

Unique identifier of the subject of the sales literature.

SubjectId_LogicalName String False

SubjectId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the salesliterature.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

SalesLiteratureItem

This is a table representing the SalesLiteratureItem entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the sales literature item.

Abstract String False

Abstract of the document.

AttachedDocumentUrl String False

URL of the Web site on which the document is located.

AuthorName String False

Author name for the document.

CreatedBy_Id String True

Unique identifier of the user who created the document.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the document was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sales literature item.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DocumentBody String False

Text of the attachment associated with the sales literature.

FileName String False

File name of the document.

FileSize Integer True

File size of the document.

FileTypeCode String False

File type of the document.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsCustomerViewable Boolean False

Information about whether documents are to be visible to customers.

KeyWords String False

Keywords to use for searches in documents.

MimeType String False

MIME type of the document.

ModifiedBy_Id String True

Unique identifier of the user who last modified the document.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the document was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sales literature item.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId String True

Unique identifier of the organization associated with the document.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

SalesLiteratureId_Id String False

Unique identifier of the sales literature that is associated with the individual item.

SalesLiteratureId_LogicalName String False

SalesLiteratureId_Name String False

SalesLiteratureItemId String False

Unique identifier for the document.

Title String False

Title of the document.

CData Python Connector for Microsoft Dynamics CRM

SalesOrder

This is a table representing the SalesOrder entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the sales order.

AccountId_Id String True

Unique identifier of the account associated with the order.

AccountId_LogicalName String True

AccountId_Name String True

BillTo_AddressId String False

Unique identifier of the billing address.

BillTo_City String False

City name in the billing address.

BillTo_ContactName String False

Contact name for the billing address.

BillTo_Country String False

Country/region name in the billing address.

BillTo_Fax String False

Fax number for the billing address.

BillTo_Line1 String False

First line for entering billing address information.

BillTo_Line2 String False

Second line for entering billing address information.

BillTo_Line3 String False

Third line for entering billing address information.

BillTo_Name String False

Name to enter for the billing address.

BillTo_PostalCode String False

ZIP Code or postal code in the billing address.

BillTo_StateOrProvince String False

State or province in the billing address.

BillTo_Telephone String False

Telephone number associated with the billing address.

CampaignId_Id String False

Unique identifier of the source campaign associated with the order.

CampaignId_LogicalName String False

CampaignId_Name String False

ContactId_Id String True

Unique identifier of the contact associated with the order.

ContactId_LogicalName String True

ContactId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the order.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the order was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the salesorder.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomerId_Id String False

Unique identifier for the account or contact associated with the order.

CustomerId_LogicalName String False

CustomerId_Name String False

DateFulfilled Datetime False

Date on which the order was fulfilled.

Description String False

Description of the order.

DiscountAmount Double False

Discount specified as a monetary amount for the order.

DiscountAmount_Base Double True

Base currency equivalent of the discount specified as a monetary amount for the order.

DiscountPercentage Double False

Discount specified as a percentage for the order.

ExchangeRate Double True

Exchange rate for the currency associated with the sales order with respect to the base currency.

FreightAmount Double False

Cost of freight for the order.

FreightAmount_Base Double True

Base currency equivalent of the cost of freight for the order.

FreightTermsCode String False

Freight terms for the order.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsPriceLocked Boolean True

Information that specifies whether the order pricing is locked.

LastBackofficeSubmit Datetime False

Date and time when the order was last submitted to Microsoft Great Plains.

ModifiedBy_Id String True

Unique identifier of the user who last modified the order.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the order was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the salesorder.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the order.

OpportunityId_Id String False

Unique identifier of the opportunity with which the order is associated.

OpportunityId_LogicalName String False

OpportunityId_Name String False

OrderNumber String False

Order number.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the order.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the order.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the order.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the order.

OwningUser_LogicalName String True

OwningUser_Name String True

PaymentTermsCode String False

Payment terms for the order.

PriceLevelId_Id String False

Unique identifier of the price list associated with the order.

PriceLevelId_LogicalName String False

PriceLevelId_Name String False

PricingErrorCode String False

Pricing error for the order.

PriorityCode String False

Priority of the order.

QuoteId_Id String False

Unique identifier of the quote from which the order was created.

QuoteId_LogicalName String False

QuoteId_Name String False

RequestDeliveryBy Datetime False

Requested delivery date for the order.

SalesOrderId String False

Unique identifier of the order.

ShippingMethodCode String False

Method of shipment for the order.

ShipTo_AddressId String False

Unique identifier of the shipping address.

ShipTo_City String False

City name in the shipping address.

ShipTo_ContactName String False

Contact name for the shipping address.

ShipTo_Country String False

Country/region name in the shipping address.

ShipTo_Fax String False

Fax number for the shipping address.

ShipTo_FreightTermsCode String False

Freight terms for the shipping address.

ShipTo_Line1 String False

First line for entering shipping address information.

ShipTo_Line2 String False

Second line for entering shipping address information.

ShipTo_Line3 String False

Third line for entering shipping address information.

ShipTo_Name String False

Name to enter for the shipping address.

ShipTo_PostalCode String False

ZIP Code or postal code in the shipping address.

ShipTo_StateOrProvince String False

State or province in the shipping address.

ShipTo_Telephone String False

Telephone number associated with the shipping address.

StateCode String True

Status of the order.

StatusCode String False

Reason for the status of the order.

SubmitDate Datetime False

Date on which the order was submitted.

SubmitStatus Integer False

Submittal status for the order.

SubmitStatusDescription String False

Description of the submittal status for the order.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TotalAmount Double True

Total amount for the order.

TotalAmount_Base Double True

Base currency equivalent of the total amount for the order.

TotalAmountLessFreight Double True

Total amount minus the freight charges for the order.

TotalAmountLessFreight_Base Double True

Base currency equivalent of the total amount minus the freight charges for the order.

TotalDiscountAmount Double True

Total discount for the order.

TotalDiscountAmount_Base Double True

Base currency equivalent of the total discount for the order.

TotalLineItemAmount Double True

Total line item amount for the order.

TotalLineItemAmount_Base Double True

Base currency equivalent of the total line item amount for the order.

TotalLineItemDiscountAmount Double True

Total line item discount for the order.

TotalLineItemDiscountAmount_Base Double True

Base currency equivalent of the total line item discount for the order.

TotalTax Double True

Total tax for the order.

TotalTax_Base Double True

Base currency equivalent of the total tax for the order.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the sales order.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WillCall Boolean False

Information that specifies whether the customer will call for the ordered products or the products are to be shipped.

CData Python Connector for Microsoft Dynamics CRM

SalesOrderDetail

This is a table representing the SalesOrderDetail entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the sales order detail.

BaseAmount Double True

Price of the order product before discounts are applied and taxes are added.

BaseAmount_Base Double True

Base currency equivalent of the price of the order product before discounts are applied and taxes are added.

CreatedBy_Id String True

Unique identifier of the user who created the order product.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the order product was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the salesorderdetail.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the order product.

ExchangeRate Double True

Exchange rate for the currency associated with the sales order detail with respect to the base currency.

ExtendedAmount Double True

Subtotal of the order product after discounts are applied and taxes are added.

ExtendedAmount_Base Double True

Base currency equivalent of the subtotal of the order product after discounts are applied and taxes are added.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsCopied Boolean False

Information that specifies whether the line was copied from a quote.

IsPriceOverridden Boolean False

Information that specifies whether to override product catalog pricing.

IsProductOverridden Boolean False

Information that specifies whether the product is a write-in product or an existing product.

LineItemNumber Integer False

Line item number for the order product.

ManualDiscountAmount Double False

Customized discount amount for the order product.

ManualDiscountAmount_Base Double True

Base currency equivalent of the customized discount amount for the order product.

ModifiedBy_Id String True

Unique identifier of the user who last modified the order product.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the order product was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the salesorderdetail.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String True

Unique identifier of the user or team who owns the sales order detail.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the order product.

OwningUser String True

Unique identifier of the user who owns the order product.

PricePerUnit Double False

Price per unit for the order product.

PricePerUnit_Base Double True

Base currency equivalent of the price per unit for the order product.

PricingErrorCode String False

Pricing error for the order product.

ProductDescription String False

Product description for the order product.

ProductId_Id String False

Unique identifier of the product associated with the order product.

ProductId_LogicalName String False

ProductId_Name String False

Quantity Double False

Quantity specified for the order product.

QuantityBackordered Double False

Quantity that has been backordered for the order product.

QuantityCancelled Double False

Quantity that was canceled for the order product.

QuantityShipped Double False

Quantity shipped for the product specified on the order.

RequestDeliveryBy Datetime False

Requested delivery date for the order product.

SalesOrderDetailId String False

Unique identifier of the product specified in the order.

SalesOrderId_Id String False

Unique identifier of the order that is associated with the order product.

SalesOrderId_LogicalName String False

SalesOrderId_Name String False

SalesOrderIsPriceLocked Boolean True

Information that specifies whether the order product pricing is locked.

SalesOrderStateCode String True

Status of the order product.

SalesRepId_Id String False

Unique identifier of the salesperson associated with the order product.

SalesRepId_LogicalName String False

SalesRepId_Name String False

ShipTo_AddressId String False

Unique identifier of the shipping address.

ShipTo_City String False

City name in the shipping address.

ShipTo_ContactName String False

Contact name for the shipping address.

ShipTo_Country String False

Country/region name in the shipping address.

ShipTo_Fax String False

Fax number for the shipping address.

ShipTo_FreightTermsCode String False

Freight terms for the shipping address.

ShipTo_Line1 String False

First line for entering shipping address information.

ShipTo_Line2 String False

Second line for entering shipping address information.

ShipTo_Line3 String False

Third line for entering shipping address information.

ShipTo_Name String False

Name to enter for the shipping address.

ShipTo_PostalCode String False

ZIP Code or postal code in the shipping address.

ShipTo_StateOrProvince String False

State or province in the shipping address.

ShipTo_Telephone String False

Telephone number associated with the shipping address.

Tax Double False

Tax amount for the order product.

Tax_Base Double True

Base currency equivalent of the tax amount for the order product.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the sales order detail.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UoMId_Id String False

Unique identifier for the unit that is associated with the order product.

UoMId_LogicalName String False

UoMId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

VolumeDiscountAmount Double True

Volume discount amount for the order product.

VolumeDiscountAmount_Base Double True

Base currency equivalent of the volume discount amount for the order product.

WillCall Boolean False

Specifies whether the customer will call for the ordered products or the products are to be shipped.

CData Python Connector for Microsoft Dynamics CRM

SalesProcessInstance

This is a table representing the SalesProcessInstance entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the sales process instance.

BusinessUnitId_Id String True

BusinessUnitId_LogicalName String True

BusinessUnitId_Name String True

OpportunityId_Id String True

OpportunityId_LogicalName String True

OpportunityId_Name String True

SalesProcessInstanceId String True

SalesProcessName String True

SalesStageName String True

CData Python Connector for Microsoft Dynamics CRM

SavedQuery

This is a table representing the SavedQuery entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the view.

AdvancedGroupBy String False

Advanced Group By column.

ColumnSetXml String False

Definition of the columns included in the view.

ComponentState String True

For internal use only.

ConditionalFormatting String False

Conditional formatting of this view

CreatedBy_Id String True

Unique identifier of the user who created the view.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the view was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the savedquery.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the view.

FetchXml String False

String specifying the query in Fetch XML language.

IsCustomizable Boolean False

Information that specifies whether the view can be customized.

IsDefault Boolean False

Information that specifies a default view.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

IsPrivate Boolean True

Indicates whether or not this is viewable by the entire organization.

IsQuickFindQuery Boolean False

Information that specifies a quick find view.

IsUserDefined Boolean True

Information that specifies whether the query was created by a user.

LayoutXml String False

For internal use only.

ModifiedBy_Id String True

Unique identifier of the user who last modified the view.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the view was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the savedquery.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the view.

OrganizationId_Id String True

Unique identifier of the organization associated with the view.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OrganizationTabOrder Integer True

Default Organization tab order

OverwriteTime Datetime True

For internal use only.

QueryAPI String True

For internal use only.

QueryAppUsage Integer False

For internal use only.

QueryType Integer False

Type of the view.

ReturnedTypeCode Integer False

Type of entity displayed in the view.

SavedQueryId String False

Unique identifier of the view.

SavedQueryIdUnique String True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

StateCode String True

Status of the view.

StatusCode String False

Reason for the status of the view.

CData Python Connector for Microsoft Dynamics CRM

SavedQueryVisualization

This is a table representing the SavedQueryVisualization entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the system chart.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the system chart.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the system chart was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the system chart.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DataDescription String False

XML string used to define the underlying data for the system chart.

Description String False

Description of the system chart.

IsDefault Boolean False

Indicates whether the system chart is the default chart for the entity.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

ModifiedBy_Id String True

Unique identifier of the user who last modified the system chart.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the system chart was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the system chart.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the system chart.

OrganizationId_Id String True

Unique identifier of the organization associated with the system chart.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

PresentationDescription String False

XML string used to define the presentation properties of the system chart.

PrimaryEntityTypeCode Integer False

Type of entity with which the system chart is attached.

SavedQueryVisualizationId String False

Unique identifier of the system chart.

SavedQueryVisualizationIdUnique String True

For internal use only.

SolutionId String True

Unique identifier of the associated solution.

WebResourceId_Id String False

Unique identifier of the Web resource that will be displayed in the system chart.

WebResourceId_LogicalName String False

WebResourceId_Name String False

CData Python Connector for Microsoft Dynamics CRM

SdkMessage

This is a table representing the SdkMessage entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message.

AutoTransact Boolean False

Information about whether the SDK message is automatically transacted.

Availability Integer False

Identifies where a method will be exposed. 0 - Server, 1 - Client, 2 - both.

CategoryName String False

If this is a categorized method, this is the name, otherwise None.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessage.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message.

Expand Boolean False

Indicates whether the SDK message should have its requests expanded per primary entity defined in its filters.

IsPrivate Boolean False

Indicates whether the SDK message is private.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessage.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the SDK message.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

SdkMessageId String False

Unique identifier of the SDK message entity.

SdkMessageIdUnique String True

Unique identifier of the SDK message.

Template Boolean False

Indicates whether the SDK message is a template.

ThrottleSettings String True

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageFilter

This is a table representing the SdkMessageFilter entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message filter.

Availability Integer False

Identifies where a method will be exposed. 0 - Server, 1 - Client, 2 - both.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message filter.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message filter was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessagefilter.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message filter.

IsCustomProcessingStepAllowed Boolean False

Indicates whether a custom SDK message processing step is allowed.

IsVisible Boolean True

Indicates whether the filter should be visible.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message filter.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message filter was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessagefilter.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message filter is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PrimaryObjectTypeCode String True

Type of entity with which the SDK message filter is primarily associated.

SdkMessageFilterId String False

Unique identifier of the SDK message filter entity.

SdkMessageFilterIdUnique String True

Unique identifier of the SDK message filter.

SdkMessageId_Id String False

Unique identifier of the related SDK message.

SdkMessageId_LogicalName String False

SdkMessageId_Name String False

SecondaryObjectTypeCode String True

Type of entity with which the SDK message filter is secondarily associated.

CData Python Connector for Microsoft Dynamics CRM

SdkMessagePair

This is a table representing the SdkMessagePair entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message pair.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message pair.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message pair was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessagepair.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message filter.

Endpoint String False

Endpoint that the message pair is associated with.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message pair.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message pair was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessagepair.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Namespace String False

Namespace that the message pair is associated with.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message pair is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

SdkMessageId_Id String True

Unique identifier of the message with which the SDK message pair is associated.

SdkMessageId_LogicalName String True

SdkMessageId_Name String True

SdkMessagePairId String False

Unique identifier of the SDK message pair entity.

SdkMessagePairIdUnique String True

Unique identifier of the SDK message pair.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageProcessingStep

This is a table representing the SdkMessageProcessingStep entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message processing step.

AsyncAutoDelete Boolean False

Indicates whether the asynchronous system job is automatically deleted on completion.

ComponentState String True

For internal use only.

Configuration String False

Step-specific configuration for the plug-in type. Passed to the plug-in constructor at run time.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message processing step.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message processing step was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessageprocessingstep.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message processing step.

Description String False

Description of the SDK message processing step.

EventHandler_Id String False

Unique identifier of the associated event handler.

EventHandler_LogicalName String False

EventHandler_Name String False

FilteringAttributes String False

Comma-separated list of attributes. If at least one of these attributes is modified, the plug-in should execute.

ImpersonatingUserId_Id String False

Unique identifier of the user to impersonate context when step is executed.

ImpersonatingUserId_LogicalName String False

ImpersonatingUserId_Name String False

InvocationSource String False

Identifies if a plug-in should be executed from a parent pipeline, a child pipeline, or both.

IsManaged Boolean True

Information that specifies whether this component is managed.

Mode String False

Run-time mode of execution, for example, synchronous or asynchronous.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message processing step.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message processing step was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessageprocessingstep.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of SdkMessage processing step.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message processing step is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

PluginTypeId_Id String False

Unique identifier of the plug-in type associated with the step.

PluginTypeId_LogicalName String False

PluginTypeId_Name String False

Rank Integer False

Processing order within the stage.

SdkMessageFilterId_Id String False

Unique identifier of the SDK message filter.

SdkMessageFilterId_LogicalName String False

SdkMessageFilterId_Name String False

SdkMessageId_Id String False

Unique identifier of the SDK message.

SdkMessageId_LogicalName String False

SdkMessageId_Name String False

SdkMessageProcessingStepId String False

Unique identifier of the SDK message processing step entity.

SdkMessageProcessingStepIdUnique String True

Unique identifier of the SDK message processing step.

SdkMessageProcessingStepSecureConfigId_Id String False

Unique identifier of the Sdk message processing step secure configuration.

SdkMessageProcessingStepSecureConfigId_LogicalName String False

SdkMessageProcessingStepSecureConfigId_Name String False

SolutionId String True

Unique identifier of the associated solution.

Stage String False

Stage in the execution pipeline that the SDK message processing step is in.

StateCode String True

Status of the SDK message processing step.

StatusCode String False

Reason for the status of the SDK message processing step.

SupportedDeployment String False

Deployment that the SDK message processing step should be executed on; server, client, or both.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageProcessingStepImage

This is a table representing the SdkMessageProcessingStepImage entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message procesing step image.

Attributes String False

Comma-separated list of attributes that are to be passed into the SDK message processing step image.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message processing step image.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message processing step image was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessageprocessingstepimage.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message processing step image.

Description String False

Description of the SDK message processing step image.

EntityAlias String False

Key name used to access the pre-image or post-image property bags in a step.

ImageType String False

Type of image requested.

IsManaged Boolean True

MessagePropertyName String False

Name of the property on the Request message.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message processing step.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message processing step was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessageprocessingstepimage.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of SdkMessage processing step image.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message processing step is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

RelatedAttributeName String False

Name of the related entity.

SdkMessageProcessingStepId_Id String False

Unique identifier of the SDK message processing step.

SdkMessageProcessingStepId_LogicalName String False

SdkMessageProcessingStepId_Name String False

SdkMessageProcessingStepImageId String False

Unique identifier of the SDK message processing step image entity.

SdkMessageProcessingStepImageIdUnique String True

Unique identifier of the SDK message processing step image.

SolutionId String True

Unique identifier of the associated solution.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageProcessingStepSecureConfig

This is a table representing the SdkMessageProcessingStepSecureConfig entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message processing step.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message processing step.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message processing step was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessageprocessingstepsecureconfig.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message processing step secure configuration.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message processing step.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message processing step was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessageprocessingstepsecureconfig.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message processing step is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

SdkMessageProcessingStepSecureConfigId String False

Unique identifier of the SDK message processing step secure configuration.

SdkMessageProcessingStepSecureConfigIdUnique String True

Unique identifier of the SDK message processing step.

SecureConfig String False

Secure step-specific configuration for the plug-in type that is passed to the plug-in's constructor at run time.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageRequest

This is a table representing the SdkMessageRequest entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message request.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message request.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message request was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessagerequest.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message request.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message request.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message request was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessagerequest.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the SDK message request.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message request is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PrimaryObjectTypeCode String True

Type of entity with which the SDK request is associated.

SdkMessagePairId_Id String True

Unique identifier of the message pair with which the SDK message request is associated.

SdkMessagePairId_LogicalName String True

SdkMessagePairId_Name String True

SdkMessageRequestId String False

Unique identifier of the SDK message request entity.

SdkMessageRequestIdUnique String True

Unique identifier of the SDK message request.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageRequestField

This is a table representing the SdkMessageRequestField entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message request field.

ClrParser String False

Common language runtime (CLR)-based parser for the SDK message request field.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message request field.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message request field was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessagerequestfield.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message request field.

FieldMask Integer True

Indicates how field contents are used during message processing. 1 - Primary entity, 2- Secondary entity

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message request field.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message request field was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessagerequestfield.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the SDK message request field.

Optional Boolean False

Information about whether SDK message request field is optional.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message request field is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

Parser String False

Parser for the SDK message request field.

Position Integer True

Position of the Sdk message request field

PublicName String False

Public name of the SDK message request field.

SdkMessageRequestFieldId String False

Unique identifier of the SDK message request field entity.

SdkMessageRequestFieldIdUnique String True

Entity identifier of the SDK message request field.

SdkMessageRequestId_Id String True

Unique identifier of the message request with which the SDK message request field is associated.

SdkMessageRequestId_LogicalName String True

SdkMessageRequestId_Name String True

CData Python Connector for Microsoft Dynamics CRM

SdkMessageResponse

This is a table representing the SdkMessageResponse entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message response.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message response.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message response was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessageresponse.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message response.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message response.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message response was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessageresponse.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message response is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

SdkMessageRequestId_Id String True

Unique identifier of the message request with which the SDK message response is associated.

SdkMessageRequestId_LogicalName String True

SdkMessageRequestId_Name String True

SdkMessageResponseId String False

Unique identifier of the SDK message response entity.

SdkMessageResponseIdUnique String True

Unique identifier of the SDK message response.

CData Python Connector for Microsoft Dynamics CRM

SdkMessageResponseField

This is a table representing the SdkMessageResponseField entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SDK message response field.

ClrFormatter String False

Common language runtime (CLR)-based formatter of the SDK message response field.

CreatedBy_Id String True

Unique identifier of the user who created the SDK message response field.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SDK message response field was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the sdkmessageresponsefield.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomizationLevel Integer True

Customization level of the SDK message response field.

Formatter String False

Formatter for the SDK message response field.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SDK message response field.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SDK message response field was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the sdkmessageresponsefield.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the SDK message response field.

OrganizationId_Id String True

Unique identifier of the organization with which the SDK message response field is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

Position Integer True

Position of the Sdk message response field

PublicName String False

Public name of the SDK message response field.

SdkMessageResponseFieldId String False

Unique identifier of the SDK message response field entity.

SdkMessageResponseFieldIdUnique String True

Unique identifier of the SDK message response field.

SdkMessageResponseId_Id String True

Unique identifier of the message response with which the SDK message response field is associated.

SdkMessageResponseId_LogicalName String True

SdkMessageResponseId_Name String True

Value String False

Actual value of the SDK message response field.

CData Python Connector for Microsoft Dynamics CRM

SemiAnnualFiscalCalendar

This is a table representing the SemiAnnualFiscalCalendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the semiannual fiscal calendar.

BusinessUnitId_Id String True

Unique identifier of the business unit with which the calendar is associated.

BusinessUnitId_LogicalName String True

BusinessUnitId_Name String True

CreatedBy_Id String True

Unique identifier of the user who created the semiannual fiscal calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the quota for the semiannual fiscal calendar was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the SemiAnnualFiscalCalendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EffectiveOn Datetime False

Date and time when the semiannual fiscal calendar sales quota takes effect.

ExchangeRate Double True

Exchange rate for the currency associated with the semiannual fiscal calendar with respect to the base currency.

firsthalf Double False

Sales quota for the first half of the fiscal year.

firsthalf_base Double True

Base currency equivalent for the sales quota for the first half of the fiscal year.

FiscalPeriodType Integer True

Type of fiscal period used in the sales quota.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the semiannual fiscal calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the semiannual fiscal calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the SemiAnnualFiscalCalendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

SalesPersonId_Id String False

Unique identifier of the associated salesperson.

SalesPersonId_LogicalName String False

SalesPersonId_Name String False

secondhalf Double False

Sales quota for the second half of the fiscal year.

secondhalf_base Double True

Base currency equivalent of the sales quota for the second half of the fiscal year.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the semiannual fiscal calendar.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UserFiscalCalendarId String False

Unique identifier for the user who created the semiannual fiscal calendar.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Service

This is a table representing the Service entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the service.

AnchorOffset Integer False

Used in conjunction with granularity to describes when services can be performed in relation to midnight on a given day.

CalendarId String False

Unique identifier of the calendar.

CreatedBy_Id String True

Unique identifier of the user who created the service.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the service was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the service.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of activity that represents work done to satisfy a customer's need.

Duration Integer False

Duration of the service.

Granularity String False

Describes how often the service is performed.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

InitialStatusCode String False

Initial status reason for the service activity.

IsSchedulable Boolean False

Information about whether the service can be scheduled.

IsVisible Boolean False

Information about whether the service is visible to users.

ModifiedBy_Id String True

Unique identifier of the user who last modified the service.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the service was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the service.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the service.

OrganizationId_Id String True

Unique identifier of the organization with which the service is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

ResourceSpecId_Id String False

Unique identifier of the resource specification with which the service is associated.

ResourceSpecId_LogicalName String False

ResourceSpecId_Name String False

ServiceId String False

Unique identifier of the associated service.

ShowResources Boolean False

For internal use only.

StrategyId_Id String False

Value that is taken from PluginTypeId in the Plugin Type record for the scheduling strategy. This is the ID of the scheduling strategy plug-in associated with the service.

StrategyId_LogicalName String False

StrategyId_Name String False

CData Python Connector for Microsoft Dynamics CRM

ServiceAppointment

This is a table representing the ServiceAppointment entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the service activity.

ActivityId String False

Unique identifier of the service activity.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the service activity in minutes.

ActualEnd Datetime False

Actual end time of the service activity.

ActualStart Datetime False

Actual start time of the service activity.

Category String False

Category of the service activity.

CreatedBy_Id String True

Unique identifier of the user who created the service activity.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the service activity was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the serviceappointment.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Customers_Ids String False

Customers for whom the service activity is performed.

Customers_LogicalNames String False

Customers_Names String False

Description String False

Description of the service activity.

ExchangeRate Double True

Exchange rate for the currency associated with the serviceappointment with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsAllDayEvent Boolean False

Information which specifies if the service activity is an all day event.

IsBilled Boolean False

Information which specifies whether the service activity was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information which specifies if the service activity was created from a workflow rule.

Location String False

Location where the service activity is to occur.

ModifiedBy_Id String True

Unique identifier of the user who last modified the service activity.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the service activity was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the serviceappointment.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the service activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the service activity.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the service activity.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user that owns the service activity.

OwningUser_LogicalName String True

OwningUser_Name String True

PriorityCode String False

Priority of the service activity.

RegardingObjectId_Id String False

Unique identifier of the object with which the service activity is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

Resources_Ids String False

Users or facility/equipment that are required for the service activity.

Resources_LogicalNames String False

Resources_Names String False

ScheduledDurationMinutes Integer False

Scheduled duration of the service activity, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the service activity.

ScheduledStart Datetime False

Scheduled start time of the service activity.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

SiteId_Id String False

Site where the service activity is located.

SiteId_LogicalName String False

SiteId_Name String False

StateCode String True

Status of the service activity.

StatusCode String False

Reason for the status of the service activity.

Subcategory String False

Sub-category of the activity.

Subject String False

Subject associated with the service activity.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the serviceappointment.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

ServiceContractContacts

This is a table representing the ServiceContractContacts entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the contact of the service contract.

ContactId String True

ContractId String True

ServiceContractContactId String False

Unique identifier of the contact of the service contract.

ServiceLevel Integer False

CData Python Connector for Microsoft Dynamics CRM

ServiceEndpoint

This is a table representing the ServiceEndpoint entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the service endpoint.

ComponentState String True

For internal use only.

ConnectionMode String False

Connection mode to contact the service endpoint.

Contract String False

Type of the endpoint contract.

CreatedBy_Id String True

Unique identifier of the user who created the service endpoint.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the service endpoint was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the service endpoint.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the service endpoint.

IsManaged Boolean True

Information that specifies whether this component is managed.

ModifiedBy_Id String True

Unique identifier of the user who last modified the service endpoint.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the service endpoint was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the service endpoint.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of Service end point.

OrganizationId_Id String True

Unique identifier of the organization with which the service endpoint is associated.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

Path String False

Path to the service endpoint.

ServiceEndpointId String False

Unique identifier of the service endpoint.

ServiceEndpointIdUnique String True

Unique identifier of the service endpoint.

SolutionId String True

Unique identifier of the associated solution.

SolutionNamespace String False

Namespace of the App Fabric solution.

UserClaim String False

Additional user claim value type.

CData Python Connector for Microsoft Dynamics CRM

SharePointDocumentLocation

This is a table representing the SharePointDocumentLocation entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SharePoint document location.

AbsoluteURL String False

Absolute URL of the SharePoint document location.

CreatedBy_Id String True

Unique identifier of the user who created the SharePoint document location record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SharePoint document location record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the SharePoint document location record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the SharePoint document location record.

ExchangeRate Double True

Exchange rate between the currency associated with the SharePoint document location record and the base currency.

ImportSequenceNumber Integer False

Sequence number of the import that created the SharePoint document location record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SharePoint document location record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SharePoint document location record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the SharePoint document location record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the SharePoint document location record.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the SharePoint document location record.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the SharePoint document location record.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the SharePoint document location record.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the SharePoint document location record.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentSiteOrLocation_Id String False

Unique identifier of the parent site or location.

ParentSiteOrLocation_LogicalName String False

ParentSiteOrLocation_Name String False

RegardingObjectId_Id String False

Unique identifier of the object with which the SharePoint document location record is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

RelativeUrl String False

Relative URL of the SharePoint document location.

SharePointDocumentLocationId String False

Unique identifier of the SharePoint document location record.

SiteCollectionId String True

For internal use only.

StateCode String True

Status of the SharePoint document location record.

StatusCode String False

Reason for the status of the SharePoint document location record.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the SharePoint document location record.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

SharePointSite

This is a table representing the SharePointSite entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SharePoint site.

AbsoluteURL String False

Absolute URL of the SharePoint site.

CreatedBy_Id String True

Unique identifier of the user who created the SharePoint site record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the SharePoint site record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the SharePoint site record.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the SharePoint site record.

ExchangeRate Double True

Exchange rate between the currency associated with the SharePoint site record and the base currency.

FolderStructureEntity String False

Entity on which the folder structure for Microsoft Dynamics CRM records will be created in SharePoint.

ImportSequenceNumber Integer False

Sequence number of the import that created this record.

IsDefault Boolean False

Indicates whether the SharePoint site is the default site or not.

IsGridPresent Boolean False

Indicates if SharePoint Grid is present or not.

LastValidated Datetime False

Date and time when the SharePoint site URL was last validated.

ModifiedBy_Id String True

Unique identifier of the user who last modified the SharePoint site record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the SharePoint site record was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the SharePoint site record.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the SharePoint site record.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the SharePoint site.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier for the business unit that owns the document location record.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the SharePoint site record.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the SharePoint site record.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentSite_Id String False

Unique identifier of the parent SharePoint site.

ParentSite_LogicalName String False

ParentSite_Name String False

RelativeUrl String False

Relative URL of the SharePoint site.

SharePointSiteId String False

Unique identifier of the SharePoint site in CRM

SiteCollectionId String True

For internal use only.

StateCode String True

Status of the SharePoint site record.

StatusCode String False

Reason for the status of the SharePoint site record.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String True

Unique identifier of the currency associated with the SharePoint site record.

TransactionCurrencyId_LogicalName String True

TransactionCurrencyId_Name String True

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

ValidationStatus String False

Validation status of the SharePoint site URL.

ValidationStatusErrorCode String False

Reason for validation status of the URL

CData Python Connector for Microsoft Dynamics CRM

Site

This is a table representing the Site entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the site.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name for address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2, such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name for address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

CreatedBy_Id String True

Unique identifier of the user who created the site.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the site was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the site.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EMailAddress String False

email address for the site.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the site.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the site was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the site.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the site.

OrganizationId String True

Unique identifier of the organization with which the site is associated.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

SiteId String False

Unique identifier of the site.

TimeZoneCode Integer False

Local time zone for the site.

CData Python Connector for Microsoft Dynamics CRM

SiteMap

This is a table representing the SiteMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the site map.

ComponentState String True

IsManaged Boolean True

OrganizationId_Id String True

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

SiteMapId String True

SiteMapIdUnique String True

SiteMapXml String False

SolutionId String True

CData Python Connector for Microsoft Dynamics CRM

Solution

This is a table representing the Solution entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the solution.

ConfigurationPageId_Id String False

A link to an optional configuration page for this solution.

ConfigurationPageId_LogicalName String False

ConfigurationPageId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the solution.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the solution was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the solution.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the solution.

FriendlyName String False

User display name for the solution.

InstalledOn Datetime True

Date and time when the solution was installed/upgraded.

IsManaged Boolean True

Indicates whether the solution is managed or unmanaged.

IsVisible Boolean True

Indicates whether the solution is visible outside of the platform.

ModifiedBy_Id String True

Unique identifier of the user who last modified the solution.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the solution was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the solution.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the solution.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PinpointAssetId String True

PinpointSolutionDefaultLocale String True

Default locale of the solution in Microsoft Pinpoint.

PublisherId_Id String False

Unique identifier of the publisher.

PublisherId_LogicalName String False

PublisherId_Name String False

SolutionId String False

Unique identifier of the solution.

UniqueName String False

The unique name of this solution

Version String False

Solution version, used to identify a solution for upgrades and hotfixes.

CData Python Connector for Microsoft Dynamics CRM

SolutionComponent

This is a table representing the SolutionComponent entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the solution component.

ComponentType String True

The object type code of the component.

CreatedBy_Id String True

Unique identifier of the user who created the solution

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the solution was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the solution.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

IsMetadata Boolean True

Indicates whether this component is metadata or data.

ModifiedBy_Id String True

Unique identifier of the user who last modified the solution.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the solution was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the solution.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ObjectId String True

Unique identifier of the object with which the component is associated.

SolutionComponentId String True

Unique identifier of the solution component.

SolutionId_Id String True

Unique identifier of the solution.

SolutionId_LogicalName String True

SolutionId_Name String True

CData Python Connector for Microsoft Dynamics CRM

StatusMap

This is a table representing the StatusMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the status map.

IsDefault Boolean False

ObjectTypeCode String True

OrganizationId String True

State Integer True

Status Integer True

StatusMapId String False

Unique identifier of the status map.

CData Python Connector for Microsoft Dynamics CRM

StringMap

This is a table representing the StringMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the string map.

AttributeName String True

AttributeValue Integer True

DisplayOrder Integer False

LangId Integer True

ObjectTypeCode String True

OrganizationId String True

StringMapId String False

Unique identifier of the string map.

Value String False

CData Python Connector for Microsoft Dynamics CRM

Subject

This is a table representing the Subject entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the subject.

CreatedBy_Id String True

Unique identifier of the user who created the subject.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the subject was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the subject.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the subject.

FeatureMask Integer False

Information that specifies when the subject will be displayed in lists of subjects.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the subject.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the subject was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the subject.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier for the organization associated with the subject.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

ParentSubject_Id String False

Unique identifier of the parent subject.

ParentSubject_LogicalName String False

ParentSubject_Name String False

SubjectId String False

Unique identifier of the subject.

Title String False

Title of the subject.

CData Python Connector for Microsoft Dynamics CRM

Subscription

This is a table representing the Subscription entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the subscription.

CompletedSyncStartedOn Datetime True

UTC time when the last successfully completed synchronization was started. This is the difference between local time and standard Coordinated Universal Time.

LastSyncStartedOn Datetime True

For internal use only.

MachineName String False

For internal use only.

ReInitialize Boolean False

Database time stamp at the start time of the last successfully completed synchronization.

SubscriptionId String True

For internal use only.

SubscriptionType Integer False

For internal use only.

SyncEntryTableName String True

For internal use only.

SystemUserId String True

For internal use only.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

SubscriptionClients

This is a table representing the SubscriptionClients entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the subscription client.

ClientId String True

For internal use only.

IsPrimaryClient Boolean True

For internal use only.

MachineName String False

For internal use only.

SubscriptionClientId String True

For internal use only.

SubscriptionId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

SubscriptionManuallyTrackedObject

This is a table representing the SubscriptionManuallyTrackedObject entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SubscriptionTrackingDeletedObject.

ObjectId String False

Unique identifier of the object with which the subscription is associated.

ObjectTypeCode String False

Type code of the object with which the subscription is associated.

SubscriptionId String False

Unique identifier of the subscription.

SubscriptionManuallyTrackedObjectId String False

For internal use only.

Track Boolean False

Information that specifies if the object is tracked.

CData Python Connector for Microsoft Dynamics CRM

SubscriptionSyncInfo

This is a table representing the SubscriptionSyncInfo entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SubscriptionSyncInfo entity.

ClientVersion String False

Client (subscriber) version number.

DataSize Integer False

For internal use only.

DeleteObjectCount Integer False

For internal use only.

EndTime Datetime True

For internal use only.

InsertObjectCount Integer False

For internal use only.

StartTime Datetime True

For internal use only.

SubscriptionId_Id String False

For internal use only.

SubscriptionId_LogicalName String False

SubscriptionId_Name String False

SubscriptionSyncInfoId Integer True

For internal use only.

SyncResult Boolean False

For internal use only.

TimeZoneRuleVersionNumber Integer False

For internal use only.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

SubscriptionTrackingDeletedObject

This is a table representing the SubscriptionTrackingDeletedObject entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SubscriptionTrackingDeletedObject.

CData Python Connector for Microsoft Dynamics CRM

SystemForm

This is a table representing the SystemForm entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the form or dashboard.

AncestorFormId_Id String False

Unique identifier of the parent form.

AncestorFormId_LogicalName String False

AncestorFormId_Name String False

ComponentState String True

For internal use only.

Description String False

Description of the form or dashboard.

FormId String False

Unique identifier of the record type form.

FormIdUnique String True

Unique identifier of the form used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook.

FormXml String False

XML representation of the form layout.

IsDefault Boolean False

Information that specifies whether the form or the dashboard is the system default.

IsManaged Boolean True

Name String False

Name of the form.

ObjectTypeCode String False

Code that represents the record type.

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

PublishedOn Datetime True

SolutionId String True

Unique identifier of the associated solution.

Type String False

Type of the form, for example, Dashboard or Preview.

Version Integer False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

SystemUser

This is a table representing the SystemUser entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user.

AccessMode String False

Type of user.

Address1_AddressId String False

Unique identifier for address 1.

Address1_AddressTypeCode String False

Type of address for address 1, such as billing, shipping, or primary address.

Address1_City String False

City name for address 1.

Address1_Country String False

Country/region name in address 1.

Address1_County String False

County name for address 1.

Address1_Fax String False

Fax number for address 1.

Address1_Latitude Double False

Latitude for address 1.

Address1_Line1 String False

First line for entering address 1 information.

Address1_Line2 String False

Second line for entering address 1 information.

Address1_Line3 String False

Third line for entering address 1 information.

Address1_Longitude Double False

Longitude for address 1.

Address1_Name String False

Name to enter for address 1.

Address1_PostalCode String False

ZIP Code or postal code for address 1.

Address1_PostOfficeBox String False

Post office box number for address 1.

Address1_ShippingMethodCode String False

Method of shipment for address 1.

Address1_StateOrProvince String False

State or province for address 1.

Address1_Telephone1 String False

First telephone number associated with address 1.

Address1_Telephone2 String False

Second telephone number associated with address 1.

Address1_Telephone3 String False

Third telephone number associated with address 1.

Address1_UPSZone String False

United Parcel Service (UPS) zone for address 1.

Address1_UTCOffset Integer False

UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Address2_AddressId String False

Unique identifier for address 2.

Address2_AddressTypeCode String False

Type of address for address 2, such as billing, shipping, or primary address.

Address2_City String False

City name for address 2.

Address2_Country String False

Country/region name in address 2.

Address2_County String False

County name for address 2.

Address2_Fax String False

Fax number for address 2.

Address2_Latitude Double False

Latitude for address 2.

Address2_Line1 String False

First line for entering address 2 information.

Address2_Line2 String False

Second line for entering address 2 information.

Address2_Line3 String False

Third line for entering address 2 information.

Address2_Longitude Double False

Longitude for address 2.

Address2_Name String False

Name to enter for address 2.

Address2_PostalCode String False

ZIP Code or postal code for address 2.

Address2_PostOfficeBox String False

Post office box number for address 2.

Address2_ShippingMethodCode String False

Method of shipment for address 2.

Address2_StateOrProvince String False

State or province for address 2.

Address2_Telephone1 String False

First telephone number associated with address 2.

Address2_Telephone2 String False

Second telephone number associated with address 2.

Address2_Telephone3 String False

Third telephone number associated with address 2.

Address2_UPSZone String False

United Parcel Service (UPS) zone for address 2.

Address2_UTCOffset Integer False

UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

BusinessUnitId_Id String False

Unique identifier of the business unit with which the user is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

CalendarId_Id String False

Fiscal calendar associated with the user.

CalendarId_LogicalName String False

CalendarId_Name String False

CALType String False

License type of user.

CreatedBy_Id String True

Unique identifier of the user who created the user.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the user was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the systemuser.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DefaultFiltersPopulated Boolean True

Indicates if default outlook filters have been populated.

DisabledReason String True

Reason for disabling the user.

DisplayInServiceViews Boolean False

Whether to display the user in service views.

DomainName String False

Active Directory domain of which the user is a member.

EmailRouterAccessApproval String False

Shows the status of the primary email address.

EmployeeId String False

Employee identifier for the user.

ExchangeRate Double True

Exchange rate for the currency associated with the systemuser with respect to the base currency.

FirstName String False

First name of the user.

FullName String True

Full name of the user.

GovernmentId String False

Government identifier for the user.

HomePhone String False

Home phone number for the user.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IncomingEmailDeliveryMethod String False

Incoming email delivery method for the user.

InternalEMailAddress String False

Internal email address for the user.

InviteStatusCode String False

User invitation status.

IsDisabled Boolean True

Information about whether the user is enabled.

IsIntegrationUser Boolean False

Check if user is an integration user.

JobTitle String False

Job title of the user.

LastName String False

Last name of the user.

MiddleName String False

Middle name of the user.

MobileAlertEMail String False

Mobile alert email address for the user.

MobilePhone String False

Mobile phone number for the user.

ModifiedBy_Id String True

Unique identifier of the user who last modified the user.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the user was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the systemuser.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NickName String False

Nickname of the user.

OrganizationId String True

Unique identifier of the organization associated with the user.

OutgoingEmailDeliveryMethod String False

Outgoing email delivery method for the user.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

ParentSystemUserId_Id String False

Unique identifier of the manager of the user.

ParentSystemUserId_LogicalName String False

ParentSystemUserId_Name String False

PassportHi Integer False

For internal use only.

PassportLo Integer False

For internal use only.

PersonalEMailAddress String False

Personal email address of the user.

PhotoUrl String False

URL for the Web site on which a photo of the user is located.

PreferredAddressCode String False

Preferred address for the user.

PreferredEmailCode String False

Preferred email address for the user.

PreferredPhoneCode String False

Preferred phone number for the user.

QueueId_Id String False

Unique identifier of the default queue for the user.

QueueId_LogicalName String False

QueueId_Name String False

Salutation String False

Salutation for correspondence with the user.

SetupUser Boolean False

Check if user is a setup user.

SiteId_Id String False

Site at which the user is located.

SiteId_LogicalName String False

SiteId_Name String False

Skills String False

Skill set of the user.

SystemUserId String False

Unique identifier for the user.

TerritoryId_Id String False

Unique identifier of the territory to which the user is assigned.

TerritoryId_LogicalName String False

TerritoryId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

Title String False

Title of the user.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the systemuser.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

WindowsLiveID String False

Windows Live ID

YomiFirstName String False

Pronunciation of the first name of the user, written in phonetic hiragana or katakana characters.

YomiFullName String True

Pronunciation of the full name of the user, written in phonetic hiragana or katakana characters.

YomiLastName String False

Pronunciation of the last name of the user, written in phonetic hiragana or katakana characters.

YomiMiddleName String False

Pronunciation of the middle name of the user, written in phonetic hiragana or katakana characters.

CData Python Connector for Microsoft Dynamics CRM

SystemUserBusinessUnitEntityMap

This is a table representing the SystemUserBusinessUnitEntityMap entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SystemUserBusinessUnitEntityMap.

BusinessUnitId String True

ObjectTypeCode String True

ReadPrivilegeDepth Integer True

SystemUserBusinessUnitEntityMapId String False

Unique identifier of the SystemUserBusinessUnitEntityMap.

SystemUserId String True

CData Python Connector for Microsoft Dynamics CRM

SystemUserLicenses

This is a table representing the SystemUserLicenses entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user licenses.

LicenseId String True

SystemUserId String True

SystemUserLicenseId String False

Unique identifier of the user licenses.

CData Python Connector for Microsoft Dynamics CRM

SystemUserPrincipals

This is a table representing the SystemUserPrincipals entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SystemUserPrincipal.

PrincipalId String False

For internal use only.

SystemUserId String False

For internal use only.

SystemUserPrincipalId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

SystemUserProfiles

This is a table representing the SystemUserProfiles entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SystemUserProfile.

FieldSecurityProfileId String True

SystemUserId String True

SystemUserProfileId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

SystemUserRoles

This is a table representing the SystemUserRoles entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the SystemUserRole.

RoleId String True

SystemUserId String True

SystemUserRoleId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

Task

This is a table representing the Task entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the task.

ActivityId String False

Unique identifier of the task.

ActivityTypeCode String True

Type of activity.

ActualDurationMinutes Integer False

Actual duration of the task in minutes.

ActualEnd Datetime False

Actual end time of the task.

ActualStart Datetime False

Actual start time of the task.

Category String False

Category of the task.

CreatedBy_Id String True

Unique identifier of the user who created the task.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the task was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the task.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the task.

ExchangeRate Double True

Exchange rate for the currency associated with the task with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsBilled Boolean False

Information which specifies whether the task was billed as part of resolving a case.

IsRegularActivity Boolean True

Information regarding whether the activity is a regular activity type or event type.

IsWorkflowCreated Boolean False

Information which specifies if the task was created from a workflow rule.

ModifiedBy_Id String True

Unique identifier of the user who last modified the task.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the task was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the task.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

OwnerId_Id String False

Unique identifier of the user or team who owns the task.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the task.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team that owns the task.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user that owns the task.

OwningUser_LogicalName String True

OwningUser_Name String True

PercentComplete Integer False

How much of the task has been completed, given in a percentage.

PriorityCode String False

Priority of the task.

RegardingObjectId_Id String False

Unique identifier of the object with which the task is associated.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

ScheduledDurationMinutes Integer True

Scheduled duration of the task, specified in minutes.

ScheduledEnd Datetime False

Scheduled end time of the task.

ScheduledStart Datetime False

Scheduled start time of the task.

ServiceId_Id String False

Unique identifier for an associated service.

ServiceId_LogicalName String False

ServiceId_Name String False

StateCode String True

Status of the task.

StatusCode String False

Reason for the status of the task.

Subcategory String False

Sub category of the task.

Subject String False

Subject associated with the task.

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the task.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

Team

This is a table representing the Team entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the team.

AdministratorId_Id String False

Unique identifier of the user primary responsible for the team.

AdministratorId_LogicalName String False

AdministratorId_Name String False

BusinessUnitId_Id String False

Unique identifier of the business unit with which the team is associated.

BusinessUnitId_LogicalName String False

BusinessUnitId_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the team.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the team was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the team.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the team.

EMailAddress String False

email address for the team.

ExchangeRate Double True

Exchange rate for the currency associated with the team with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsDefault Boolean True

Information about whether the team is a default business unit team.

ModifiedBy_Id String True

Unique identifier of the user who last modified the team.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the team was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the team.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the team.

OrganizationId String True

Unique identifier of the organization associated with the team.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

QueueId_Id String False

Unique identifier of the default queue for the team.

QueueId_LogicalName String False

QueueId_Name String False

TeamId String False

Unique identifier for the team.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the team.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

YomiName String False

Pronunciation of the full name of the team, written in phonetic hiragana or katakana characters.

CData Python Connector for Microsoft Dynamics CRM

TeamMembership

This is a table representing the TeamMembership entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the team membership.

SystemUserId String True

TeamId String True

TeamMembershipId String False

Unique identifier of the team membership.

CData Python Connector for Microsoft Dynamics CRM

TeamProfiles

This is a table representing the TeamProfiles entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the team profile.

FieldSecurityProfileId String True

TeamId String True

TeamProfileId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

TeamRoles

This is a table representing the TeamRoles entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the team role.

RoleId String True

TeamId String True

TeamRoleId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

Template

This is a table representing the Template entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the template.

Body String False

Body text of the email template.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the email template.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the email template was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the template.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the email template.

GenerationTypeCode Integer False

For internal use only.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

IsPersonal Boolean False

Information about whether the template is personal or is available to all users.

LanguageCode Integer False

Language of the email template.

MimeType String False

MIME type of the email template.

ModifiedBy_Id String True

Unique identifier of the user who last modified the template.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the email template was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the template.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String False

Unique identifier of the user or team who owns the template for the email activity.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the template.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the template.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the template.

OwningUser_LogicalName String True

OwningUser_Name String True

PresentationXml String False

XML data for the body of the email template.

SolutionId String True

Unique identifier of the associated solution.

Subject String False

Subject associated with the email template.

SubjectPresentationXml String False

XML data for the subject of the email template.

TemplateId String False

Unique identifier of the template.

TemplateIdUnique String True

For internal use only.

TemplateTypeCode String False

Type of email template.

Title String False

Title of the template.

CData Python Connector for Microsoft Dynamics CRM

Territory

This is a table representing the Territory entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the territory.

CreatedBy_Id String True

Unique identifier of the user who created the territory.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the territory was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the territory.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the territory.

ExchangeRate Double True

Exchange rate for the currency associated with the territory with respect to the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ManagerId_Id String False

Unique identifier of the manager of the territory.

ManagerId_LogicalName String False

ManagerId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the territory.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the territory was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the territory.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the territory.

OrganizationId_Id String True

Unique identifier of the organization associated with the territory.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

TerritoryId String False

Unique identifier of the territory.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the territory.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

CData Python Connector for Microsoft Dynamics CRM

TimeZoneDefinition

This is a table representing the TimeZoneDefinition entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the time zone definition.

Bias Integer False

Base time bias of the time zone.

CreatedBy_Id String True

Unique identifier of the user who created the time zone record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the time zone record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the time zone definition.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DaylightName String False

Time zone name for the daylight time.

ModifiedBy_Id String True

Unique identifier of the user who last modified the time zone record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the time zone record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the time zone definition.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the time zone definition.

OrganizationId_LogicalName String True

OrganizationId_Name String True

RetiredOrder Integer False

Order an entry for a time zone definition is retired. 0 for the latest entry.

StandardName String False

Time zone name for the standard time.

TimeZoneCode Integer False

Time zone identification code.

TimeZoneDefinitionId String False

Unique identifier of the time zone record.

UserInterfaceName String False

Display name for the time zone in the Microsoft Windows registry.

CData Python Connector for Microsoft Dynamics CRM

TimeZoneLocalizedName

This is a table representing the TimeZoneLocalizedName entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the time zone localized name.

CreatedBy_Id String True

Unique identifier of the user who created the record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the time zone localized name.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CultureId Integer False

Unique identifier of the culture that the UI names are encoded in.

DaylightName String False

Name of the time zone for the daylight time.

ModifiedBy_Id String True

Unique identifier of the user who last modified the time zone localized name.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the time zone localized name.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the time zone localized name.

OrganizationId_LogicalName String True

OrganizationId_Name String True

StandardName String False

Name of the time zone for the standard time.

TimeZoneDefinitionId_Id String False

Unique identifier of time zone definition entity instances.

TimeZoneDefinitionId_LogicalName String False

TimeZoneDefinitionId_Name String False

TimeZoneLocalizedNameId String False

Unique identifier of entity instances.

UserInterfaceName String False

Unique display name for the time zone in the Microsoft Windows registry.

CData Python Connector for Microsoft Dynamics CRM

TimeZoneRule

This is a table representing the TimeZoneRule entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the time zone rule.

Bias Integer False

Base time bias of the time zone rule.

CreatedBy_Id String True

Unique identifier of the user who created the time zone rule.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the time zone rule was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the time zone rule.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DaylightBias Integer False

Time bias in addition to the base bias for daylight savings time.

DaylightDay Integer False

Day of the month when daylight savings time starts.

DaylightDayOfWeek Integer False

Day of the week when daylight savings time starts.

DaylightHour Integer False

Hour of the day when daylight savings time starts

DaylightMinute Integer False

Minute of the hour when daylight savings time starts.

DaylightMonth Integer False

Month when daylight savings time starts.

DaylightSecond Integer False

Second of the minute when daylight savings time starts

DaylightYear Integer False

Year when daylight savings times starts.

EffectiveDateTime Datetime False

Time that this rule takes effect, in local time.

ModifiedBy_Id String True

Unique identifier of the user who last modified the time zone rule.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the time zone rule was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the time zone rule.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the time zone rule.

OrganizationId_LogicalName String True

OrganizationId_Name String True

StandardBias Integer False

Time bias in addition to the base bias for standard time.

StandardDay Integer False

Day of the month when standard time starts.

StandardDayOfWeek Integer False

Day of the week when standard time starts.

StandardHour Integer False

Hour of the day when standard time starts.

StandardMinute Integer False

Minute of the hour when standard time starts.

StandardMonth Integer False

Month when standard time starts.

StandardSecond Integer False

Second of the Minute when standard time starts.

StandardYear Integer False

Year when standard time starts.

TimeZoneDefinitionId_Id String False

Unique identifier of the time zone definition.

TimeZoneDefinitionId_LogicalName String False

TimeZoneDefinitionId_Name String False

TimeZoneRuleId String False

Unique identifier of the time zone rule.

TimeZoneRuleVersionNumber Integer False

For internal use only

CData Python Connector for Microsoft Dynamics CRM

TransactionCurrency

This is a table representing the TransactionCurrency entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the transaction currency.

CreatedBy_Id String True

Unique identifier of the user who created the transaction currency.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the transaction currency was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the transaction currency.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CurrencyName String False

Name of the transaction currency.

CurrencyPrecision Integer False

Number of decimal places that can be used for currency.

CurrencySymbol String False

Symbol for the transaction currency.

ExchangeRate Double False

Exchange rate between the transaction currency and the base currency.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ISOCurrencyCode String False

ISO currency code for the transaction currency.

ModifiedBy_Id String True

Unique identifier of the user who last modified the transaction currency.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the transaction currency was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the transaction currency.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the transaction currency.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

StateCode String True

Status of the transaction currency.

StatusCode String False

Reason for the status of the transaction currency.

TransactionCurrencyId String False

Unique identifier of the transaction currency.

CData Python Connector for Microsoft Dynamics CRM

TransformationMapping

This is a table representing the TransformationMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the transformation mapping.

CreatedBy_Id String True

Unique identifier of the user who created the transformation mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the transformation mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the transformation mapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportMapId_Id String False

Unique identifier of the associated data map.

ImportMapId_LogicalName String False

ImportMapId_Name String False

ModifiedBy_Id String True

Unique identifier of the user who last modified the mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the transformation mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the transformation mapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ProcessCode String False

Information about whether the transformation mapping needs to be processed.

SourceEntityName String False

Name of the source entity.

StateCode String True

Status of the transformation mapping.

StatusCode String False

Reason for the status of the transformation mapping.

TargetEntityName String False

Name of the Microsoft Dynamics CRM entity.

TransformationMappingId String False

Unique identifier of the transformation mapping.

TransformationTypeName String False

Type of transformation.

CData Python Connector for Microsoft Dynamics CRM

TransformationParameterMapping

This is a table representing the TransformationParameterMapping entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the transformation parameter mapping.

CreatedBy_Id String True

Unique identifier of the user who created the parameter mapping.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the transformation parameter mapping was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the transformation parameter mapping.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Data String False

Transformation data for transformation parameter

DataTypeCode String False

Data type of the transformation parameter.

ModifiedBy_Id String True

Unique identifier of the user who last modified the transformation parameter mapping.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the transformation parameter mapping was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the transformation parameter mapping.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

ParameterArrayIndex Integer False

Index of the array if the input parameter is an array.

ParameterSequence Integer False

Parameter sequence number.

ParameterTypeCode String False

Type of transformation parameter.

TransformationMappingId_Id String False

Unique identifier of the transformation with which the parameter is associated.

TransformationMappingId_LogicalName String False

TransformationMappingId_Name String False

TransformationParameterMappingId String False

Unique identifier of the transformation parameter mapping.

CData Python Connector for Microsoft Dynamics CRM

UnresolvedAddress

This is a table representing the UnresolvedAddress entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the unresolved address.

EMailAddress String False

For internal use only.

FullName String True

For internal use only.

Telephone String False

For internal use only.

UnresolvedAddressId String False

For internal use only.

CData Python Connector for Microsoft Dynamics CRM

UoM

This is a table representing the UoM entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the unit of measure.

BaseUoM_Id String False

Unique identifier of the base unit for the product.

BaseUoM_LogicalName String False

BaseUoM_Name String False

CreatedBy_Id String True

Unique identifier of the user who created the unit.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the unit was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the uom.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

IsScheduleBaseUoM Boolean True

Information that specifies whether the unit is the base unit for the unit group.

ModifiedBy_Id String True

Unique identifier of the user who last modified the unit.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the unit was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the uom.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the unit.

OrganizationId String True

Unique identifier of the organization associated with the unit of measure.

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

Quantity Double False

Unit quantity for the product.

UoMId String False

Unique identifier of the unit.

UoMScheduleId_Id String False

Unique identifier of the unit group with which the unit is associated.

UoMScheduleId_LogicalName String False

UoMScheduleId_Name String False

CData Python Connector for Microsoft Dynamics CRM

UoMSchedule

This is a table representing the UoMSchedule entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the unit group.

BaseUoMName String False

Name of the base unit.

CreatedBy_Id String True

Unique identifier of the user who created the unit group.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the unit group was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the uomschedule.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the unit group.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the unit group.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the unit group was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the uomschedule.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the unit group.

OrganizationId_Id String True

Unique identifier of the organization associated with the unit group.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverriddenCreatedOn Datetime False

Date and time that the record was migrated.

StateCode String True

Status of the Unit Group.

StatusCode String False

Reason for the status of the Unit Group.

UoMScheduleId String False

Unique identifier for the unit group.

CData Python Connector for Microsoft Dynamics CRM

UserEntityInstanceData

This is a table representing the UserEntityInstanceData entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user entity instance data.

CommonEnd Datetime False

Common end date

CommonStart Datetime False

Common start date

DueDate Datetime False

Due Date

FlagDueBy Datetime False

Flag due by

FlagRequest String False

Flag request

FlagStatus Integer False

Flag status.

ObjectId_Id String False

Unique identifier of the source record.

ObjectId_LogicalName String False

ObjectId_Name String False

ObjectTypeCode Integer False

Object Type Code

OwnerId_Id String False

Unique identifier of the user or team who owns the user entity instance data.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns this.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns this object.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns this object.

OwningUser_LogicalName String True

OwningUser_Name String True

PersonalCategories String False

Personal categories

ReminderSet Boolean False

Indicates whether a reminder is set on this object.

ReminderTime Datetime False

Reminder time

StartTime Datetime False

Start Time

ToDoItemFlags Integer False

To Do item flags.

ToDoOrdinalDate Datetime False

For internal use only.

ToDoSubOrdinal String False

For internal use only.

ToDoTitle String False

For internal use only.

UserEntityInstanceDataId String False

Unique identifier user entity

CData Python Connector for Microsoft Dynamics CRM

UserEntityUISettings

This is a table representing the UserEntityUISettings entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user entity UI setting.

InsertIntoEmailMRUXml String False

Describes which entities are most recently inserted into email for this entity

LastViewedFormXml String False

Describes which forms are most recently viewed for this entity.

LookupMRUXml String False

List of most recently used lookup references for this entity

MRUXml String False

Describes which tabs are most recently used for this entity

ObjectTypeCode Integer False

Object Type Code

OwnerId_Id String False

Unique identifier of the user or team who owns the settings.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the user entity UI setting.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns this saved view.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns this saved view.

OwningUser_LogicalName String True

OwningUser_Name String True

ReadingPaneXml String False

Describes the reading pane formatting of this entity.

RecentlyViewedXml String False

Describes which objects are most recently viewed for this entity.

ShowInAddressBook Boolean False

Determines whether a record type is exposed in the Outlook Address Book.

TabOrderXml String False

Describes the tab ordering for this entity.

UserEntityUISettingsId String False

Unique identifier of the user entity UI setting.

CData Python Connector for Microsoft Dynamics CRM

UserFiscalCalendar

This is a table representing the UserFiscalCalendar entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the fiscal calendar.

BusinessUnitId String True

Unique identifier of the business unit with which the user fiscal calendar is associated.

CreatedBy_Id String True

Unique identifier of the user who created the fiscal calendar.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the fiscal calendar was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the userfiscalcalendar.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EffectiveOn Datetime False

Date and time when the fiscal calendar takes effect.

ExchangeRate Double True

Exchange rate for the currency associated with the user fiscal calendar with respect to the base currency.

FiscalPeriodType Integer True

Type of fiscal period used in the fiscal calendar.

ImportSequenceNumber Integer False

Unique identifier of the data import or data migration that created this record.

ModifiedBy_Id String True

Unique identifier of the user who last modified the fiscal calendar.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the fiscal calendar was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the userfiscalcalendar.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Period1 Double False

Sales quota for the first period in the fiscal year.

Period1_Base Double True

Base currency equivalent of the sales quota for the first period in the fiscal year.

Period10 Double False

Sales quota for the tenth period in the fiscal year.

Period10_Base Double True

Base currency equivalent of the sales quota for the tenth period in the fiscal year.

Period11 Double False

Sales quota for the eleventh period in the fiscal year.

Period11_Base Double True

Base currency equivalent of the sales quota for the eleventh period in the fiscal year.

Period12 Double False

Sales quota for the twelfth period in the fiscal year.

Period12_Base Double True

Base currency equivalent of the sales quota for the twelfth period in the fiscal year.

Period13 Double False

Sales quota for the thirteenth period in the fiscal year.

Period13_Base Double True

Base currency equivalent of the sales quota for the thirteenth period in the fiscal year.

Period2 Double False

Sales quota for the second period in the fiscal year.

Period2_Base Double True

Base currency equivalent of the sales quota for the second period in the fiscal year.

Period3 Double False

Sales quota for the third period in the fiscal year.

Period3_Base Double True

Base currency equivalent of the sales quota for the third period in the fiscal year.

Period4 Double False

Sales quota for the fourth period in the fiscal year.

Period4_Base Double True

Base currency equivalent of the sales quota for the fourth period in the fiscal year.

Period5 Double False

Sales quota for the fifth period in the fiscal year.

Period5_Base Double True

Base currency equivalent of the sales quota for the fifth period in the fiscal year.

Period6 Double False

Sales quota for the sixth period in the fiscal year.

Period6_Base Double True

Base currency equivalent of the sales quota for the sixth period in the fiscal year.

Period7 Double False

Sales quota for the seventh period in the fiscal year.

Period7_Base Double True

Base currency equivalent of the sales quota for the seventh period in the fiscal year.

Period8 Double False

Sales quota for the eighth period in the fiscal year.

Period8_Base Double True

Base currency equivalent of the sales quota for the eighth period in the fiscal year.

Period9 Double False

Sales quota for the ninth period in the fiscal year.

Period9_Base Double True

Base currency equivalent of the sales quota for the ninth period in the fiscal year.

SalesPersonId_Id String False

Unique identifier of the salesperson to whom the fiscal calendar is assigned.

SalesPersonId_LogicalName String False

SalesPersonId_Name String False

TimeZoneRuleVersionNumber Integer False

For internal use only.

TransactionCurrencyId_Id String False

Unique identifier of the currency associated with the user fiscal calendar.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UserFiscalCalendarId String False

Unique identifier for the fiscal calendar.

UTCConversionTimeZoneCode Integer False

Time zone code that was in use when the record was created.

CData Python Connector for Microsoft Dynamics CRM

UserForm

This is a table representing the UserForm entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user dashboard.

CreatedBy_Id String True

Unique identifier of the user who created the dashboard.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the dashboard was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the dashboard.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the dashboard.

FormXml String False

XML representation of the dashboard layout.

ModifiedBy_Id String True

Unique identifier of the user who last modified the dashboard.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the dashboard was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the dashboard.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the dashboard.

ObjectTypeCode String False

Code that represents the record type.

OwnerId_Id String False

Unique identifier of the user or team who owns the dashboard.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the dashboard.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the dashboard.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the dashboard.

OwningUser_LogicalName String True

OwningUser_Name String True

Type String False

Type of the form, for example, Dashboard or Preview.

UserFormId String False

Unique identifier of the user dashboard.

CData Python Connector for Microsoft Dynamics CRM

UserQuery

This is a table representing the UserQuery entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the saved view.

AdvancedGroupBy String False

Advanced Group By

ColumnSetXml String False

Collection of attributes displayed in the saved view.

ConditionalFormatting String False

User Group By

CreatedBy_Id String True

Unique Identifier of the user who created the saved view.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the saved view was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the userquery.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the saved view.

FetchXml String False

String that specifies the query in Fetch XML language.

LayoutXml String False

For internal use only.

ModifiedBy_Id String True

Unique identifier of the user who last modified the saved view.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the saved view was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the userquery.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name given to the saved view.

OwnerId_Id String False

Unique identifier of the user or team who owns the saved view.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns this saved view.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns this saved view.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns this saved view.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentQueryId_Id String False

Unique identifier of the Saved Query this was instantiated from.

ParentQueryId_LogicalName String False

ParentQueryId_Name String False

QueryType Integer False

Type of saved view.

ReturnedTypeCode Integer False

Type of entity that the saved view displays.

StateCode String True

Status of the view.

StatusCode String True

Reason for the status of the view.

UserQueryId String False

Unique identifier of the saved view.

CData Python Connector for Microsoft Dynamics CRM

UserQueryVisualization

This is a table representing the UserQueryVisualization entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user query visualization entity.

CreatedBy_Id String True

Unique Identifier of the user who created the user chart.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the user chart was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the user chart.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

DataDescription String False

XML string used to define the underlying data for the user chart.

Description String False

Description of the user chart.

IsDefault Boolean False

Indicates whether the user chart is the default chart for the entity.

ModifiedBy_Id String True

Unique identifier of the user who last modified the user chart.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the user chart was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the user chart.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the user chart.

OwnerId_Id String False

Unique identifier of the user or team who owns the user chart.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the user chart.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the user chart.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the team who owns the user chart.

OwningUser_LogicalName String True

OwningUser_Name String True

PresentationDescription String False

XML string used to define the presentation properties of the user chart.

PrimaryEntityTypeCode Integer False

Type of entity which the user chart is attached.

UserQueryVisualizationId String False

Unique identifier of the user chart.

WebResourceId_Id String False

Unique identifier of the Web resource that will be displayed in the user chart.

WebResourceId_LogicalName String False

WebResourceId_Name String False

CData Python Connector for Microsoft Dynamics CRM

UserSettings

This is a table representing the UserSettings entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the user settings object.

AddressBookSyncInterval Integer False

Normal polling frequency used for address book synchronization in Microsoft Office Outlook.

AdvancedFindStartupMode Integer False

Default mode, such as simple or detailed, for advanced find.

AllowEmailCredentials Boolean False

Indicates whether a user wants to specify email credentials.

AMDesignator String False

AM designator to use in Microsoft Dynamics CRM.

AutoCreateContactOnPromote Integer False

Auto-create contact on client promote

BusinessUnitId String False

Unique identifier of the business unit with which the user is associated.

CalendarType Integer False

Calendar type for the system. Set to Gregorian US by default.

CreatedBy_Id String True

Unique identifier of the user who created the user settings.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the user settings object was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the usersettings.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CurrencyDecimalPrecision Integer False

Number of decimal places that can be used for currency.

CurrencyFormatCode Integer False

Information about how currency symbols are placed in Microsoft Dynamics CRM.

CurrencySymbol String False

Symbol used for currency in Microsoft Dynamics CRM.

DataValidationModeForExportToExcel String False

Information that specifies the level of data validation in excel worksheets exported in a format suitable for import.

DateFormatCode Integer False

Information about how the date is displayed in Microsoft Dynamics CRM.

DateFormatString String False

String showing how the date is displayed throughout Microsoft CRM.

DateSeparator String False

Character used to separate the month, the day, and the year in dates in Microsoft Dynamics CRM.

DecimalSymbol String False

Symbol used for decimal in Microsoft Dynamics CRM.

DefaultCalendarView Integer False

Default calendar view for the user.

DefaultDashboardId String False

Unique identifier of the default dashboard.

EmailPassword String False

email password.

EmailUsername String False

email user name.

FullNameConventionCode Integer False

Order in which names are to be displayed in Microsoft Dynamics CRM.

GetStartedPaneContentEnabled Boolean False

Information that specifies whether the Get Started pane in lists is enabled.

HelpLanguageId Integer False

Unique identifier of the Help language.

HomepageArea String False

Web site home page for the user.

HomepageLayout String False

Configuration of the home page layout.

HomepageSubarea String False

Web site page for the user.

IgnoreUnsolicitedEmail Boolean False

Information that specifies whether a user account is to ignore unsolicited email (deprecated).

IncomingEmailFilteringMethod String False

Incoming email filtering method.

IsDuplicateDetectionEnabledWhenGoingOnline Boolean False

Indicates if duplicate detection is enabled when going online.

IsSendAsAllowed Boolean False

Indicates if send as other user privilege is enabled or not.

LocaleId Integer False

Unique identifier of the user locale.

LongDateFormatCode Integer False

Information that specifies how Long Date is displayed throughout Microsoft CRM.

ModifiedBy_Id String True

Unique identifier of the user who last modified the user settings.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the user settings object was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the usersettings.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

NegativeCurrencyFormatCode Integer False

Information that specifies how negative currency numbers are displayed in Microsoft Dynamics CRM.

NegativeFormatCode Integer False

Information that specifies how negative numbers are displayed in Microsoft Dynamics CRM.

NextTrackingNumber Integer False

Next tracking number.

NumberGroupFormat String False

Information that specifies how numbers are grouped in Microsoft Dynamics CRM.

NumberSeparator String False

Symbol used for number separation in Microsoft Dynamics CRM.

OfflineSyncInterval Integer False

Normal polling frequency used for background offline synchronization in Microsoft Office Outlook.

OutlookSyncInterval Integer False

Normal polling frequency used for record synchronization in Microsoft Office Outlook.

PagingLimit Integer False

Information that specifies how many items to list on a page in list views.

PersonalizationSettings String False

For internal use only.

PMDesignator String False

PM designator to use in Microsoft Dynamics CRM.

PricingDecimalPrecision Integer False

Number of decimal places that can be used for prices.

ReportScriptErrors String False

Picklist for selecting the user preference for reporting scripting errors.

ShowWeekNumber Boolean False

Information that specifies whether to display the week number in calendar displays in Microsoft Dynamics CRM.

SyncContactCompany Boolean False

Indicates if the company field in Microsoft Office Outlook items are set during Outlook synchronization.

SystemUserId String False

Unique identifier of the user.

TimeFormatCode Integer False

Information that specifies how the time is displayed in Microsoft Dynamics CRM.

TimeFormatString String False

Text for how time is displayed in Microsoft Dynamics CRM.

TimeSeparator String False

Text for how time is displayed in Microsoft Dynamics CRM.

TimeZoneBias Integer False

Local time zone adjustment for the user. System calculated based on the time zone selected.

TimeZoneCode Integer False

Local time zone for the user.

TimeZoneDaylightBias Integer False

Local time zone daylight adjustment for the user. System calculated based on the time zone selected.

TimeZoneDaylightDay Integer False

Local time zone daylight day for the user. System calculated based on the time zone selected.

TimeZoneDaylightDayOfWeek Integer False

Local time zone daylight day of week for the user. System calculated based on the time zone selected in Options.

TimeZoneDaylightHour Integer False

Local time zone daylight hour for the user. System calculated based on the time zone selected.

TimeZoneDaylightMinute Integer False

Local time zone daylight minute for the user. System calculated based on the time zone selected.

TimeZoneDaylightMonth Integer False

Local time zone daylight month for the user. System calculated based on the time zone selected.

TimeZoneDaylightSecond Integer False

Local time zone daylight second for the user. System calculated based on the time zone selected.

TimeZoneDaylightYear Integer False

Local time zone daylight year for the user. System calculated based on the time zone selected.

TimeZoneStandardBias Integer False

Local time zone standard time bias for the user. System calculated based on the time zone selected.

TimeZoneStandardDay Integer False

Local time zone standard day for the user. System calculated based on the time zone selected.

TimeZoneStandardDayOfWeek Integer False

Local time zone standard day of week for the user. System calculated based on the time zone selected.

TimeZoneStandardHour Integer False

Local time zone standard hour for the user. System calculated based on the time zone selected.

TimeZoneStandardMinute Integer False

Local time zone standard minute for the user. System calculated based on the time zone selected.

TimeZoneStandardMonth Integer False

Local time zone standard month for the user. System calculated based on the time zone selected.

TimeZoneStandardSecond Integer False

Local time zone standard second for the user. System calculated based on the time zone selected.

TimeZoneStandardYear Integer False

Local time zone standard year for the user. System calculated based on the time zone selected.

TrackingTokenId Integer False

Tracking token ID.

TransactionCurrencyId_Id String False

Unique identifier of the default currency of the user.

TransactionCurrencyId_LogicalName String False

TransactionCurrencyId_Name String False

UILanguageId Integer False

Unique identifier of the language in which to view the user interface (UI).

UseCrmFormForAppointment Boolean False

Indicates whether to use the Microsoft Dynamics CRM appointment form within Microsoft Office Outlook for creating new appointments.

UseCrmFormForContact Boolean False

Indicates whether to use the Microsoft Dynamics CRM contact form within Microsoft Office Outlook for creating new contacts.

UseCrmFormForEmail Boolean False

Indicates whether to use the Microsoft Dynamics CRM email form within Microsoft Office Outlook for creating new emails.

UseCrmFormForTask Boolean False

Indicates whether to use the Microsoft Dynamics CRM task form within Microsoft Office Outlook for creating new tasks.

UseImageStrips Boolean False

Indicates whether image strips are used to render images.

UserProfile String False

Specifies user profile ids in comma separated list.

VisualizationPaneLayout String False

The layout of the visualization pane.

WorkdayStartTime String False

Workday start time for the user.

WorkdayStopTime String False

Workday stop time for the user.

CData Python Connector for Microsoft Dynamics CRM

WebResource

This is a table representing the WebResource entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the Web resource.

ComponentState String True

For internal use only.

Content String False

Bytes of the Web resource, in Base 64 format.

CreatedBy_Id String True

Unique identifier of the user who created the Web resource.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the Web resource was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the Web resource.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the Web resource.

DisplayName String False

Display name of the Web resource.

IsManaged Boolean True

LanguageCode Integer False

Language of the Web resource.

ModifiedBy_Id String True

Unique identifier of the user who last modified the Web resource.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the Web resource was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who modified the Web resource.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the Web resource.

OrganizationId_Id String True

Unique identifier of the organization associated with the Web resource.

OrganizationId_LogicalName String True

OrganizationId_Name String True

OverwriteTime Datetime True

For internal use only.

SilverlightVersion String False

Silverlight runtime version number required by a silverlight Web resource.

SolutionId String True

Unique identifier of the associated solution.

WebResourceId String False

Unique identifier of the Web resource.

WebResourceIdUnique String True

For internal use only.

WebResourceType String False

Drop-down list for selecting the type of the Web resource.

CData Python Connector for Microsoft Dynamics CRM

WebWizard

This is a table representing the WebWizard entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the wizard.

AccessPrivileges String False

Privileges required to use this wizard, separated with commas (,).

CreatedBy_Id String True

Unique identifier of the user who created the wizard definition.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the wizard definition was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the webwizard.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

IsStaticPageSequence Boolean False

Information about whether all pages for this wizard are statically defined.

ModifiedBy_Id String True

Unique identifier of the user who last modified the wizard definition.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the wizard definition was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the webwizard.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the wizard

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

StartPageSequenceNumber Integer False

Sequence number of the first page of this wizard.

TitleResourceString String False

Title of the wizard.

WebWizardId String False

Unique identifier of the wizard.

WizardPageHeight Integer False

Window height for the wizard.

WizardPageWidth Integer False

Window width for the wizard.

CData Python Connector for Microsoft Dynamics CRM

WizardAccessPrivilege

This is a table representing the WizardAccessPrivilege entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the wizard access privilege record.

CreatedBy_Id String True

Unique identifier of the user who created the wizard access privilege record.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the wizard access privilege record was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the wizardaccessprivilege.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

EntityName String False

Logical name of the entity for which access privileges are required.

ModifiedBy_Id String True

Unique identifier of the user who last modified the wizard access privilege record.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the wizard access privilege record was modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the wizardaccessprivilege.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization associated with the wizard access privilege.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PrivilegeName String False

Name of the privilege required to access the wizard.

WebWizardId_Id String False

Unique identifier of the wizard associated with this wizard access privilege record.

WebWizardId_LogicalName String False

WebWizardId_Name String False

WizardAccessPrivilegeId String False

Unique identifier of the access privilege.

CData Python Connector for Microsoft Dynamics CRM

WizardPage

This is a table representing the WizardPage entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the wizard page.

CreatedBy_Id String True

Unique identifier of the user who created the wizard page.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the wizard page was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the wizardpage.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

ModifiedBy_Id String True

Unique identifier of the user who last modified the wizard page.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the wizard page was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the wizardpage.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OrganizationId_Id String True

Unique identifier of the organization.

OrganizationId_LogicalName String True

OrganizationId_Name String True

PageDataToPost String False

Data to post to the wizard page when requesting the page.

PageSequenceNumber Integer False

Sequence number of the wizard page.

PageUrl String False

URL for the wizard page.

WebWizardId_Id String False

Unique identifier of the wizard associated with this wizard page.

WebWizardId_LogicalName String False

WebWizardId_Name String False

WizardPageId String False

Unique identifier of the wizard page.

CData Python Connector for Microsoft Dynamics CRM

Workflow

This is a table representing the Workflow entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the process.

ActiveWorkflowId_Id String True

Unique identifier of the latest activation record for the process.

ActiveWorkflowId_LogicalName String True

ActiveWorkflowId_Name String True

Activities String False

Activities that are part of the business logic of the process.

AsyncAutoDelete Boolean False

Indicates whether the asynchronous system job is automatically deleted on completion.

Category String False

Category of the process.

ComponentState String True

For internal use only.

CreatedBy_Id String True

Unique identifier of the user who created the process.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the process was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the process.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the process.

InputParameters String False

Input parameters to the process.

IsCrmUIWorkflow Boolean True

Indicates whether the process was created using the Microsoft Dynamics CRM Web application.

IsManaged Boolean True

Indicates whether the solution component is part of a managed solution.

LanguageCode Integer False

Language of the process.

ModifiedBy_Id String True

Unique identifier of the user who last modified the process.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the process was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the process.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

Name String False

Name of the process.

OnDemand Boolean False

Indicates whether the process is able to run as an on-demand process.

OverwriteTime Datetime True

For internal use only.

OwnerId_Id String False

Unique identifier of the user or team who owns the process.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the process.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the process.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the process.

OwningUser_LogicalName String True

OwningUser_Name String True

ParentWorkflowId_Id String True

Unique identifier of the definition for process activation.

ParentWorkflowId_LogicalName String True

ParentWorkflowId_Name String True

PluginTypeId_Id String True

Unique identifier of the plug-in type.

PluginTypeId_LogicalName String True

PluginTypeId_Name String True

PrimaryEntity String False

Primary entity for the process. The process can be associated for one or more SDK operations defined on the primary entity.

Rules String False

Rules that define business logic in the process.

Scope String False

Scope of the process.

SolutionId String True

Unique identifier of the associated solution.

StateCode String True

Status of the process.

StatusCode String False

Additional information about status of the process.

Subprocess Boolean False

Indicates whether the process can be included in other processes as a child process.

TriggerOnCreate Boolean False

Indicates whether the process will be triggered when the primary entity is created.

TriggerOnDelete Boolean False

Indicates whether the process will be triggered on deletion of the primary entity.

TriggerOnUpdateAttributeList String False

Attributes that trigger the process when updated.

Type String False

Type of the process.

UIData String True

For internal use only.

WorkflowId String False

Unique identifier of the process.

WorkflowIdUnique String True

For internal use only.

Xaml String False

XAML that defines the process.

CData Python Connector for Microsoft Dynamics CRM

WorkflowDependency

This is a table representing the WorkflowDependency entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the process dependency.

CreatedBy_Id String True

Unique identifier of the user who created the process dependency.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the process dependency was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the process dependency.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

CustomEntityName String False

Name of the entity used in the process.

DependentAttributeName String False

Name of the attribute used in the process.

DependentEntityName String False

Name of the entity used in the process.

EntityAttributes String False

Comma-separated list of attributes that will be passed to process instance.

ModifiedBy_Id String True

Unique identifier of the user who last modified the process dependency.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the process dependency was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the process dependency.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerId_Id String True

Unique identifier of the user or team who owns the parent workflow instance.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the process dependency.

OwningUser String True

Unique identifier of the user who owns the process dependency.

ParameterName String False

Name of the process parameter.

ParameterType String False

Fully qualified name of the CLR type of the local parameter.

RelatedAttributeName String False

Attribute of the primary entity that specifies related entity.

RelatedEntityName String False

Name of the related entity.

SdkMessageId_Id String False

Unique identifier of the SDK message.

SdkMessageId_LogicalName String False

SdkMessageId_Name String False

Type String False

Type of the process dependency.

WorkflowDependencyId String False

Unique identifier of the process dependency.

WorkflowId_Id String False

Unique identifier of the process with which the dependency is associated.

WorkflowId_LogicalName String False

WorkflowId_Name String False

CData Python Connector for Microsoft Dynamics CRM

WorkflowLog

This is a table representing the WorkflowLog entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the process log.

ActivityName String False

Name of the activity which the process step is currently processing.

AsyncOperationId_Id String False

Unique identifier of the parent record.

AsyncOperationId_LogicalName String False

AsyncOperationId_Name String False

ChildWorkflowInstanceId_Id String False

Unique identifier of the system job.

ChildWorkflowInstanceId_LogicalName String False

ChildWorkflowInstanceId_Name String False

CompletedOn Datetime False

Date and time when the operation was completed.

CreatedBy_Id String True

Unique identifier of the user who created the process log entry.

CreatedBy_LogicalName String True

CreatedBy_Name String True

CreatedOn Datetime True

Date and time when the process log entry was created.

CreatedOnBehalfBy_Id String True

Unique identifier of the delegate user who created the process log.

CreatedOnBehalfBy_LogicalName String True

CreatedOnBehalfBy_Name String True

Description String False

Description of the process step.

ErrorCode Integer False

Error code related to process.

InteractionActivityResult String False

String specifying the result of an interaction activity.

Message String False

Message related to process.

ModifiedBy_Id String True

Unique identifier of the user who last modified the process log entry.

ModifiedBy_LogicalName String True

ModifiedBy_Name String True

ModifiedOn Datetime True

Date and time when the process log entry was last modified.

ModifiedOnBehalfBy_Id String True

Unique identifier of the delegate user who last modified the process log.

ModifiedOnBehalfBy_LogicalName String True

ModifiedOnBehalfBy_Name String True

OwnerId_Id String False

Unique identifier of the user or team who owns the process log.

OwnerId_LogicalName String False

OwnerId_Name String False

OwningBusinessUnit_Id String True

Unique identifier of the business unit that owns the process.

OwningBusinessUnit_LogicalName String True

OwningBusinessUnit_Name String True

OwningTeam_Id String True

Unique identifier of the team who owns the process log.

OwningTeam_LogicalName String True

OwningTeam_Name String True

OwningUser_Id String True

Unique identifier of the user who owns the process.

OwningUser_LogicalName String True

OwningUser_Name String True

RegardingObjectId_Id String False

Unique identifier of the associated record.

RegardingObjectId_LogicalName String False

RegardingObjectId_Name String False

StageName String False

Name of the process stage.

Status String False

Status of the process step for which process log record has been created: In Progress, Successfully Completed, or Failed.

StepName String False

Name of the process step.

WorkflowLogId String False

Unique identifier of the process log entry.

CData Python Connector for Microsoft Dynamics CRM

WorkflowWaitSubscription

This is a table representing the WorkflowWaitSubscription entities in Dynamics CRM.

Columns

Name Type ReadOnly Description
Id [KEY] String False

Unique identifier of the subscription.

AsyncOperationId_Id String False

Unique identifier of the asynchronous operation with which the subscription is associated.

AsyncOperationId_LogicalName String False

AsyncOperationId_Name String False

Data String False

Unstructured data associated with the subscription.

EntityId String False

Id of entity to which workflow instance subscribes.

EntityName String False

Name of entity to which workflow instance subscribes.

ModifiedOn Datetime True

Date and time when the entity was modified.

OwnerId_Id String True

Unique identifier of the user or team who owns the parent workflow instance.

OwnerId_LogicalName String True

OwnerId_Name String True

OwningBusinessUnit String True

Unique identifier of the business unit that owns the parent workflow instance.

OwningUser String True

Unique identifier of the user who owns the parent workflow instance.

WorkflowWaitSubscriptionId String False

Unique identifier of the subscription.

CData Python Connector for Microsoft Dynamics CRM

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT/INSERT/UPDATE/DELETE operations with Microsoft Dynamics CRM.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Microsoft Dynamics CRM, along with an indication of whether the procedure succeeded or failed.

CData Python Connector for Microsoft Dynamics CRM Stored Procedures

Name Description
Assign Assigns a record to a specified user or team. The Table parameter specifies the entity type, and the AssigneeType parameter accepts either 'User' or 'Team'.
AssociateRequest Associates two entities via a named relationship. The RelationshipName must be a valid relationship name defined in Dynamics CRM.
CreateSchema Creates a custom schema file based on the CRM View name, FetchXML expression, or SQL query. If Query is not specified, the TableName should be set to an existing CRM View name.
DisassociateRequest Removes an association between two entities via a named relationship. The RelationshipName must be a valid relationship name defined in Dynamics CRM.
ExecuteWorkflow Executes a workflow on a specified entity. The WorkflowId must be the GUID of an activated workflow in Dynamics CRM. The procedure returns the Id of the resulting AsyncOperation.
GenerateDeviceCredential Generates the device name and password, which are used for Dynamics CRM Online authentication. This is currently deprecated
GetOAuthAccessToken If using a Windows application, set Authmode to App. If using a Web app, set Authmode to Web and specify the Verifier obtained by GetOAuthAuthorizationUrl.
GetOAuthAuthorizationUrl Gets the authorization URL that must be opened separately by the user to grant access to your application.
GetSTSUrl Gets the address for the security token service.
RefreshOAuthAccessToken Refreshes the OAuth access token used for authentication with AzureDataCatalog.
SetState Sets the state and status of a record. The StateCode and StatusCode values can be either names (e.g., 'Won') or numeric codes (e.g., '1'), depending on the UseNameForPicklistValue connection property.
UpdateEntityMetadata Updates a single property on the metadata definition of an entity. The procedure first retrieves the entity's metadata from the server, modifies the requested property, and then submits the modified metadata back to the server.
UpdateRequest Updates a record using JSON-formatted attributes. This is useful for complex updates that involve multiple attribute types, including OptionSetValue and EntityReference.

CData Python Connector for Microsoft Dynamics CRM

Assign

Assigns a record to a specified user or team. The Table parameter specifies the entity type, and the AssigneeType parameter accepts either 'User' or 'Team'.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC Assign Table = 'Account', Id = '00000000-0000-0000-0000-000000000001', AssigneeType = 'User', AssigneeId = '00000000-0000-0000-0000-000000000002'

Input

Name Type Description
Table String The table that has the item being assigned.
Id String The GUID of the item that is being assigned.
AssigneeType String The type of the assignee. Accepted types are User or Team.

The allowed values are User, Team.

AssigneeID String The GUID of the assignee.

Result Set Columns

Name Type Description
Success String This field is true if the object was assigned to the new assignee, false otherwise.

CData Python Connector for Microsoft Dynamics CRM

AssociateRequest

Associates two entities via a named relationship. The RelationshipName must be a valid relationship name defined in Dynamics CRM.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC AssociateRequest RelationshipName = 'accountleads_association', TargetId = '00000000-0000-0000-0000-000000000001', TargetLogicalName = 'account', RelatedEntityId = '00000000-0000-0000-0000-000000000002', RelatedEntityLogicalName = 'lead'

Input

Name Type Description
RelationshipName String Name of the relationship to be used for the association.
TargetId String Id of the target to add associations to.
TargetLogicalName String The logical name of the target to add associations to.
RelatedEntitiesTempTable String Name of the temporary table containing related entities. Each row must have RelatedEntityId and RelatedEntityLogicalName fields.
RelatedEntityId String Required field in each RelatedEntitiesTempTable row. Specifies the Id of the entity to relate to the target.
RelatedEntityLogicalName String Required field in each RelatedEntitiesTempTable row. Specifies the logical name of the entity to relate to the target.

CData Python Connector for Microsoft Dynamics CRM

CreateSchema

Creates a custom schema file based on the CRM View name, FetchXML expression, or SQL query. If Query is not specified, the TableName should be set to an existing CRM View name.

Stored Procedure-Specific Information

To create a schema from a saved CRM View, enter:
EXEC CreateSchema TableName = 'My Custom View'

To create a schema from a SQL query, enter:

EXEC CreateSchema TableName = 'My Sql View', Query = 'SELECT id, name, modifiedon FROM account ORDER BY modifiedon DESC', Description = 'Custom SQL view'

Input

Name Type Description
TableName String The name for the new table. If Query is not specified, this should be set to an existing CRM View name.
Query String The SQL query or FetchXML expression for table.
Description String An optional description for the table.
WriteToFile String Wheather to write the contents of this stored procedure to a file or not (Default = true) needs to be set to false to output FileStream of FileData

Result Set Columns

Name Type Description
Success String Whether or not the schema was created successfully.
SchemaFile String The generated schema file.
FileData String File data that will be outputted encoded in Base64 if the OutputFolder and FileStream inputs are not set.

CData Python Connector for Microsoft Dynamics CRM

DisassociateRequest

Removes an association between two entities via a named relationship. The RelationshipName must be a valid relationship name defined in Dynamics CRM.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC DisassociateRequest RelationshipName = 'accountleads_association', TargetId = '00000000-0000-0000-0000-000000000001', TargetLogicalName = 'account', RelatedEntityId = '00000000-0000-0000-0000-000000000002', RelatedEntityLogicalName = 'lead'

Input

Name Type Description
RelationshipName String Name of the relationship to be used for the disassociation.
TargetId String Id of the target to remove associations from.
TargetLogicalName String The logical name of the target to remove associations from.
RelatedEntitiesTempTable String Name of the temporary table containing related entities. Each row must have RelatedEntityId and RelatedEntityLogicalName fields.
RelatedEntityId String Required field in each RelatedEntitiesTempTable row. Specifies the Id of the entity to disassociate from the target.
RelatedEntityLogicalName String Required field in each RelatedEntitiesTempTable row. Specifies the logical name of the entity to disassociate from the target.

CData Python Connector for Microsoft Dynamics CRM

ExecuteWorkflow

Executes a workflow on a specified entity. The WorkflowId must be the GUID of an activated workflow in Dynamics CRM. The procedure returns the Id of the resulting AsyncOperation.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC ExecuteWorkflow WorkflowId = '00000000-0000-0000-0000-000000000001', EntityId = '00000000-0000-0000-0000-000000000002'

Input

Name Type Description
EntityId String Id of the entity to be executed for the workflow.
WorkflowId String Id of the workflow to be executed.

Result Set Columns

Name Type Description
Id String Id of the AsyncOperation.

CData Python Connector for Microsoft Dynamics CRM

GenerateDeviceCredential

Generates the device name and password, which are used for Dynamics CRM Online authentication. This is currently deprecated

Input

Name Type Description
DeviceCredentialLocation String The file path to store the device name and device password. This attribute is used in only Windows Live Id authentication in Dynamic CRM Online.
DeviceCredentialPassword String The password to encrypt the device password. If the password is empty, the device password will not be encrypted. This attribute is used in only Windows Live Id authentication in Dynamic CRM Online.

Result Set Columns

Name Type Description
DeviceName String The user-defined Windows Live Services device Id.
DevicePassword String The user-defined Windows Live Services device password.
Success String Indicates whether the stored procedure was successful.

CData Python Connector for Microsoft Dynamics CRM

GetOAuthAccessToken

If using a Windows application, set Authmode to App. If using a Web app, set Authmode to Web and specify the Verifier obtained by GetOAuthAuthorizationUrl.

Input

Name Type Description
Authmode String The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

The allowed values are APP, WEB.

The default value is APP.

Verifier String The verifier token returned by Dynamics CRM after using the URL obtained with GetOAuthAuthorizationUrl.
CallbackUrl String The page to return the user to after authorization is complete.
Prompt String Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.

Result Set Columns

Name Type Description
Scope String The scope of permissions for the app.
OAuthRefreshToken String A token that may be used to obtain a new access token.
OAuthAccessToken String The OAuth access token.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.
_persist_serverversion String The server version for Dynamics CRM Server.

CData Python Connector for Microsoft Dynamics CRM

GetOAuthAuthorizationUrl

Gets the authorization URL that must be opened separately by the user to grant access to your application.

Input

Name Type Description
OAuthServerUrl String The url which located the ADFS server.
CallbackUrl String The page to return the user after authorization is complete.
Grant_Type String The type of authorization to be granted for your app. If this is set to code, the stored procedure will return an authorization URL containing the verifier code in a query string parameter, which you will need to submit back with the GetOAuthAccessToken stored procedure. Implicit will cause the OAuth access token to be returned directly in the URL.

The allowed values are Implicit, Code.

State String Any value that you wish to be sent with the callback.
Prompt String Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.

Result Set Columns

Name Type Description
Url String The authorization url.

CData Python Connector for Microsoft Dynamics CRM

GetSTSUrl

Gets the address for the security token service.

Input

Name Type Description
User String The username for the security token service. Only Dynamics CRM Online requires this parameter.

Result Set Columns

Name Type Description
STSUrl String The address for the security token service.

CData Python Connector for Microsoft Dynamics CRM

RefreshOAuthAccessToken

Refreshes the OAuth access token used for authentication with AzureDataCatalog.

Input

Name Type Description
OAuthRefreshToken String Set this to the token value that expired.
OAuthServerUrl String The url which located the ADFS server.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from AzureDataCatalog. This can be used in subsequent calls to other operations for this particular service.
OAuthRefreshToken String This is the same as the access token.
ExpiresIn String The remaining lifetime on the access token.

CData Python Connector for Microsoft Dynamics CRM

SetState

Sets the state and status of a record. The StateCode and StatusCode values can be either names (e.g., 'Won') or numeric codes (e.g., '1'), depending on the UseNameForPicklistValue connection property.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC SetState Table = 'Opportunity', Id = '00000000-0000-0000-0000-000000000001', StateCode = 'Won', StatusCode = 'Won'

Input

Name Type Description
Table String The name of the table.
Id String The Id of the item to change the state for.
StateCode String The new state code for the item. Value must be a valid state code for the object in Dynamics CRM.
StatusCode String The new status code for the item. Value must be a valid status code for the object in Dynamics CRM.

Result Set Columns

Name Type Description
Success String This field is true if the object's state code and status code were updated, false otherwise.

CData Python Connector for Microsoft Dynamics CRM

UpdateEntityMetadata

Updates a single property on the metadata definition of an entity. The procedure first retrieves the entity's metadata from the server, modifies the requested property, and then submits the modified metadata back to the server.

Input

Name Type Description
EntitySet String The entity name of the target entity (e.g. account).
PropertyName String The metadata property to modify (e.g. IsAuditEnabled).
PropertyValue String The new value to set for the property (e.g. true / false).

Result Set Columns

Name Type Description
Success String True if the entity metadata was updated successfully, false otherwise.

CData Python Connector for Microsoft Dynamics CRM

UpdateRequest

Updates a record using JSON-formatted attributes. This is useful for complex updates that involve multiple attribute types, including OptionSetValue and EntityReference.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC UpdateRequest @Entityset = 'account', @Id = '00000000-0000-0000-0000-000000000001', @UpdateRequestAttributes = '[{"attributeName": "name", "type": "string", "value": "Updated Account Name"}, {"attributeName": "statecode", "type": "OptionSetValue", "value": 0}]'

Input

Name Type Description
Entityset String The entity name that has the item being updated.
Id String The GUID of the item that is being updated.
UpdateRequestAttributes String The accributes of the update. Accept type is JSON.

Result Set Columns

Name Type Description
Success String This field is true if the object was updated, false otherwise.

CData Python Connector for Microsoft Dynamics CRM

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Microsoft Dynamics CRM:

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the connector can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries, including batch operations:

  • sys_identity: Returns information about batch operations or single updates.

CData Python Connector for Microsoft Dynamics CRM

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String The database name.

CData Python Connector for Microsoft Dynamics CRM

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

CData Python Connector for Microsoft Dynamics CRM

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.
IsInsertable Boolean Whether the table can be inserted into.
IsDeleteable Boolean Whether rows can be deleted from the table.

CData Python Connector for Microsoft Dynamics CRM

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the Lead table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName = 'Lead' 

Columns

Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.
ColumnType String The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN.
ColumnCapabilities Int32 A bit mask denoting the column's write capabilities. The value is the sum of the following: 1 if the column is required for INSERTs, 2 if the column is allowed for INSERTs, and 4 if the column is allowed for UPDATEs. A value of 0 indicates that the write capabilities of the column are unknown or that the column is read-only.

CData Python Connector for Microsoft Dynamics CRM

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

CData Python Connector for Microsoft Dynamics CRM

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the Assign stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'Assign' AND Direction = 1 OR Direction = 2

To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'Assign' AND IncludeResultColumns='True'

Columns

Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
DataTypeName String The name of the data type.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.
Values String The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated.
SupportsStreams Boolean Whether the parameter represents a file that you can pass as either a file path or a stream.
IsPath Boolean Whether the parameter is a target path for a schema creation operation.
Default String The value used for this parameter when no value is specified.
SpecificName String A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here.
IsCDataProvided Boolean Whether the procedure is added/implemented by CData, as opposed to being a native Microsoft Dynamics CRM procedure.

Pseudo-Columns

Name Type Description
IncludeResultColumns Boolean Whether the output should include columns from the result set in addition to parameters. Defaults to False.

CData Python Connector for Microsoft Dynamics CRM

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the Lead table:

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Lead' 
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

CData Python Connector for Microsoft Dynamics CRM

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

CData Python Connector for Microsoft Dynamics CRM

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

CData Python Connector for Microsoft Dynamics CRM

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

CData Python Connector for Microsoft Dynamics CRM

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

CData Python Connector for Microsoft Dynamics CRM

sys_sqlinfo

Describes the SELECT query processing that the connector can offload to the data source.

See SQL Compliance for SQL syntax details.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

NameDescriptionPossible Values
AGGREGATE_FUNCTIONSSupported aggregation functions.AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTWhether COUNT function is supported.YES, NO
IDENTIFIER_QUOTE_OPEN_CHARThe opening character used to escape an identifier.[
IDENTIFIER_QUOTE_CLOSE_CHARThe closing character used to escape an identifier.]
SUPPORTED_OPERATORSA list of supported SQL operators.=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYWhether GROUP BY is supported, and, if so, the degree of support.NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESThe supported varieties of outer joins supported.NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINSWhether outer joins are supported.YES, NO
SUBQUERIESWhether subqueries are supported, and, if so, the degree of support.NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSSupported string functions.LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSSupported numeric functions.ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSSupported date/time functions.NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESIndicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNSA string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERNString value indicating what string is valid for an identifier.
SUPPORT_TRANSACTIONIndicates if the provider supports transactions such as commit and rollback.YES, NO
DIALECTIndicates the SQL dialect to use.
KEY_PROPERTIESIndicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMASIndicates if multiple schemas may exist for the provider.YES, NO
SUPPORTS_MULTIPLE_CATALOGSIndicates if multiple catalogs may exist for the provider.YES, NO
DATASYNCVERSIONThe CData Data Sync version needed to access this driver.Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYThe CData Data Sync category of this driver.Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLWhether enhanced SQL functionality beyond what is offered by the API is supported.TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSWhether batch operations are supported.YES, NO
SQL_CAPAll supported SQL capabilities for this driver.SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONSA string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERYIndicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side.YES, NO
PSEUDO_COLUMNSA string array indicating the available pseudo columns.
MERGE_ALWAYSIf the value is true, The Merge Mode is forcibly executed in Data Sync.TRUE, FALSE
REPLICATION_MIN_DATE_QUERYA select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTIONAllows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATEAllows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERYA select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTIONAllows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATEA list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTIDIndicates whether the CheckCache statement should be done against the parent key column.TRUE, FALSE
CREATE_SCHEMA_PROCEDURESIndicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns

Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

CData Python Connector for Microsoft Dynamics CRM

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String The database-generated Id returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

CData Python Connector for Microsoft Dynamics CRM

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductStringThe name of the product.
VersionStringThe version number of the product.
DatasourceStringThe name of the datasource the product connects to.
NodeIdStringThe unique identifier of the machine where the product is installed.
HelpURLStringThe URL to the product's help documentation.
LicenseStringThe license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
LocationStringThe file path location where the product's library is stored.
EnvironmentStringThe version of the environment or rumtine the product is currently running under.
DataSyncVersionStringThe tier of CData Sync required to use this connector.
DataSyncCategoryStringThe category of CData Sync functionality (e.g., Source, Destination).

CData Python Connector for Microsoft Dynamics CRM

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
AuthSchemeThe authentication scheme used. Accepted entries are AzureAD,NTLM,Kerberos,AzureServicePrincipal,AzureServicePrincipalCert.
URLThe root URL of the organization. For example, a CRM 4.0 or CRM 2011 URL will resemble http://MySite/MyOrganization. For CRM Online, the URL will resemble https://myOrg.crm.dynamics.com/.
CRMVersionThe type of Dynamics CRM server to which you are connecting. Accepted entries are CRM2011+, CRMOnline.
InternetFacingDeploymentWhether you are connecting to an Internet Facing Deployment (IFD) for CRM.
UserThe SharePoint user account used to authenticate.
PasswordThe password used to authenticate the user.
OrganizationNameThe name of the organization. In Dynamics CRM 4.0 without IFD, the organization is specified in the URL; for example, http://website/organizationname. In Dynamics CRM 4.0 with IFD, this property must be set. In other versions of CRM, this property is optional.
ServerVersionThe Server SDK version of DynamicsCRM.

Azure Authentication


PropertyDescription
AzureTenantIdentifies the Microsoft Dynamics CRM tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID.
AzureEnvironmentSpecifies the Azure network environment to which you will connect. Must be the same network to which your Azure account was added.

OAuth


PropertyDescription
InitiateOAuthSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
OAuthAccessTokenSpecifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
OAuthSettingsLocationSpecifies the location of the settings file where OAuth values are saved.
CallbackURLIdentifies the URL users return to after authenticating to Microsoft Dynamics CRM via OAuth (Custom OAuth applications only).
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
ADFSServerThe ADFS Server used for authentication.
OAuthVerifierSpecifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
OAuthRefreshTokenSpecifies the OAuth refresh token used to request a new access token after the original has expired.
OAuthExpiresInSpecifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestampDisplays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.

JWT OAuth


PropertyDescription
OAuthJWTCertSupplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertTypeIdentifies the type of key store containing the JWT Certificate.
OAuthJWTCertPasswordProvides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
OAuthJWTCertSubjectIdentifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.

Kerberos


PropertyDescription
KerberosKDCIdentifies the Kerberos Key Distribution Center (KDC) service used to authenticate the user. (SPNEGO or Windows authentication only).
KerberosRealmIdentifies the Kerberos Realm used to authenticate the user.
KerberosSPNIdentifies the service principal name (SPN) for the Kerberos Domain Controller.
KerberosUserConfirms the principal name for the Kerberos Domain Controller, which uses the format host/user@realm.
KerberosKeytabFileIdentifies the Keytab file containing your pairs of Kerberos principals and encrypted keys.
KerberosServiceRealmIdentifies the service's Kerberos realm. (Cross-realm authentication only).
KerberosServiceKDCIdentifies the service's Kerberos Key Distribution Center (KDC).
KerberosTicketCacheSpecifies the full file path to an MIT Kerberos credential cache file.

SSL


PropertyDescription
SSLClientCertSpecifies the TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). This property works in conjunction with other SSL-related properties to establish a secure connection.
SSLClientCertTypeSpecifies the type of key store containing the TLS/SSL client certificate for SSL Client Authentication. Choose from a variety of key store formats depending on your platform and certificate source.
SSLClientCertPasswordSpecifes the password required to access the TLS/SSL client certificate store. Use this property if the selected certificate store type requires a password for access.
SSLClientCertSubjectSpecifes the subject of the TLS/SSL client certificate to locate it in the certificate store. Use a comma-separated list of distinguished name fields, such as CN=www.server.com, C=US. The wildcard * selects the first certificate in the store.
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Firewall


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerIdentifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.
ProxyPortIdentifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserProvides the username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordSpecifies the password of the user specified in the ProxyUser connection property.
ProxySSLTypeSpecifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsSpecifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Logging


PropertyDescription
LogfileSpecifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
MaxLogFileSizeSpecifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.
MaxLogFileCountSpecifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.

Schema


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Caching


PropertyDescription
AutoCacheSpecifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.
CacheProviderThe namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.
CacheDriverThe driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.
CacheConnectionSpecifies the connection string for the specified cache database.
CacheLocationSpecifies the path to the cache when caching to a file.
CacheToleranceNotes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.
OfflineGets the data from the specified cache database instead of live Microsoft Dynamics CRM data.
CacheMetadataDetermines whether the provider caches table metadata to a file-based cache database.

Miscellaneous


PropertyDescription
CallerIdThe Id of a user to impersonate when inserting or updating new records.
DefaultPrecisionThe currency precision that is used for pricing throughout the system. Valid values are 0-4 and Auto. If the value is Auto, the default value will be retrieved from the Microsoft Dynamics CRM server.
ExposeVirtualSubColumnBoolean that exposes a virtual subcolumn to return data in a different format.
IncludeCalculatedColumnsThis option controls whether the driver returns the Calculated Columns defined on a table. Only applicable for CRM 2015+.
LanguageCodeThe code indicating the language.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
OtherSpecifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.
PagesizeSpecifies the maximum number of records per page the provider returns when requesting data from Microsoft Dynamics CRM.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
QueryMethodThe method to use when querying data from Dynamics CRM. In most cases FetchXML will work with all tables.
QueryPassthroughThis option passes the query to the Microsoft Dynamics CRM server as is.
ReadonlyToggles read-only access to Microsoft Dynamics CRM from the provider.
RTKSpecifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.
SavedQueryFilterA comma-separated list of filters to use for displaying Saved Queries as views (ex: Accounts%,Contacts%).
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UseDisplayNamesBoolean determining if the display names for the columns should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.
UseDisplayTableNamesBoolean determining if the display names for the table should be used instead of the API names.
UseNameForPicklistValueBoolean determining if the string value should be used for picklist field values instead of integers.
UserDefinedViewsSpecifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.
UseSchemaNamesBoolean determining if the schema names for the table should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.
UseSimpleNamesSpecifies whether or not simple names should be used for tables and columns.
CData Python Connector for Microsoft Dynamics CRM

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
AuthSchemeThe authentication scheme used. Accepted entries are AzureAD,NTLM,Kerberos,AzureServicePrincipal,AzureServicePrincipalCert.
URLThe root URL of the organization. For example, a CRM 4.0 or CRM 2011 URL will resemble http://MySite/MyOrganization. For CRM Online, the URL will resemble https://myOrg.crm.dynamics.com/.
CRMVersionThe type of Dynamics CRM server to which you are connecting. Accepted entries are CRM2011+, CRMOnline.
InternetFacingDeploymentWhether you are connecting to an Internet Facing Deployment (IFD) for CRM.
UserThe SharePoint user account used to authenticate.
PasswordThe password used to authenticate the user.
OrganizationNameThe name of the organization. In Dynamics CRM 4.0 without IFD, the organization is specified in the URL; for example, http://website/organizationname. In Dynamics CRM 4.0 with IFD, this property must be set. In other versions of CRM, this property is optional.
ServerVersionThe Server SDK version of DynamicsCRM.
CData Python Connector for Microsoft Dynamics CRM

AuthScheme

The authentication scheme used. Accepted entries are AzureAD,NTLM,Kerberos,AzureServicePrincipal,AzureServicePrincipalCert.

Possible Values

AzureAD, AzureServicePrincipal, AzureServicePrincipalCert, NTLM, Kerberos

Data Type

string

Default Value

"NTLM"

Remarks

Together with Password and User, this field is used to authenticate against an on-premises Dynamics CRM 4.0 server. This property will not be used for other versions of CRM. NTLM is the default option. Use the following options to select your authentication scheme:

  • AzureAD: Set this to perform Azure Active Directory OAuth authentication.
  • AzureServicePrincipal: Set this to authenticate as an Azure Service Principal.
  • AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a certificate.
  • NTLM: Set this to use the SPNEGO over NTLM authentication on CRM On-Premise deployment.
  • Kerberos: Set this to use the SPNEGO over Kerberos authentication on CRM On-Premise deployment.

CData Python Connector for Microsoft Dynamics CRM

URL

The root URL of the organization. For example, a CRM 4.0 or CRM 2011 URL will resemble http://MySite/MyOrganization. For CRM Online, the URL will resemble https://myOrg.crm.dynamics.com/.

Data Type

string

Default Value

""

Remarks

The root URL of the organization. For example, a CRM 4.0 or CRM 2011 URL will resemble http://MySite/MyOrganization. For CRM Online, the URL will resemble https://myOrg.crm.dynamics.com/.

CData Python Connector for Microsoft Dynamics CRM

CRMVersion

The type of Dynamics CRM server to which you are connecting. Accepted entries are CRM2011+, CRMOnline.

Possible Values

CRM2011+, CRMOnline

Data Type

string

Default Value

"CRM2011+"

Remarks

The type of Dynamics CRM server to which you are connecting. Accepted entries are CRM2011+ or CRMOnline. A value of CRMOnline is required to connect using the Office 365 STS.

Set InternetFacingDeployment to connect to an IFD instance of CRM.

CData Python Connector for Microsoft Dynamics CRM

InternetFacingDeployment

Whether you are connecting to an Internet Facing Deployment (IFD) for CRM.

Data Type

bool

Default Value

false

Remarks

Set this to true if you are connecting to an Internet Facing Deployment (IFD) for CRM.

CData Python Connector for Microsoft Dynamics CRM

User

The SharePoint user account used to authenticate.

Data Type

string

Default Value

""

Remarks

Together with Password, this field is used to authenticate against the SharePoint server.

For SharePoint On-Premise, User should include the domain and will look similar to the following: DOMAIN\Username.

For SharePoint Online, User will look similar to the following: username@domain.onmicrosoft.com.

CData Python Connector for Microsoft Dynamics CRM

Password

The password used to authenticate the user.

Data Type

string

Default Value

""

Remarks

The User and Password are together used to authenticate with the server.

CData Python Connector for Microsoft Dynamics CRM

OrganizationName

The name of the organization. In Dynamics CRM 4.0 without IFD, the organization is specified in the URL; for example, http://website/organizationname. In Dynamics CRM 4.0 with IFD, this property must be set. In other versions of CRM, this property is optional.

Data Type

string

Default Value

""

Remarks

The following table is a description for setting this property in each Dynamics CRM version.

Dynamics CRM 4.0 without IFDOptional. If this property is not set, the organization name can be retrieved from the URL.
CRM 4.0 with IFDRequired. This property must be set.
Dynamics CRM 2011 on-premisesOptional. If this property is not set, the organization name can be retrieved from the URL.
Dynamics CRM 2011 with IFDOptional.
Dynamics CRM 2011 without IFDOptional.

CData Python Connector for Microsoft Dynamics CRM

ServerVersion

The Server SDK version of DynamicsCRM.

Data Type

string

Default Value

""

Remarks

The Server SDK version of DynamicsCRM.

CData Python Connector for Microsoft Dynamics CRM

Azure Authentication

This section provides a complete list of the Azure Authentication properties you can configure in the connection string for this provider.


PropertyDescription
AzureTenantIdentifies the Microsoft Dynamics CRM tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID.
AzureEnvironmentSpecifies the Azure network environment to which you will connect. Must be the same network to which your Azure account was added.
CData Python Connector for Microsoft Dynamics CRM

AzureTenant

Identifies the Microsoft Dynamics CRM tenant being used to access data. Accepts either the tenant's domain name (for example, contoso.onmicrosoft.com ) or its directory (tenant) ID.

Data Type

string

Default Value

""

Remarks

A tenant is a digital container for your organization's users and resources, managed through Microsoft Entra ID (formerly Azure AD). Each tenant is associated with a unique directory ID, and often with a custom domain (for example, microsoft.com or contoso.onmicrosoft.com).

To find the directory (tenant) ID in the Microsoft Entra Admin Center, navigate to Microsoft Entra ID > Properties and copy the value labeled "Directory (tenant) ID".

This property is required in the following cases:

  • When AuthScheme is set to AzureServicePrincipal or AzureServicePrincipalCert
  • When AuthScheme is AzureAD and the user account belongs to multiple tenants

You can provide the tenant value in one of two formats:

  • A domain name (for example, contoso.onmicrosoft.com)
  • A directory (tenant) ID in GUID format (for example, c9d7b8e4-1234-4f90-bc1a-2a28e0f9e9e0)

Specifying the tenant explicitly ensures that the authentication request is routed to the correct directory, which is especially important when a user belongs to multiple tenants or when using service principal–based authentication.

If this value is omitted when required, authentication may fail or connect to the wrong tenant. This can result in errors such as unauthorized or resource not found.

CData Python Connector for Microsoft Dynamics CRM

AzureEnvironment

Specifies the Azure network environment to which you will connect. Must be the same network to which your Azure account was added.

Possible Values

GLOBAL, CHINA, USGOVT, USGOVTDOD

Data Type

string

Default Value

"GLOBAL"

Remarks

Required if your Azure account is part of a different network than the Global network, such as China, USGOVT, or USGOVTDOD.

CData Python Connector for Microsoft Dynamics CRM

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
InitiateOAuthSpecifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
OAuthAccessTokenSpecifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
OAuthSettingsLocationSpecifies the location of the settings file where OAuth values are saved.
CallbackURLIdentifies the URL users return to after authenticating to Microsoft Dynamics CRM via OAuth (Custom OAuth applications only).
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
ADFSServerThe ADFS Server used for authentication.
OAuthVerifierSpecifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
OAuthRefreshTokenSpecifies the OAuth refresh token used to request a new access token after the original has expired.
OAuthExpiresInSpecifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestampDisplays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.
CData Python Connector for Microsoft Dynamics CRM

InitiateOAuth

Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.

Possible Values

OFF, REFRESH, GETANDREFRESH

Data Type

string

Default Value

"OFF"

Remarks

OAuth is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. The OAuth flow defines the method to be used for:

  • Logging in users.
  • Exchanging user credentials for an OAuth access token to be used for authentication.
  • Providing limited access to applications.

The options for initiating and maintaining OAuth access are named for the parts of that flow that the connector handles:

OFF The connector provides no automatic OAuth flow initiation. The OAuth flow is handled entirely by the user.
This means that the user must refresh the token manually, and reconnect with an updated OAuthAccessToken property when the current token expires.
GETANDREFRESH The connector handles the entire OAuth flow (both GET and REFRESH). This means that if a token already exists, the connector refreshes it when necessary; if no token currently exists, the connector obtains it by prompting the user to login.
REFRESH The user obtains the OAuth Access Token and sets up the sequence for refreshing the OAuth Access Token. (The user is never prompted to log in to authenticate.) After the user logs in, the connector handles the refresh of the OAuth Access Token.

For more information on how to set up OAuth and use this property when configuring a connection, see Establishing a Connection.

CData Python Connector for Microsoft Dynamics CRM

OAuthClientId

Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.

Data Type

string

Default Value

""

Remarks

This property is required in two cases:

  • When using a custom OAuth application, such as in web-based authentication flows, service-based authentication, or certificate-based flows that require application registration.
  • If the driver does not provide embedded OAuth credentials.

(When the driver provides embedded OAuth credentials, this value may already be provided by the connector and thus not require manual entry.)

OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.

OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.

While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Microsoft Dynamics CRM

OAuthClientSecret

Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).

Data Type

string

Default Value

""

Remarks

This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.

The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.

OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.

Notes:

  • This value should be stored securely and never exposed in public repositories, scripts, or unsecured environments.
  • Client secrets may also expire after a set period. Be sure to monitor expiration dates and rotate secrets as needed to maintain uninterrupted access.

For more information on how this property is used when configuring a connection, see Establishing a Connection

CData Python Connector for Microsoft Dynamics CRM

OAuthAccessToken

Specifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.

Data Type

string

Default Value

""

Remarks

OAuthAccessToken is a temporary credential that authorizes access to protected resources. It is typically returned by the identity provider after the user or client application completes an OAuth authentication flow. This property is most commonly used in automated workflows or custom OAuth implementations where you want to manage token handling outside of the driver.

The OAuth access token has a server-dependent timeout, limiting user access. The timeout is set using the OAuthExpiresIn property. However, it can be reissued between requests to keep access alive as long as the user keeps working.

If InitiateOAuth is set to REFRESH, we recommend that you also set both OAuthExpiresIn and OAuthTokenTimestamp. The connector uses these properties to determine when the token expires so it can refresh most efficiently. If OAuthExpiresIn and OAuthTokenTimestamp are not specified, the connector refreshes the token immediately.

Note: Access tokens should be treated as sensitive credentials and stored securely. Avoid exposing them in logs, scripts, or configuration files that are not access-controlled.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Microsoft Dynamics CRM

OAuthSettingsLocation

Specifies the location of the settings file where OAuth values are saved.

Data Type

string

Default Value

"%APPDATA%\\CData\\DynamicsCRM Data Provider\\OAuthSettings.txt"

Remarks

Storing OAuth settings in a central location avoids the need for users to enter OAuth connection properties manually each time they log in. It also enables credentials to be shared across connections or processes.

You can store OAuth values in a central file for shared access to those values, in either of the following ways:

  • Set InitiateOAuth to either GETANDREFRESH or REFRESH and specify a filepath to the OAuth settings file.
  • Use memory storage to load the credentials into static memory.

The following sections provide more detail on each of these methods.

Specifying the OAuthSettingsLocation Filepath

The default OAuth setting location is %APPDATA%\\CData\\DynamicsCRM Data Provider\\OAuthSettings.txt, with %APPDATA% set to the user's configuration directory. Default values vary, depending on the user's operating system.

  • Windows (ODBC and Power BI): registry://%DSN%
  • Windows: %APPDATA%CDataDynamicsCRM Data Provider\OAuthSettings.txt
  • Mac: %APPDATA%/CData/DynamicsCRM Data Provider/OAuthSettings.txt
  • Linux: %APPDATA%/CData/DynamicsCRM Data Provider/OAuthSettings.txt

Loading Credentials Via Memory Storage

Memory locations are specified by using a value starting with memory://, followed by a unique identifier for that set of credentials (for example, memory://user1). The identifier can be anything you choose, but it should be unique to the user.

Unlike file-based storage, where credentials persist across connections, memory storage loads the credentials into static memory and the credentials are shared between connections using the same identifier for the life of the process. To persist credentials outside the current process, you must manually store the credentials prior to closing the connection. This enables you to set them in the connection when the process is started again.

To retrieve OAuth property values, query the sys_connection_props system table. If there are multiple connections using the same credentials, the properties are read from the previously closed connection.

Supported Storage Types

  • memory://: Stores OAuth tokens in-memory (unique identifier, shared within same process, etc.)
  • registry://: Only supported in the Windows ODBC and Power BI editions. Stores OAuth tokens in the registry under the DSN settings. Must end in a DSN name like registry://CData Python Connector for Microsoft Dynamics CRM Data Source, or registry://%DSN%.
  • %DSN%: The name of the DSN you are connecting with.
  • Default (no prefix): Stores OAuth tokens within files. The value can be either an absolute path, or a path starting with %APPDATA% or %PROGRAMFILES%.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Microsoft Dynamics CRM

CallbackURL

Identifies the URL users return to after authenticating to Microsoft Dynamics CRM via OAuth (Custom OAuth applications only).

Data Type

string

Default Value

""

Remarks

If you created a custom OAuth application, the OAuth authorization server redirects the user to this URL during the authentication process. This value must match the callback URL you specified when you configured the custom OAuth application.

CData Python Connector for Microsoft Dynamics CRM

Scope

Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.

Data Type

string

Default Value

""

Remarks

Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.

When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.

When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.

CData Python Connector for Microsoft Dynamics CRM

ADFSServer

The ADFS Server used for authentication.

Data Type

string

Default Value

""

Remarks

Should only be specified when CRMVersion is set to CRM2011+. Otherwise this property is ignored.

CData Python Connector for Microsoft Dynamics CRM

OAuthVerifier

Specifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.

Data Type

string

Default Value

""

Remarks

For detailed instructions about how to obtain the OAuthVerifier value, see Establishing a Connection.

CData Python Connector for Microsoft Dynamics CRM

OAuthRefreshToken

Specifies the OAuth refresh token used to request a new access token after the original has expired.

Data Type

string

Default Value

""

Remarks

The refresh token is used to obtain a new access token when the current one expires. It enables seamless authentication for long-running or automated workflows without requiring the user to log in again. This property is especially important in headless, CI/CD, or server-based environments where interactive authentication is not possible.

The refresh token is typically obtained during the initial OAuth exchange by calling the GetOAuthAccessToken stored procedure. After that, it can be set using this property to enable automatic token refresh, or passed to the RefreshOAuthAccessTokenproc; stored procedure if you prefer to manage the refresh manually.

When InitiateOAuth is set to REFRESH, the driver uses this token to retrieve a new access token automatically. After the first refresh, the driver saves updated tokens in the location defined by OAuthSettingsLocation, and uses those values for subsequent connections.

Note: The OAuthRefreshToken should be handled securely and stored in a trusted location. Like access tokens, refresh tokens can expire or be revoked depending on the identity provider’s policies.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Python Connector for Microsoft Dynamics CRM

OAuthExpiresIn

Specifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.

Data Type

string

Default Value

""

Remarks

The OAuth Access Token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthExpiresIn is the number of seconds the token is valid from when it was created. For example, a token generated at 2024-01-29 20:00:00 UTC that expires at 2024-01-29 21:00:00 UTC (an hour later) would have an OAuthExpiresIn value of 3600, no matter what the current time is.

To determine how long the user has before the Access Token will expire, check OAuthTokenTimestamp.

CData Python Connector for Microsoft Dynamics CRM

OAuthTokenTimestamp

Displays a Unix epoch timestamp in milliseconds that shows how long ago the current access token was created.

Data Type

string

Default Value

""

Remarks

The OAuth access token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthTokenTimestamp is the Unix timestamp when the server created the token. For example, OAuthTokenTimestamp=1706558400 indicates the OAuthAccessToken was generated by the server at 2024-01-29 20:00:00 UTC.

CData Python Connector for Microsoft Dynamics CRM

JWT OAuth

This section provides a complete list of the JWT OAuth properties you can configure in the connection string for this provider.


PropertyDescription
OAuthJWTCertSupplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertTypeIdentifies the type of key store containing the JWT Certificate.
OAuthJWTCertPasswordProvides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
OAuthJWTCertSubjectIdentifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.
CData Python Connector for Microsoft Dynamics CRM

OAuthJWTCert

Supplies the name of the client certificate's JWT Certificate store.

Data Type

string

Default Value

""

Remarks

The OAuthJWTCertType field specifies the type of the certificate store specified in OAuthJWTCert. If the store is password-protected, use OAuthJWTCertPassword to supply the password..

OAuthJWTCert is used in conjunction with the OAuthJWTCertSubject field in order to specify client certificates. If OAuthJWTCert has a value, and OAuthJWTCertSubject is set, the CData Python Connector for Microsoft Dynamics CRM initiates a search for a certificate. For further information, see OAuthJWTCertSubject.

Designations of certificate stores are platform-dependent.

Notes

  • The most common User and Machine certificate stores in Windows include:
    • MY: A certificate store holding personal certificates with their associated private keys.
    • CA: Certifying authority certificates.
    • ROOT: Root certificates.
    • SPC: Software publisher certificates.
  • In Java, the certificate store normally is a file containing certificates and optional private keys.
  • When the certificate store type is PFXFile, this property must be set to the name of the file.
  • When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).

CData Python Connector for Microsoft Dynamics CRM

OAuthJWTCertType

Identifies the type of key store containing the JWT Certificate.

Possible Values

USER, MACHINE, PFXFILE, PFXBLOB, JKSFILE, JKSBLOB, PEMKEY_FILE, PEMKEY_BLOB, PUBLIC_KEY_FILE, PUBLIC_KEY_BLOB, SSHPUBLIC_KEY_FILE, SSHPUBLIC_KEY_BLOB, P7BFILE, PPKFILE, XMLFILE, XMLBLOB, BCFKSFILE, BCFKSBLOB

Data Type

string

Default Value

"USER"

Remarks

ValueDescriptionNotes
USERA certificate store owned by the current user. Only available in Windows.
MACHINEA machine store.Not available in Java or other non-Windows environments.
PFXFILEA PFX (PKCS12) file containing certificates.
PFXBLOBA string (base-64-encoded) representing a certificate store in PFX (PKCS12) format.
JKSFILEA Java key store (JKS) file containing certificates.Only available in Java.
JKSBLOBA string (base-64-encoded) representing a certificate store in Java key store (JKS) format. Only available in Java.
PEMKEY_FILEA PEM-encoded file that contains a private key and an optional certificate.
PEMKEY_BLOBA string (base64-encoded) that contains a private key and an optional certificate.
PUBLIC_KEY_FILEA file that contains a PEM- or DER-encoded public key certificate.
PUBLIC_KEY_BLOBA string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate.
SSHPUBLIC_KEY_FILEA file that contains an SSH-style public key.
SSHPUBLIC_KEY_BLOBA string (base-64-encoded) that contains an SSH-style public key.
P7BFILEA PKCS7 file containing certificates.
PPKFILEA file that contains a PPK (PuTTY Private Key).
XMLFILEA file that contains a certificate in XML format.
XMLBLOBAstring that contains a certificate in XML format.
BCFKSFILEA file that contains an Bouncy Castle keystore.
BCFKSBLOBA string (base-64-encoded) that contains a Bouncy Castle keystore.

CData Python Connector for Microsoft Dynamics CRM

OAuthJWTCertPassword

Provides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.

Data Type

string

Default Value

""

Remarks

This property specifies the password needed to open a password-protected certificate store. To determine if a password is necessary, refer to the documentation or configuration for your specific certificate store.

CData Python Connector for Microsoft Dynamics CRM

OAuthJWTCertSubject

Identifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.

Data Type

string

Default Value

"*"

Remarks

The value of this property is used to locate a matching certificate in the store. The search process works as follows:

  • If an exact match for the subject is found, the corresponding certificate is selected.
  • If no exact match is found, the store is searched for certificates whose subjects contain the property value.
  • If no match is found, no certificate is selected.

You can set the value to '*' to automatically select the first certificate in the store. The certificate subject is a comma-separated list of distinguished name fields and values. For example: CN=www.server.com, OU=test, C=US, E=support@cdata.com.

Common fields include:

FieldMeaning
CNCommon Name. This is commonly a host name like www.server.com.
OOrganization
OUOrganizational Unit
LLocality
SState
CCountry
EEmail Address

If a field value contains a comma, enclose it in quotes. For example: "O=ACME, Inc.".

CData Python Connector for Microsoft Dynamics CRM

Kerberos

This section provides a complete list of the Kerberos properties you can configure in the connection string for this provider.


PropertyDescription
KerberosKDCIdentifies the Kerberos Key Distribution Center (KDC) service used to authenticate the user. (SPNEGO or Windows authentication only).
KerberosRealmIdentifies the Kerberos Realm used to authenticate the user.
KerberosSPNIdentifies the service principal name (SPN) for the Kerberos Domain Controller.
KerberosUserConfirms the principal name for the Kerberos Domain Controller, which uses the format host/user@realm.
KerberosKeytabFileIdentifies the Keytab file containing your pairs of Kerberos principals and encrypted keys.
KerberosServiceRealmIdentifies the service's Kerberos realm. (Cross-realm authentication only).
KerberosServiceKDCIdentifies the service's Kerberos Key Distribution Center (KDC).
KerberosTicketCacheSpecifies the full file path to an MIT Kerberos credential cache file.
CData Python Connector for Microsoft Dynamics CRM

KerberosKDC

Identifies the Kerberos Key Distribution Center (KDC) service used to authenticate the user. (SPNEGO or Windows authentication only).

Data Type

string

Default Value

""

Remarks

The Kerberos properties are used when using SPNEGO or Windows Authentication. The connector requests session tickets and temporary session keys from the Kerberos KDC service, which is usually co-located with the domain controller.

If KerberosKDC is not specified, the connector tries to detect these properties automatically from the following locations:

  • KRB5 Config File (krb5.ini/krb5.conf): If the KRB5_CONFIG environment variable is set and the file exists, the connector obtains the KDC from the specified file. If it is not found there, the connector tries to read from the default MIT location based on the OS: C:\ProgramData\MIT\Kerberos5\krb5.ini (Windows) or /etc/krb5.conf (Linux).
  • Domain Name and Host: If the Kerberos Realm and Kerberos KDC cannot be inferred from another location, the connector infers them from the configured domain name and host.

CData Python Connector for Microsoft Dynamics CRM

KerberosRealm

Identifies the Kerberos Realm used to authenticate the user.

Data Type

string

Default Value

""

Remarks

A realm is a logical network, similar to a domain, that defines a group of systems under the same master KDC. Some realms are hierarchical, where one realm is a superset of the other realm, but usually realms are nonhierarchical (or “direct”) and the mapping between the two realms must be defined. Kerberos cross-realm authentication enables authentication across realms. Each realm only needs to have a principal entry for the other realm in its KDC.

The Kerberos properties are used when using SPNEGO or Windows Authentication. The connector requests session tickets and temporary session keys from the Kerberos KDC service, which is usually co-located with the domain controller. The Kerberos Realm can be configured by an administrator to be any string, but it is usually based on the domain name.

If Kerberos Realm is not specified, the connector will attempt to detect these properties automatically from the following locations:

  • KRB5 Config File (krb5.ini/krb5.conf): If the KRB5_CONFIG environment variable is set and the file exists, the connector will obtain the default realm from the specified file. Otherwise, it will attempt to read from the default MIT location based on the OS: C:\ProgramData\MIT\Kerberos5\krb5.ini (Windows) or /etc/krb5.conf (Linux)
  • Domain Name and Host: If the Kerberos Realm and Kerberos KDC could not be inferred from another location, the connector will infer them from the user-configured domain name and host. This might work in some Windows environments.

CData Python Connector for Microsoft Dynamics CRM

KerberosSPN

Identifies the service principal name (SPN) for the Kerberos Domain Controller.

Data Type

string

Default Value

""

Remarks

If the SPN on the Kerberos Domain Controller is not the same as the URL that you are authenticating to, use this property to set the SPN to the KDC's URL.

CData Python Connector for Microsoft Dynamics CRM

KerberosUser

Confirms the principal name for the Kerberos Domain Controller, which uses the format host/user@realm.

Data Type

string

Default Value

""

Remarks

If there is a Kerberos principal, that Kerberos principal name should always be used to authenticate to the database.

CData Python Connector for Microsoft Dynamics CRM

KerberosKeytabFile

Identifies the Keytab file containing your pairs of Kerberos principals and encrypted keys.

Data Type

string

Default Value

""

Remarks

A keytab (short for “key table”) stores long-term keys for one or more principals. In most cases, end users authenticate to the KDC using their client secret (password). However, in situations where authentication or re-authentication happen using automated scripts and applications, it may be more efficient to use a keytab, which sends passwords to the KDC in encrypted form, automatically.

Keytabs are normally represented by files in a standard format, and named using the format type:value. Usually type is FILE and value is the absolute pathname of the file. The other possible value for type is MEMORY, which indicates a temporary keytab stored in the memory of the current process.

A keytab contains one or more entries, where each entry consists of a timestamp (indicating when the entry was written to the keytab), a principal name, a key version number, an encryption type, and the encryption key itself. They can be generated using kutil.

For example:

[admin@myhost]# ktutil

ktutil: addent -password -p starlord/myhost.galaxy.com@GALAXY.COM -k 1 -e aes256-cts-hmac-sha1-96
Password for starlord/myhost.galaxy.com:

ktutil: addent -password -p starlord/myhost.galaxy.com@GALAXY.COM -k 1 -e aes128-cts-hmac-sha1-96
Password for starlord/myhost.galaxy.com:

ktutil: addent -password -p starlord/myhost.galaxy.com@GALAXY.COM -k 1 -e des3-cbc-sha1
Password for starlord/myhost.galaxy.com:

ktutil: wkt /path/to/starlord.keytab

Note: You must create principals for all authentication methods (encryption types) you want to support.

To display a keytab, use klist -k.

CData Python Connector for Microsoft Dynamics CRM

KerberosServiceRealm

Identifies the service's Kerberos realm. (Cross-realm authentication only).

Data Type

string

Default Value

""

Remarks

The KerberosServiceRealm is used to specify a service's KerberosRealm when using cross-realm Kerberos authentication.

In most cases, a single realm and KDC machine are used to perform the Kerberos authentication, which means that this property would not be required. However, the property is available for complex setups where a different realm and KDC machine are used to obtain an authentication ticket (AS request) and a service ticket (TGS request).

CData Python Connector for Microsoft Dynamics CRM

KerberosServiceKDC

Identifies the service's Kerberos Key Distribution Center (KDC).

Data Type

string

Default Value

""

Remarks

The KerberosServiceKDC is used to specify the service Kerberos KDC when using cross-realm Kerberos authentication.

In most cases, a single realm and KDC machine are used to perform the Kerberos authentication, which means that this property would not be required. However, the property is available for complex setups where a different realm and KDC machine are used to obtain an authentication ticket (AS request) and a service ticket (TGS request).

CData Python Connector for Microsoft Dynamics CRM

KerberosTicketCache

Specifies the full file path to an MIT Kerberos credential cache file.

Data Type

string

Default Value

""

Remarks

Set this property if you want to use a credential cache file that was created using the MIT Kerberos Ticket Manager or kinit command.

CData Python Connector for Microsoft Dynamics CRM

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLClientCertSpecifies the TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). This property works in conjunction with other SSL-related properties to establish a secure connection.
SSLClientCertTypeSpecifies the type of key store containing the TLS/SSL client certificate for SSL Client Authentication. Choose from a variety of key store formats depending on your platform and certificate source.
SSLClientCertPasswordSpecifes the password required to access the TLS/SSL client certificate store. Use this property if the selected certificate store type requires a password for access.
SSLClientCertSubjectSpecifes the subject of the TLS/SSL client certificate to locate it in the certificate store. Use a comma-separated list of distinguished name fields, such as CN=www.server.com, C=US. The wildcard * selects the first certificate in the store.
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.
CData Python Connector for Microsoft Dynamics CRM

SSLClientCert

Specifies the TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). This property works in conjunction with other SSL-related properties to establish a secure connection.

Data Type

string

Default Value

""

Remarks

This property specifies the client certificate store for SSL Client Authentication. Use this property alongside SSLClientCertType, which defines the type of the certificate store, and SSLClientCertPassword, which specifies the password for password-protected stores. When SSLClientCert is set and SSLClientCertSubject is configured, the driver searches for a certificate matching the specified subject.

Certificate store designations vary by platform. On Windows, certificate stores are identified by names such as MY (personal certificates), while in Java, the certificate store is typically a file containing certificates and optional private keys.

The following are designations of the most common User and Machine certificate stores in Windows:

MYA certificate store holding personal certificates with their associated private keys.
CACertifying authority certificates.
ROOTRoot certificates.
SPCSoftware publisher certificates.

For PFXFile types, set this property to the filename. For PFXBlob types, set this property to the binary contents of the file in PKCS12 format.

CData Python Connector for Microsoft Dynamics CRM

SSLClientCertType

Specifies the type of key store containing the TLS/SSL client certificate for SSL Client Authentication. Choose from a variety of key store formats depending on your platform and certificate source.

Possible Values

USER, MACHINE, PFXFILE, PFXBLOB, JKSFILE, JKSBLOB, PEMKEY_FILE, PEMKEY_BLOB, PUBLIC_KEY_FILE, PUBLIC_KEY_BLOB, SSHPUBLIC_KEY_FILE, SSHPUBLIC_KEY_BLOB, P7BFILE, PPKFILE, XMLFILE, XMLBLOB, BCFKSFILE, BCFKSBLOB

Data Type

string

Default Value

"USER"

Remarks

This property determines the format and location of the key store used to provide the client certificate. Supported values include platform-specific and universal key store formats. The available values and their usage are:

USER - defaultFor Windows, this specifies that the certificate store is a certificate store owned by the current user. Note that this store type is not available in Java.
MACHINEFor Windows, this specifies that the certificate store is a machine store. Note that this store type is not available in Java.
PFXFILEThe certificate store is the name of a PFX (PKCS12) file containing certificates.
PFXBLOBThe certificate store is a string (base-64-encoded) representing a certificate store in PFX (PKCS12) format.
JKSFILEThe certificate store is the name of a Java key store (JKS) file containing certificates. Note that this store type is only available in Java.
JKSBLOBThe certificate store is a string (base-64-encoded) representing a certificate store in JKS format. Note that this store type is only available in Java.
PEMKEY_FILEThe certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate.
PEMKEY_BLOBThe certificate store is a string (base64-encoded) that contains a private key and an optional certificate.
PUBLIC_KEY_FILEThe certificate store is the name of a file that contains a PEM- or DER-encoded public key certificate.
PUBLIC_KEY_BLOBThe certificate store is a string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate.
SSHPUBLIC_KEY_FILEThe certificate store is the name of a file that contains an SSH-style public key.
SSHPUBLIC_KEY_BLOBThe certificate store is a string (base-64-encoded) that contains an SSH-style public key.
P7BFILEThe certificate store is the name of a PKCS7 file containing certificates.
PPKFILEThe certificate store is the name of a file that contains a PuTTY Private Key (PPK).
XMLFILEThe certificate store is the name of a file that contains a certificate in XML format.
XMLBLOBThe certificate store is a string that contains a certificate in XML format.
BCFKSFILEThe certificate store is the name of a file that contains an Bouncy Castle keystore.
BCFKSBLOBThe certificate store is a string (base-64-encoded) that contains a Bouncy Castle keystore.

CData Python Connector for Microsoft Dynamics CRM

SSLClientCertPassword

Specifes the password required to access the TLS/SSL client certificate store. Use this property if the selected certificate store type requires a password for access.

Data Type

string

Default Value

""

Remarks

This property provides the password needed to open a password-protected certificate store. This property is necessary when using certificate stores that require a password for decryption, as is often recommended for PFX or JKS type stores.

If the certificate store type does not require a password, for example USER or MACHINE on Windows, this property can be left blank. Ensure that the password matches the one associated with the specified certificate store to avoid authentication errors.

CData Python Connector for Microsoft Dynamics CRM

SSLClientCertSubject

Specifes the subject of the TLS/SSL client certificate to locate it in the certificate store. Use a comma-separated list of distinguished name fields, such as CN=www.server.com, C=US. The wildcard * selects the first certificate in the store.

Data Type

string

Default Value

"*"

Remarks

This property determines which client certificate to load based on its subject. The connector searches for a certificate that exactly matches the specified subject. If no exact match is found, the connector looks for certificates containing the value of the subject. If no match is found, no certificate is selected.

The subject should follow the standard format of a comma-separated list of distinguished name fields and values. For example, CN=www.server.com, OU=Test, C=US. Common fields include the following:

FieldMeaning
CNCommon Name. This is commonly a host name like www.server.com.
OOrganization
OUOrganizational Unit
LLocality
SState
CCountry
EEmail Address

Note: If any field contains special characters, such as commas, the value must be quoted. For example: CN="Example, Inc.", C=US.

CData Python Connector for Microsoft Dynamics CRM

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Data Type

string

Default Value

""

Remarks

If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE-----
MIIChTCCAe4CAQAwDQYJKoZIhv......Qw==
-----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY-----
MIGfMA0GCSq......AQAB
-----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space- or colon-separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space- or colon-separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.

CData Python Connector for Microsoft Dynamics CRM

Firewall

This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.
CData Python Connector for Microsoft Dynamics CRM

FirewallType

Specifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.

Possible Values

NONE, TUNNEL, SOCKS4, SOCKS5

Data Type

string

Default Value

"NONE"

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

Note: By default, the connector connects to the system proxy. To disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.

The following table provides port number information for each of the supported protocols.

Protocol Default Port Description
TUNNEL 80 The port where the connector opens a connection to Microsoft Dynamics CRM. Traffic flows back and forth via the proxy at this location.
SOCKS4 1080 The port where the connector opens a connection to Microsoft Dynamics CRM. SOCKS 4 then passes theFirewallUser value to the proxy, which determines whether the connection request should be granted.
SOCKS5 1080 The port where the connector sends data to Microsoft Dynamics CRM. If the SOCKS 5 proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.

CData Python Connector for Microsoft Dynamics CRM

FirewallServer

Identifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Microsoft Dynamics CRM

FirewallPort

Specifies the TCP port to be used for a proxy-based firewall.

Data Type

int

Default Value

0

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Microsoft Dynamics CRM

FirewallUser

Identifies the user ID of the account authenticating to a proxy-based firewall.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Microsoft Dynamics CRM

FirewallPassword

Specifies the password of the user account authenticating to a proxy-based firewall.

Data Type

string

Default Value

""

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

CData Python Connector for Microsoft Dynamics CRM

Proxy

This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerIdentifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.
ProxyPortIdentifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserProvides the username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordSpecifies the password of the user specified in the ProxyUser connection property.
ProxySSLTypeSpecifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsSpecifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.
CData Python Connector for Microsoft Dynamics CRM

ProxyAutoDetect

Specifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.

Data Type

bool

Default Value

true

Remarks

When this connection property is set to True, the connector checks your system proxy settings for existing proxy server configurations (no need to manually supply proxy server details).

This connection property takes precedence over other proxy settings. If you want to configure the connector to connect to a specific proxy server, set ProxyAutoDetect to False.

On Windows, the connector reads the proxy settings from the Internet Options in the registry, specifically the registry key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\. On Windows 10 and later, this corresponds to the Proxy Settings found in the Windows Settings.

Note that these settings apply only to the current user of the machine. If you're running an application as a service, the connector does not read your own user's settings. You must instead manually supply the proxy settings in the connector's connection properties.

On Mac, the connector reads proxy settings from the system-configured CFNetwork settings.

On Linux, this property is unsupported, and is set to False by default.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

CData Python Connector for Microsoft Dynamics CRM

ProxyServer

Identifies the hostname or IP address of the proxy server through which you want to route HTTP traffic.

Data Type

string

Default Value

""

Remarks

The connector only routes HTTP traffic through the proxy server specified in this connection property when ProxyAutoDetect is set to False.

If ProxyAutoDetect is set to True (the default), the connector instead routes HTTP traffic through the proxy server specified in your system proxy settings.

CData Python Connector for Microsoft Dynamics CRM

ProxyPort

Identifies the TCP port on your specified proxy server that has been reserved for routing HTTP traffic to and from the client.

Data Type

int

Default Value

80

Remarks

The connector only routes HTTP traffic through the ProxyServer port specified in this connection property when ProxyAutoDetect is set to False.

If ProxyAutoDetect is set to True (the default), the connector instead routes HTTP traffic through the proxy server port specified in your system proxy settings.

For other proxy types, see FirewallType.

CData Python Connector for Microsoft Dynamics CRM

ProxyAuthScheme

Specifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.

Possible Values

BASIC, DIGEST, NONE, NEGOTIATE, NTLM

Data Type

string

Default Value

"BASIC"

Remarks

Note: The connector only uses this ProxyAuthScheme when ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the authentication method specified in your system proxy settings.

Supported authentication types :

  • BASIC: The connector performs HTTP basic authentication.
  • DIGEST: The connector performs HTTP digest authentication.
  • NTLM: The connector retrieves an NTLM token.
  • NEGOTIATE: The connector retrieves an NTLM or Kerberos token based on the applicable protocol for authentication.
  • NONE: Signifies that the ProxyServer does not require authentication.

For all values other than NONE, you must also set the ProxyUser and ProxyPassword connection properties.

If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.

CData Python Connector for Microsoft Dynamics CRM

ProxyUser

Provides the username of a user account registered with the proxy server specified in the ProxyServer connection property.

Data Type

string

Default Value

""

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyUser
BASIC The username of a user registered with the proxy server.
DIGEST The username of a user registered with the proxy server.
NEGOTIATE The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NTLM The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NONE Do not set the ProxyPassword connection property.

Note: The connector only uses this username if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the username specified in your system proxy settings.

CData Python Connector for Microsoft Dynamics CRM

ProxyPassword

Specifies the password of the user specified in the ProxyUser connection property.

Data Type

string

Default Value

""

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyPassword
BASIC The password associated with the proxy server user specified in ProxyUser.
DIGEST The password associated with the proxy server user specified in ProxyUser.
NEGOTIATE The password associated with the Windows user account specified in ProxyUser.
NTLM The password associated with the Windows user account specified in ProxyUser.
NONE Do not set the ProxyPassword connection property.

For SOCKS 5 authentication or tunneling, see FirewallType.

Note: The connector only uses this password if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True (the default), the connector instead uses the password specified in your system proxy settings.

CData Python Connector for Microsoft Dynamics CRM

ProxySSLType

Specifies the SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.

Possible Values

AUTO, ALWAYS, NEVER, TUNNEL

Data Type

string

Default Value

"AUTO"

Remarks

This property determines when to use SSL for the connection to the HTTP proxy specified by ProxyServer. You can set this connection property to the following values :

AUTODefault setting. If ProxyServer is set to an HTTPS URL, the connector uses the TUNNEL option. If ProxyServer is set to an HTTP URL, the component uses the NEVER option.
ALWAYSThe connection is always SSL enabled.
NEVERThe connection is not SSL enabled.
TUNNELThe connection is made through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy.

CData Python Connector for Microsoft Dynamics CRM

ProxyExceptions

Specifies a semicolon-separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Data Type

string

Default Value

""

Remarks

The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.

Note: The connector uses the system proxy settings by default, without further configuration needed. If you want to explicitly configure proxy exceptions for this connection, set ProxyAutoDetect to False.

CData Python Connector for Microsoft Dynamics CRM

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
LogfileSpecifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
MaxLogFileSizeSpecifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.
MaxLogFileCountSpecifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.
CData Python Connector for Microsoft Dynamics CRM

Logfile

Specifies the file path to the log file where the provider records its activities, such as authentication, query execution, and connection details.

Data Type

string

Default Value

""

Remarks

This property specifies the location and name of the log file where the connector records its operations, including authentication events, query execution, and connection details. If the specified file does not exist, the connector creates it. Ensure that the user or the service running the connector has write access to the specified path or file. Without sufficient permissions, the log file is not created.

Sensitive information from the connection string, such as passwords and tokens, is automatically masked in the logs. However, sensitive information present in the data itself may not be masked.

If you specify a relative path for Logfile, and if the Location property is set, that directory is used as the base path for the log file.

Additional properties allow you to customize logging behavior:

CData Python Connector for Microsoft Dynamics CRM

Verbosity

Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Data Type

string

Default Value

"1"

Remarks

This property defines the level of detail the connector includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.

The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.

When combined with the LogModules property, Verbosity can refine logging to specific categories of information.

CData Python Connector for Microsoft Dynamics CRM

LogModules

Specifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.

Data Type

string

Default Value

""

Remarks

The connector writes details about each operation it performs into the logfile specified by the Logfile connection property.

Each of these logged operations are assigned to a themed category called a module, and each module has a corresponding short code used to labels individual connector operations as belonging to that module.

When this connection property is set to a semicolon-separated list of module codes, only operations belonging to the specified modules are written to the logfile. Note that this only affects which operations are logged moving forward and doesn't retroactively alter the existing contents of the logfile. For example: INFO;EXEC;SSL;META;

By default, logged operations from all modules are included.

You can explicitly exclude a module by prefixing it with a "-". For example: -HTTP

To apply filters to submodules, identify them with the syntax <module name>.<submodule name>. For example, the following value causes the connector to only log actions belonging to the HTTP module, and further refines it to exclude actions belonging to the Res submodule of the HTTP module: HTTP;-HTTP.Res

Note that the logfile filtering triggered by the Verbosity connection property takes precedence over the filtering imposed by this connection property. This means that operations of a higher verbosity level than the level specified in the Verbosity connection property are not printed in the logfile, even if they belong to one of the modules specified in this connection property.

The available modules and submodules are:

Module Name Module Description Submodules
INFO General Information. Includes the connection string, product version (build number), and initial connection messages.
  • Connec – Information related to creating or destroying connections.
  • Messag – Generic label for messages pertaining to connections, the connection string, and product version. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
EXEC Query Execution. Includes execution messages for user-written SQL queries, parsed SQL queries, and normalized SQL queries. Success/failure messages for queries and query pages appear here as well.
  • Messag – Messages pertaining to query execution. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Normlz – Query normalization steps. Query normalization is when the product takes the user-submitted query and rewrites the query to get the same results with optimal performance.
  • Origin – This label applies to any messages recording a user's original query (the exact, unaltered, non-normalized query executed by the user).
  • Page – Messages related to query paging.
  • Parsed – Query parsing steps. Parsing is the process of converting the user-submitted query into a standardized format for easier processing.
HTTP HTTP protocol messages. Includes HTTP requests/responses (including POST messages), as well as Kerberos related messages.
  • KERB – HTTP requests related to Kerberos.
  • Messag – Messages pertaining to HTTP protocols. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • Unpack – This label applies to messages about zipped data being returned from the service API and unpacked by the product.
  • Res – Messages containing HTTP responses.
  • Req – Messages containing HTTP requests.
WSDL Messages pertaining to the generation of WSDL/XSD files.
SSL SSL certificate messages.
  • Certif – Messages pertaining to SSL certificates.
AUTH Authentication related failure/success messages.
  • Messag – Messages pertaining to authentication. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • OAuth – Messages related to OAuth authentication.
  • Krbros – Kerberos-related authentication messages.
SQL Includes SQL transactions, SQL bulk transfer messages, and SQL result set messages.
  • Bulk – Messages pertaining to bulk query execution.
  • Cache – Messages related to reading row data from and writing row data to the product's cache for better performance.
  • Messag – Messages pertaining to SQL transactions. These messages are typically specific to the connector, rather than being received and passed along directly from the service.
  • ResSet – Query resultsets.
  • Transc – Messages related to handling transactions, including information about the number of jobs executed and backup table handling.
META Metadata cache and schema messages.
  • Cache – Messages related to reading from and modifying column and table definitions in the product's cache for better performance.
  • Schema – Messages related to retrieving metadata from or modifying the service schema.
  • MemSto – Messages related to writing to or reading from in-memory metadata cache.
  • Storag – Messages relating to storing metadata on disk or in an external data store, rather than in memory.
FUNC Information related to executing SQL functions.
  • Errmsg – Error messages related to executing SQL functions.
TCP Incoming and outgoing raw bytes on TCP transport layer messages.
  • Send – Raw data sent via the TCP protocol.
  • Receiv – Raw data received via the TCP protocol.
FTP Messages pertaining to the File Transfer Protocol.
  • Info – Status messages related to communication in the FTP protocol.
  • Client – Messages related to actions taken by the FTP client (the product) during FTP communication.
  • Server – Messages related to actions taken by the FTP server during FTP communication.
SFTP Messages pertaining to the Secure File Transfer Protocol.
  • Info – Status messages related to communication in the SFTP protocol.
  • To_Server – Messages related to actions taken by the SFTP client (the product) during SFTP communication.
  • From_Server – Messages related to actions taken by the SFTP server during SFTP communication.
POP Messages pertaining to data transferred via the Post Office Protocol.
  • Client – Messages related to actions taken by the POP client (the product) during POP communication.
  • Server – Messages related to actions taken by the POP server during POP communication.
  • Status – Status messages related to communication in the POP protocol.
SMTP Messages pertaining to data transferred via the Simple Mail Transfer Protocol.
  • Client – Messages related to actions taken by the SMTP client (the product) during SMTP communication.
  • Server – Messages related to actions taken by the SMTP server during SMTP communication.
  • Status – Status messages related to communication in the SMTP protocol.
CORE Messages relating to various internal product operations not covered by other modules.
DEMN Messages related to SQL remoting.
CLJB Messages about bulk data uploads (cloud job).
  • Commit – Submissions for bulk data uploads.
SRCE Miscellaneous messages produced by the product that don't belong in any other module.
TRANCE Advanced messages concerning low-level product operations.

CData Python Connector for Microsoft Dynamics CRM

MaxLogFileSize

Specifies the maximum size of a single log file in bytes. For example, '10 MB'. When the file reaches the limit, the provider creates a new log file with the date and time appended to the name.

Data Type

string

Default Value

"100MB"

Remarks

For values lower than 100 KB, the connector uses 100 KB as the minimum allowable size.

To control the total number of log files retained, use the MaxLogFileCount property in conjunction with this property. Together, these properties allow you to manage the size and retention of log files effectively.

CData Python Connector for Microsoft Dynamics CRM

MaxLogFileCount

Specifies the maximum number of log files the provider retains. When the limit is reached, the oldest log file is deleted to make space for a new one.

Data Type

int

Default Value

-1

Remarks

Each log file name includes the date and time for easier identification.

This property accepts the following values:

  • A value of 2 or higher sets the maximum number of log files retained.
  • A value of 1 retains only one log file. When it reaches the maximum size, the file is deleted and replaced by a new one, leaving no history beyond the current log.
  • A value of 0 or negative indicates no limit on the number of log files, and logging continues indefinitely.

To manage log file size, use the MaxLogFileSize property. The two properties work together to control the size and retention of log files in the logging folder.

CData Python Connector for Microsoft Dynamics CRM

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .
CData Python Connector for Microsoft Dynamics CRM

Location

Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.

Data Type

string

Default Value

"%APPDATA%\\CData\\DynamicsCRM Data Provider\\Schema"

Remarks

The Location property is only needed if you want to either customize definitions (for example, change a column name, ignore a column, etc.) or extend the data model with new tables, views, or stored procedures.

If left unspecified, the default location is %APPDATA%\\CData\\DynamicsCRM Data Provider\\Schema, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

CData Python Connector for Microsoft Dynamics CRM

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

CData Python Connector for Microsoft Dynamics CRM

Tables

Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .

Data Type

string

Default Value

""

Remarks

Listing all available tables from some databases can take extra time, thus degrading performance. Providing a list of tables in the connection string saves time and improves performance.

If there are lots of tables available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those tables. To do this, specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each table you want to view by its fully qualified name. This avoids ambiguity between tables that may exist in multiple catalogs or schemas.

CData Python Connector for Microsoft Dynamics CRM

Views

Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Data Type

string

Default Value

""

Remarks

Listing all available views from some databases can take extra time, thus degrading performance. Providing a list of views in the connection string saves time and improves performance.

If there are lots of views available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those views. To do this, specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each view you want to examine by its fully qualified name. This avoids ambiguity between views that may exist in multiple catalogs or schemas.

CData Python Connector for Microsoft Dynamics CRM

Caching

This section provides a complete list of the Caching properties you can configure in the connection string for this provider.


PropertyDescription
AutoCacheSpecifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.
CacheProviderThe namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.
CacheDriverThe driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.
CacheConnectionSpecifies the connection string for the specified cache database.
CacheLocationSpecifies the path to the cache when caching to a file.
CacheToleranceNotes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.
OfflineGets the data from the specified cache database instead of live Microsoft Dynamics CRM data.
CacheMetadataDetermines whether the provider caches table metadata to a file-based cache database.
CData Python Connector for Microsoft Dynamics CRM

AutoCache

Specifies whether the content of tables targeted by SELECT queries is automatically cached to the specified cache database.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, the connector automatically caches the contents of tables targeted by SELECT queries. The content of these tables is cached to the cache database specified by the CacheConnection and CacheProvider connection properties.

See Also

For additional information, see:

  • CacheMetadata: With CacheMetadata enabled, all retrieved metadata is mirrored in the cache database. This means that any subsequent attempts by the connector to discover metadata are much faster, as this metadata is then read directly from the cache database, without needing to spend time requesting metadata from Microsoft Dynamics CRM.
  • Explicitly Caching Data: This topic provides examples for using AutoCache in Offline mode.
  • CACHE Statements: You can use the CACHE statement to explicitly cache the content of any table targeted by a SELECT query.

CData Python Connector for Microsoft Dynamics CRM

CacheProvider

The namespace of an ADO.NET provider. The specified provider is used as the target database for all caching operations.

Data Type

string

Default Value

""

Remarks

You can cache to ADO.NET providers saved in your ADO.NET global assembly cache (GAC).

CData ADO.NET providers automatically register themselves with the GAC during installation, so you don't need to do so manually.

Third-party ADO.NET providers may or may not automatically register themselves with the GAC during installation. If you want to cache to a third-party ADO.NET provider, consult the documentation for that provider to determine what steps (if any) you must take to register them with the GAC. Once they have been registered, you can supply their namespace in this connection property.

You must also set the CacheConnection connection property to provide a connection string for the specified ADO.NET provider.

The following sections show connection examples and address other requirements for several popular database providers. Refer to CacheConnection for more information on typical connection properties.

SQLite

You can use the Microsoft ADO.NET Provider for SQLite to cache to SQLite databases.

CacheProvider=Microsoft.Data.Sqlite;CacheConnection='DataSource=C:\\Users\\Public\\cache.db;'User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

MySQL

To cache to MySQL, you can use the CData ADO.NET Provider for MySQL:
Cache Provider=System.Data.CData.MySQL;Cache Connection='Server=localhost;Port=3306;Database=cache;User=root;Password=123456';User=myUser;Password=myPassword;Security Token=myToken;

SQL Server

You can use the Microsoft .NET Framework Provider for SQL Server, included in the .NET Framework, to cache to SQL Server:

Cache Provider=System.Data.SqlClient;Cache Connection="Server=MyMACHINE\MyInstance;Database=SQLCACHE;User Id=root;Password=admin";User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

Oracle

To cache to Oracle, you can use the Oracle Data Provider for .NET, as shown in the following example:

Cache Provider=Oracle.DataAccess.Client;Cache Connection='User Id=scott;Password=tiger;Data Source=ORCL';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

The Oracle Data Provider for .NET also requires the Oracle Database Client. When you download the Oracle Database Client, ensure that its bitness matches the bitness of your machine. When you install, select either the Runtime or Administrator installation type. The Instant Client is not sufficient.

PostgreSQL

To cache to PostgreSQL, you can use the CData ADO.NET Provider for PostgreSQL:
Cache Provider=System.Data.CData.PostgreSQL;Cache Connection='Server=localhost;Port=5432;Database=cache;User=postgres;Password=123456';User=myUser;Password=myPassword;Security Token=myToken;

CData Python Connector for Microsoft Dynamics CRM

CacheDriver

The driver class of a JDBC driver. The specified driver is used to connect to the target database for all caching operations.

Data Type

string

Default Value

""

Remarks

You can cache to any database for which you have a JDBC driver, including CData JDBC drivers.

Note: You must add the JAR file of the specified JDBC driver to the classpath. For CData JDBC drivers, you can find this JAR file in the "lib" subfolder of that driver's installation directory.

You must also set the CacheConnection connection property to provide a connection string for the specified JDBC driver.

For Linux systems and macOS, you need to create a config.ini file on the installation path of the driver (site-packages/cdata). The config.ini file has the following format (the driver and the path of the JDBC driver):

[salesforce.cpython-38-x86_64-linux-gnu.so]
CLASSPATH = /home/usrname/Downloads/lib/cdata.jdbc.postgresql.jar

Examples

The following examples show how to cache to several major databases. For more information on the JDBC URL syntax and typical connection properties, see CacheConnection.

Derby and Java DB

Java DB is the Oracle distribution of Derby. You must add the Derby JDBC driver's JAR file, derbytools.jar, to your classpath to cache to Java DB.

The Derby JDBC driver's JAR file is bundled in db-derby-10.17.1.0-bin.zip, which you can download from this page. You can find derbytools.jar in the "lib" subfolder of this zip file.

After adding derbytools.jar to the classpath, you can cache to a Java DB database as follows:

jdbc:dynamicscrm:CacheDriver=org.apache.derby.jdbc.EmbeddedDriver;CacheConnection='jdbc:derby:sample';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;
To cache to an in-memory database, use a JDBC URL like the following:
jdbc:dynamicscrm:CacheDriver=org.apache.derby.jdbc.EmbeddedDriver;CacheConnection='jdbc:derby:memory';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

SQLite

The following is a JDBC URL for the SQLite JDBC driver:

jdbc:dynamicscrm:CacheDriver=org.sqlite.JDBC;CacheConnection='jdbc:sqlite:C:/Temp/sqlite.db';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

MySQL

The following is a JDBC URL for the CData JDBC Driver for MySQL:

  jdbc:dynamicscrm:Cache Driver=cdata.jdbc.mysql.MySQLDriver;Cache Connection='jdbc:mysql:Server=localhost;Port=3306;Database=cache;User=root;Password=123456';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;
  

SQL Server

The following JDBC URL uses the Microsoft JDBC Driver for SQL Server:

jdbc:dynamicscrm:Cache Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver;Cache Connection='jdbc:sqlserver://localhost\sqlexpress:7437;user=sa;password=123456;databaseName=Cache';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

Oracle

The following is a JDBC URL for the Oracle Thin Client:

jdbc:dynamicscrm:Cache Driver=oracle.jdbc.OracleDriver;CacheConnection='jdbc:oracle:thin:scott/tiger@localhost:1521:orcldb';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;
NOTE: If using a version of Oracle older than 9i, the cache driver will instead be oracle.jdbc.driver.OracleDriver .

PostgreSQL

The following JDBC URL uses the official PostgreSQL JDBC driver:

jdbc:dynamicscrm:CacheDriver=cdata.jdbc.postgresql.PostgreSQLDriver;CacheConnection='jdbc:postgresql:User=postgres;Password=admin;Database=postgres;Server=localhost;Port=5432;';User=myuseraccount;Password=mypassword;URL=https://myOrg.crm.dynamics.com/;CRM Version=CRM Online;

CData Python Connector for Microsoft Dynamics CRM

CacheConnection

Specifies the connection string for the specified cache database.

Data Type

string

Default Value

""

Remarks

The target cache database is determined by a combination of this connection property and the CacheProvider connection property. Both properties are required to use the specified cache database.

The connection string specified in this connection property is passed directly to the specified in the CacheProvider connection property. Consult the documentation for the specified for more information on its available connection properties.

Examples of common cache database settings can be found below.

SQLite

MySQL

The following are typical connection properties:

  • Server: The IP address or domain name of the server hosting the MySQL database that you want to cache to.
  • Port: The port on the specified server where your MySQL instance is running.
  • Database: The name of the MySQL database that you want to cache to. Must match the name of a MySQL database hosted on the specified server.
  • User: The username of a user registered with the selected MySQL database.
  • Password: The password associated with the specified MySQL user.

SQL Server

The following are typical SQL Server connection properties:

  • Server: The name or network address of the computer running SQL Server. To connect to a named instance instead of the default instance, specify the host name and the instance name, separated by a backslash.
  • Port: The port on the specified server where your SQL Server instance is running.
  • Database: The name of the SQL Server database you want to cache to. Must match the name of a SQL Server database hosted on the specified server.
  • Integrated Security: To use the current Windows account for authentication, set this option to True. To authenticate with User and Password instead, set this option to False.
  • User Id: The username of a user registered with the selected SQL Server database. This property is only needed if you are not using integrated security.
  • Password: The password associated with the specified SQL Server user. This property is only needed if you are not using integrated security.

Oracle

The following are typical connection properties:

  • Data Source: The connect descriptor that identifies the Oracle database. This can be a TNS connect descriptor, an Oracle Net Services name that resolves to a connect descriptor, or, after version 11g, an Easy Connect naming (the host name of the Oracle server with an optional port and service name).

  • User Id: The username of a user registered with the selected Oracle database.
  • Password: The password associated with the specified Oracle user.

PostgreSQL

The following are typical connection properties:

  • Host: The address of the server hosting the PostgreSQL database.
  • Port: The port on the specified host server where your PostgreSQL database is hosted.
  • Database: The name of the PostgreSQL database you want to cache to. Must match the name of a PostgreSQL database hosted on the specified server.
  • User name: The username of a user registered with the selected PostgreSQL database.
  • Password: The password associated with the specified user.

CData Python Connector for Microsoft Dynamics CRM

CacheLocation

Specifies the path to the cache when caching to a file.

Data Type

string

Default Value

"%APPDATA%\\CData\\DynamicsCRM Data Provider"

Remarks

The CacheLocation is a simple, file-based cache.

If left unspecified, the default location is %APPDATA%\\CData\\DynamicsCRM Data Provider, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

See Also

  • AutoCache: Set to implicitly create and maintain a cache for later offline use.
  • CacheMetadata: Set to persist the Microsoft Dynamics CRM catalog in CacheLocation.

CData Python Connector for Microsoft Dynamics CRM

CacheTolerance

Notes the tolerance, in seconds, for stale data in the specified cache database. Requires AutoCache to be set to True.

Data Type

int

Default Value

600

Remarks

When you execute a query for tables in the cache, the connector checks the time elapsed since the last update to the cache.

If the last update to the cache is older than the value of this connection property (measured in seconds), the connector refreshes the cache.

Otherwise, the connector returns data directly from the cache.

CData Python Connector for Microsoft Dynamics CRM

Offline

Gets the data from the specified cache database instead of live Microsoft Dynamics CRM data.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, all queries execute against the cache database instead of the live Microsoft Dynamics CRM data.

In this mode, some SQL operations like INSERT, UPDATE, DELETE, and CACHE are disabled.

CData Python Connector for Microsoft Dynamics CRM

CacheMetadata

Determines whether the provider caches table metadata to a file-based cache database.

Data Type

bool

Default Value

false

Remarks

When this connection property is set to True, as you execute queries, table metadata in the Microsoft Dynamics CRM catalog is cached to the cache database specified by CacheConnection and CacheProvider, or, if those connection properties are not set, to the user's home directory.

The location of your home directory varies by platform:

PlatformHome Directory
Windows %APPDATA%\\CData\\DynamicsCRM Data Provider
Mac ~/Library/Application Support/CData/DynamicsCRM Data Provider
Unix ~/.config/CData/DynamicsCRM Data Provider

A table's metadata is retrieved only once, when the table is queried for the first time.

When to Use CacheMetadata

When there are a large number of Microsoft Dynamics CRM tables and columns for the connector to retrieve during metadata discovery, the connector may take a while to list all table metadata.

You may experience slow metadata retrieval when:

  • Your Microsoft Dynamics CRM instance naturally has a large table count.
  • The connector has been configured, via its connection properties, to discover more tables than it would under its default configuration.
  • You make many short-lived connections to the connector.
With CacheMetadata enabled, all retrieved metadata is mirrored in the cache database. This means that any subsequent attempts by the connector to discover metadata are much faster, as this metadata is then read directly from the cache database, without needing to spend time requesting metadata from Microsoft Dynamics CRM.

When Not to Use CacheMetadata

The connector automatically persists metadata in memory for up to an hour when you first discover the metadata for a table or view, so CacheMetadata is generally not necessary.

CacheMetadata is not ideal in scenarios where you are working with volatile metadata. The first time you query a table, the connector caches its metadata to the cache database file. This cache is not dynamically updated to reflect updates to the table schema, so you must delete and rebuild the cache database file to pick up new, changed, or deleted columns.

CData Python Connector for Microsoft Dynamics CRM

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
CallerIdThe Id of a user to impersonate when inserting or updating new records.
DefaultPrecisionThe currency precision that is used for pricing throughout the system. Valid values are 0-4 and Auto. If the value is Auto, the default value will be retrieved from the Microsoft Dynamics CRM server.
ExposeVirtualSubColumnBoolean that exposes a virtual subcolumn to return data in a different format.
IncludeCalculatedColumnsThis option controls whether the driver returns the Calculated Columns defined on a table. Only applicable for CRM 2015+.
LanguageCodeThe code indicating the language.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
OtherSpecifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.
PagesizeSpecifies the maximum number of records per page the provider returns when requesting data from Microsoft Dynamics CRM.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
QueryMethodThe method to use when querying data from Dynamics CRM. In most cases FetchXML will work with all tables.
QueryPassthroughThis option passes the query to the Microsoft Dynamics CRM server as is.
ReadonlyToggles read-only access to Microsoft Dynamics CRM from the provider.
RTKSpecifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.
SavedQueryFilterA comma-separated list of filters to use for displaying Saved Queries as views (ex: Accounts%,Contacts%).
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
UseDisplayNamesBoolean determining if the display names for the columns should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.
UseDisplayTableNamesBoolean determining if the display names for the table should be used instead of the API names.
UseNameForPicklistValueBoolean determining if the string value should be used for picklist field values instead of integers.
UserDefinedViewsSpecifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.
UseSchemaNamesBoolean determining if the schema names for the table should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.
UseSimpleNamesSpecifies whether or not simple names should be used for tables and columns.
CData Python Connector for Microsoft Dynamics CRM

CallerId

The Id of a user to impersonate when inserting or updating new records.

Data Type

string

Default Value

""

Remarks

The Id of a user to impersonate when inserting or updating new records. All records modified with this set appear as if they were edited by the impersonated user.

CData Python Connector for Microsoft Dynamics CRM

DefaultPrecision

The currency precision that is used for pricing throughout the system. Valid values are 0-4 and Auto. If the value is Auto, the default value will be retrieved from the Microsoft Dynamics CRM server.

Data Type

string

Default Value

"2"

Remarks

The decimal precision that is used for currencies throughout the system. Valid values are 0-4 and Auto. If the value is Auto, the default value will be retrieved from the Microsoft Dynamics CRM server.

CData Python Connector for Microsoft Dynamics CRM

ExposeVirtualSubColumn

Boolean that exposes a virtual subcolumn to return data in a different format.

Data Type

bool

Default Value

false

Remarks

For example: The statecode column has a virtual subcolumn named statecodename. The value of statecode can be Active or Inactive in string format, or 0 or 1 in int format. If the result is Active("0"), the statecode column in the result set shows 0 and the statecodename column shows Active.

CData Python Connector for Microsoft Dynamics CRM

IncludeCalculatedColumns

This option controls whether the driver returns the Calculated Columns defined on a table. Only applicable for CRM 2015+.

Data Type

bool

Default Value

true

Remarks

This option controls whether the driver returns the Calculated Columns defined on a table. Only applicable for CRM 2015+.

CData Python Connector for Microsoft Dynamics CRM

LanguageCode

The code indicating the language.

Data Type

string

Default Value

"1033"

Remarks

The default code is "1033"

CData Python Connector for Microsoft Dynamics CRM

MaxRows

Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)

Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

CData Python Connector for Microsoft Dynamics CRM

Other

Specifies advanced connection properties for specialized scenarios. Use this property only under the guidance of our Support team to address specific issues.

Data Type

string

Default Value

""

Remarks

This property allows advanced users to configure hidden properties for specialized situations, with the advice of our Support team. These settings are not required for normal use cases but can address unique requirements or provide additional functionality. To define multiple properties, use a semicolon-separated list.

Note: It is strongly recommended to set these properties only when advised by the Support team to address specific scenarios or issues.

Caching Configuration

PropertyDescription
CachePartial=TrueCaches only a subset of columns, which you can specify in your query.
QueryPassthrough=TruePasses the specified query to the cache database instead of using the SQL parser of the connector.

Integration and Formatting

PropertyDescription
DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMT=TrueConverts date-time values to GMT, instead of the local time of the machine. The default value is False (use local time).
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

CData Python Connector for Microsoft Dynamics CRM

Pagesize

Specifies the maximum number of records per page the provider returns when requesting data from Microsoft Dynamics CRM.

Data Type

int

Default Value

500

Remarks

When processing a query, instead of requesting all of the queried data at once from Microsoft Dynamics CRM, the connector can request the queried data in pieces called pages.

This connection property determines the maximum number of results that the connector requests per page.

Note: Setting large page sizes may improve overall query execution time, but doing so causes the connector to use more memory when executing queries and risks triggering a timeout.

CData Python Connector for Microsoft Dynamics CRM

PseudoColumns

Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the connector exposes as table columns.

To specify individual pseudocolumns, use the following format:

Table1=Column1;Table1=Column2;Table2=Column3

To include all pseudocolumns for all tables use:

*=*

CData Python Connector for Microsoft Dynamics CRM

QueryMethod

The method to use when querying data from Dynamics CRM. In most cases FetchXML will work with all tables.

Possible Values

FetchXML, QueryExpression

Data Type

string

Default Value

"FetchXML"

Remarks

The method to use when querying data from Dynamics CRM. In most cases FetchXML will work with all tables. However, QueryExpression may be specified as an alternative.

CData Python Connector for Microsoft Dynamics CRM

QueryPassthrough

This option passes the query to the Microsoft Dynamics CRM server as is.

Data Type

bool

Default Value

false

Remarks

When this is set, queries are passed through directly to Microsoft Dynamics CRM.

CData Python Connector for Microsoft Dynamics CRM

Readonly

Toggles read-only access to Microsoft Dynamics CRM from the provider.

Data Type

bool

Default Value

false

Remarks

When set to True, the connector allows only SELECT queries. Attempting an INSERT, UPDATE, DELETE, or stored procedure query fails with an error message.

CData Python Connector for Microsoft Dynamics CRM

RTK

Specifies the runtime key for licensing the provider. If unset or invalid, the provider defaults to the standard licensing method. This property is only required in environments where the standard licensing method is unsupported or requires a runtime key.

Data Type

string

Default Value

""

Remarks

This property is typically unnecessary, as most configurations support a standard licensing mechanism.

Warning: The value of this property takes precedence over all existing licensing information. To avoid licensing errors, ensure the provided runtime key is correct.

CData Python Connector for Microsoft Dynamics CRM

SavedQueryFilter

A comma-separated list of filters to use for displaying Saved Queries as views (ex: Accounts%,Contacts%).

Data Type

string

Default Value

""

Remarks

A comma-separated list of filters to use for displaying Saved Queries as views. The names can be found by querying the SavedQuery table with a percent sign representing a wildcard (ex: Accounts%,Contacts%). An empty value (the default) will not return any of these as views. A value of just % will return all Saved Queries for the instance.

CData Python Connector for Microsoft Dynamics CRM

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.

Data Type

int

Default Value

60

Remarks

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.

Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.

Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

CData Python Connector for Microsoft Dynamics CRM

UseDisplayNames

Boolean determining if the display names for the columns should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.

Data Type

bool

Default Value

false

Remarks

Boolean determining if the display names for the columns should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.

CData Python Connector for Microsoft Dynamics CRM

UseDisplayTableNames

Boolean determining if the display names for the table should be used instead of the API names.

Possible Values

NONE, LOCALIZED, USERLOCALIZED

Data Type

string

Default Value

"NONE"

Remarks

Boolean determining if the display names for the table should be used instead of the API names.

CData Python Connector for Microsoft Dynamics CRM

UseNameForPicklistValue

Boolean determining if the string value should be used for picklist field values instead of integers.

Data Type

bool

Default Value

true

Remarks

Boolean determining if the string value should be used for picklist field values instead of integers.

CData Python Connector for Microsoft Dynamics CRM

UserDefinedViews

Specifies a filepath to a JSON configuration file that defines custom views. The provider automatically detects and uses the views specified in this file.

Data Type

string

Default Value

""

Remarks

UserDefinedViews allows you to define and manage custom views through a JSON-formatted configuration file called UserDefinedViews.json. These views are automatically recognized by the connector and enable you to execute custom SQL queries as if they were standard database views. The JSON file defines each view as a root element with a child element called "query", which contains the SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM Lead WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}

You can use this property to define multiple views in a single file and specify the filepath. For example:

UserDefinedViews=C:\Path\To\UserDefinedViews.json
When you specify a view in UserDefinedViews, the connector only sees that view.

For further information, see User Defined Views.

CData Python Connector for Microsoft Dynamics CRM

UseSchemaNames

Boolean determining if the schema names for the table should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.

Data Type

bool

Default Value

false

Remarks

Boolean determining if the schema names for the table should be used instead of the API names. UseDisplayNames and UseSchemaNames are mutually exclusive.

CData Python Connector for Microsoft Dynamics CRM

UseSimpleNames

Specifies whether or not simple names should be used for tables and columns.

Data Type

bool

Default Value

false

Remarks

Microsoft Dynamics CRM tables can include special characters in their names that are typically not allowed in standard databases. This property makes the connector easier to use with traditional database tools.

Setting UseSimpleNames to True simplifies the names of the columns that are returned. It enforces a naming scheme where only alphanumeric characters and underscores are valid for displayed column names.

Notes:

  • Any non-alphanumeric characters are converted to underscores.
  • If the column or table names exceed 128 characters in length they are truncated to 128 characters to comply with SQL Server standards.

CData Python Connector for Microsoft Dynamics CRM

Third Party Copyrights

LZMA from 7Zip LZMA SDK

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA2 from XZ SDK

Version 1.9 and older are in the public domain.

Xamarin.Forms

Xamarin SDK

The MIT License (MIT)

Copyright (c) .NET Foundation Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NSIS 3.10

Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:

i) changes to the Program, and

ii) additions to the Program;

where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.

"Contributor" means any person or entity that distributes the Program.

"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.

b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.

c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.

d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.

3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and

b) its license agreement:

i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;

ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;

iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and

iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.

When the Program is made available in source code form:

a) it must be made available under this Agreement; and

b) a copy of this Agreement must be included with each copy of the Program.

Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.

AdoptOpenJDK / Adoptium Temurin JRE 17.0.18_8

Copyright (c) Eclipse Foundation AISBL. All Rights Reserved.

Apache License, Version 2.0

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

  1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  2. You must cause any modified files to carry prominent notices stating that You changed the files; and
  3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
  4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

Eclipse Distribution License - v 1.0

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Eclipse Public License - v 2.0

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS "Contribution" means:

  • a) in the case of the initial Contributor, the initial content Distributed under this Agreement, and
  • b) in the case of each subsequent Contributor:
    • i) changes to the Program, and
    • ii) additions to the Program;
    where such changes and/or additions to the Program originate from and are Distributed by that particular Contributor. A Contribution "originates" from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include changes or additions to the Program that are not Modified Works.
"Contributor" means any person or entity that Distributes the Program. "Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions Distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement or any Secondary License (as applicable), including Contributors.

"Derivative Works" shall mean any work, whether in Source Code or other form, that is based on (or derived from) the Program and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship.

"Modified Works" shall mean any work in Source Code or other form that results from an addition to, deletion from, or modification of the contents of the Program, including, for purposes of clarity any new file in Source Code form that contains any contents of the Program. Modified Works shall not include works that contain only declarations, interfaces, types, classes, structures, or files of the Program solely in each case in order to link to, bind by name, or subclass the Program or Modified Works thereof.

"Distribute" means the acts of a) distributing or b) making available in any manner that enables the transfer of a copy.

"Source Code" means the form of a Program preferred for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Secondary License" means either the GNU General Public License, Version 2.0, or any later versions of that license, including any exceptions or additional permissions as identified by the initial Contributor.

2. GRANT OF RIGHTS

  • a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, Distribute and sublicense the Contribution of such Contributor, if any, and such Derivative Works.
  • b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in Source Code or other form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
  • c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to Distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
  • d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
  • e) Notwithstanding the terms of any Secondary License, no Contributor makes additional grants to any Recipient (other than those set forth in this Agreement) as a result of such Recipient's receipt of the Program under the terms of a Secondary License (if permitted under the terms of Section 3).

3. REQUIREMENTS 3.1 If a Contributor Distributes the Program in any form, then:

  • a) the Program must also be made available as Source Code, in accordance with section 3.2, and the Contributor must accompany the Program with a statement that the Source Code for the Program is available under this Agreement, and informs Recipients how to obtain it in a reasonable manner on or through a medium customarily used for software exchange; and
  • b) the Contributor may Distribute the Program under a license different than this Agreement, provided that such license:
    • i) effectively disclaims on behalf of all other Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
    • ii) effectively excludes on behalf of all other Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
    • iii) does not attempt to limit or alter the recipients' rights in the Source Code under section 3.2; and
    • iv) requires any subsequent distribution of the Program by any party to be under a license that satisfies the requirements of this section 3.
3.2 When the Program is Distributed as Source Code:
  • a) it must be made available under this Agreement, or if the Program (i) is combined with other material in a separate file or files made available under a Secondary License, and (ii) the initial Contributor attached to the Source Code the notice described in Exhibit A of this Agreement, then the Program may be made available under the terms of such Secondary Licenses, and
  • b) a copy of this Agreement must be included with each copy of the Program.
3.3 Contributors may not remove or alter any copyright, patent, trademark, attribution notices, disclaimers of warranty, or limitations of liability (‘notices') contained within the Program from any copy of the Program which they Distribute, provided that Contributors may add their own appropriate notices.

4. COMMERCIAL DISTRIBUTION Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be Distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to Distribute the Program (including its Contributions) under the new version.

Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. Nothing in this Agreement is intended to be enforceable by any entity that is not a Contributor or Recipient. No third-party beneficiary rights are created under this Agreement.

Exhibit A – Form of Secondary Licenses Notice "This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), version(s), and exceptions or additional permissions here}."

Simply including a copy of this Agreement, including this Exhibit A is not sufficient to license the Source Code under Secondary Licenses.

If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.

You may add additional accurate notices of copyright ownership.

GNU Classpath

Classpath is distributed under the terms of the GNU General Public License with the following clarification and special exception.

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

As such, it can be used to run, create and distribute a large class of applications and applets. When GNU Classpath is used unmodified as the core class library for a virtual machine, compiler for the java languge, or for a program written in the java programming language it does not affect the licensing for distributing those programs directly.

OpenJDK Assembly Exception

The OpenJDK source code made available by Oracle America, Inc. (Oracle) at openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2 only ("GPL2"), with the following clarification and special exception.

Linking this OpenJDK Code statically or dynamically with other code is making a combined work based on this library. Thus, the terms and conditions of GPL2 cover the whole combination.

As a special exception, Oracle gives you permission to link this OpenJDK Code with certain code licensed by Oracle as indicated at http://openjdk.java.net/legal/exception-modules-2007-05-08.html ("Designated Exception Modules") to produce an executable, regardless of the license terms of the Designated Exception Modules, and to copy and distribute the resulting executable under GPL2, provided that the Designated Exception Modules continue to be governed by the licenses under which they were offered by Oracle.

As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code to build an executable that includes those portions of necessary code that Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 with the Classpath exception). If you modify or add to the OpenJDK code, that new GPL2 code may still be combined with Designated Exception Modules if the new code is made subject to this exception by its copyright holder.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655