Jagamisviis:


ProductSubstitute (product relationship) entity methods and messages

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A product relationship represents a selling relationship between two products, including the relationship type, such as upsell, cross-sell, substitute, or accessory. The schema name for this entity is ProductSubstitute. 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

CreateRequest

Creates a product relationship (product substitute). You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes a product relationship (product substitute). You can also call the IOrganizationService.Delete method.

RetrieveRequest

Retrieves a product relationship (product substitute). You can also call the IOrganizationService.Retrieve method.

RetrieveMultipleRequest

Retrieves a collection of product relationships (product substitute). You can also call the IOrganizationService.RetrieveMultiple method.

UpdateRequest

Updates a product relationship (product substitute). You can also call the IOrganizationService.Update method.

See Also

Define product relationships for enhanced suggestions during product sale
Sample: Create and publish products
Product catalog entities

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright