OrganizationServiceContextExtensions.GetSalesOrderProductsFromOpportunity Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2013

Retrieves the products from an opportunity and copies them to the sales order. (Developer Extensions)

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

Syntax

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

Parameters

Remarks

This is a method wrapper for the GetSalesOrderProductsFromOpportunityRequest and GetSalesOrderProductsFromOpportunityResponse 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 2013

Return to top