Jaa


OrganizationServiceContextExtensions.AddSubstituteProduct Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2015

Deprecated. Establishes an association between a product and a substitute product. Use Associate. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void AddSubstituteProduct(
    this OrganizationServiceContext context,
    Guid productId,
    Guid substituteId
)
public:
[ExtensionAttribute]
static void AddSubstituteProduct(
    OrganizationServiceContext^ context,
    Guid productId,
    Guid substituteId
)
static member AddSubstituteProduct : 
        context:OrganizationServiceContext *
        productId:Guid *
        substituteId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub AddSubstituteProduct (
    context As OrganizationServiceContext,
    productId As Guid,
    substituteId As Guid
)

Parameters

  • substituteId
    Type: System.Guid

    The ID of the substitute product.

Remarks

This is a method wrapper for the AddSubstituteProductRequest and AddSubstituteProductResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright