Global Operations

Topics:

Microsoft Dynamics CRM 2011 On-Premises provides operations that are not related to any entity. These operations are called Global Operations.

Supported Global Operations

The following table lists and describes the supported Global Operations.

Supported Global Operation

Description

BulkDelete

Submits an asynchronous bulk delete job.

BulkDeleteDuplicates

Submits an asynchronous duplicates detection job.

CanBeReferenced

Check whether the specified entity can be the primary entity (one) in a one-to-many relationship.

CanBeReferencing

Check whether an entity can be the referencing entity in a one-to-many relationship.

CanManyToMany

Check whether an entity can participate in a many-to-many relationship.

CreateAttribute

Create a new attribute, and optionally, can add it to a specified unmanaged solution.

CreateManyToMany

Create a new Many-to-Many (N:N) entity relationship.

CreateOneToMany

Create a new One-to-Many (1:N) entity relationship.

CreateOptionSet

Create a new global option set.

DeleteAttribute

Delete an attribute.

DeleteEntity

Delete an entity.

DeleteOptionSet

Delete a global option set.

DeleteOptionValue

Delete an option value in a global or local option set.

DeleteRelationship

Contains the data that is needed to delete an entity relationship.

GetInvoiceProductsFrom- Opportunity

Retrieves the products from an opportunity and copies them to the specified invoice.

GetValidManyToMany

Retrieve a list of all the entities that can participate in a Many-to-Many entity relationship.

GetValidReferencedEntities

Retrieve a list of entity logical names that are valid as the primary entity (one) from the specified entity in a one-to-many relationship.

GetValidReferencingEntities

Retrieve the set of entities that are valid as the related entity (many) to the specified entity in a one-to-many relationship.

InsertOptionValue

Insert a new option value for a global or local option set.

InsertStatusValue

Insert a new option into a StatusAttributeMetadata attribute.

OrderOption

Set the order for an option set.

ResetUserFilters

Resets the offline data filters for the calling user to the default filters for the organization.

RetrieveAllOptionSets

Retrieve information about all global option sets.

RetrieveAttribute

Retrieve attribute metadata.

RetrieveAvailableLanguages

Retrieves the list of available languages.

RetrieveDeprovisioned- Languages

Retrieves the list of language packs installed on the server that have been disabled.

RetrieveEntity

Retrieves the metadata for the specified entity.

RetrieveFormattedImport- JobResults

Retrieves the formatted results from an import job.

RetrieveInstalledLanguage- Packs

Retrieves the list of language packs installed on the server.

RetrieveInstalledLanguage- PackVersion

Retrieves the version of an installed language pack.

RetrieveLocLabels

Retrieves the localized labels for the specified attribute.

RetrieveManagedProperty

Retrieve a managed property definition.

RetrieveMissingComponents

Retrieves a list of missing components for the target organization.

RetrieveOptionSet

Retrieve a global option set.

RetrieveOrganizationResources

Retrieves the resources used by an organization.

RetrievePersonalWall

Retrieve pages of posts, including comments for each post, for all records that the calling user is following.

RetrieveProvisionedLanguages

Retrieves the list of language packs installed on the server that are enabled.

RetrieveRecordWall

Retrieve pages of posts, including comments for each post, for a specified record.

RetrieveRelationship

Retrieve entity relationship metadata.

RetrieveTimestamp

Retrieve a time stamp for the metadata.

RetrieveUserPrivileges

Retrieve the privileges a system user (user) has through his or her roles in the specified business unit.

RetrieveVersion

Retrieve the version number of the Microsoft Dynamics CRM Server.

Search

Search for available time slots that fulfill the specified appointment request.

SetLocLabels

Set localized labels for a limited set of entity attributes.

UnlockInvoicePricing

Unlock pricing for an invoice.

UnlockSalesOrderPricing

Unlock pricing for a sales order (order).

UpdateAttribute

Update the definition of an attribute.

UpdateEntity

Update the definition of an entity.

UpdateOptionSet

Update the definition of a global option set.

UpdateOptionValue

Update an option value in a global or local option set.

UpdateRelationship

Update the definition of an entity relationship.

UpdateStateValue

Update an option set value in for a StateAttributeMetadata attribute.

Validate

Verify that an appointment or service appointment (service activity) has valid available resources for the activity, duration, and site, as appropriate.

WhoAmI

Retrieve the system user ID for the currently logged on user or the user under whose context the code is running.

Unsupported Global Operations

The following table lists and describes the unsupported Global Operations.

Unsupported Global Operation

Description

AssociateEntities

Deprecated. Adds a link between two records in a many-to-many relationship. Use Associate.

AutoMapEntity

Creates the attribute mappings between two entities.

DeprovisionLanguage

Deprovisions a language.

DisassociateEntities

Deprecated. Removes a link between two records in a many to many relationship. Use Disassociate.

ExportSolution

Exports a managed or unmanaged solution.

ImportTranslation

Imports all translations from a compressed file.

InstallSampleData

Installs sample data for an organization.

IsBackOfficeInstalled

Deprecated. Checks if Microsoft Great Plains is installed.

ProvisionLanguage

Provisions a language.

RemoveProductFromKit

Removes a product from a kit.

RetrieveAllEntities

Retrieves the metadata for all entities.

RetrieveAllManagedProperties

Retrieve all managed property definitions.

RetrieveDeploymentLicense- Type

Retrieves the type of license for a deployment of Microsoft Dynamics CRM.

RetrieveLicenseInfo

Retrieves the number of licenses for a deployment of Microsoft Dynamics CRM.

RetrievePrincipalAttribute- Privileges

Retrieves all the secured attribute privileges a user or team has through direct or indirect (through team membership) associations with the FieldSecurityProfile entity.

RetrievePrivilegeSet

Retrieves the set of privileges defined in the system.

RetrieveProvisionedLanguage- PackVersion

Retrieves the version of the language packs installed on the server.

RetrieveTeamPrivileges

Retrieve the privileges for a team.

UninstallSampleData

Delete sample data for organization.