Делите путем


Product entity messages and methods

 

Applies To: Dynamics CRM 2015

A product represents information about products and their pricing information. The schema name for this entity is Product. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.

The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.

Message

Description

AddProductToKitRequest

Deprecated. Use the ProductAssociation entity. Adds a product to a kit. A kit is a product catalog item that consists of one or more products.

AddSubstituteProductRequest

Deprecated. Use the ProductSubstitute entity. Establishes an association between a product and a substitute product.

CloneProductRequest

Clones a product family, product, or bundle record to create a copy of the record under the same parent record.

ConvertKitToProductRequest

Deprecated. Converts a kit to a product.

ConvertProductToKitRequest

Deprecated. Converts a product to a kit.

CreateRequest

Creates a product family, product, or bundle. You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes a product family, product, or bundle. You can also call the IOrganizationService.Delete method.

PublishProductHierarchyRequest

Publishes a product family along with its child records.

RemoveProductFromKitRequest

Deprecated. Use the ProductAssociation entity. Removes a product from a kit.

RemoveRelatedRequest

Deprecated. Use the DisassociateRequest or Disassociate class. Removes the relationship between a product and the specified entity (lead or competitor).

RemoveSubstituteProductRequest

Deprecated. Use the ProductSubstitute entity. Removes the association of a substitute product from a product.

RetrieveRequest

Retrieves a product family, product, or bundle. You can also call the IOrganizationService.Retrieve method.

RetrieveMultipleRequest

Retrieves a collection of products. You can also call the IOrganizationService.RetrieveMultiple method.

SetRelatedRequest

Deprecated. Use the AssociateRequest or Associate class. Creates a relationship between a product and the specified entity (lead or competitor).

SetStateRequest

Sets the state of a product family, product, or bundle. If you’re using early bound types, use the ProductState enumeration to set the possible states. For a list of the state values, refer to the Product entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information.

UpdateRequest

Updates a product family, product, or bundle. You can also call the IOrganizationService.Update method.

See Also

Create and manage product families, products, and bundles
Publish, revise, revert, retire, and activate products (product lifecycle)
Bundles and kits
Product catalog entities
Product entity privileges
Sample: Create and publish products
Sample: Clone product records
Sample: Add products to a bundle

© 2016 Microsoft. All rights reserved. Copyright