Jaa


OrganizationServiceContextExtensions.GenerateSalesOrderFromOpportunity Method (OrganizationServiceContext, Guid, ColumnSet)

 

Applies To: Dynamics CRM 2015

Generates a sales order from an opportunity. (Developer Extensions)

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

Syntax

public static Entity GenerateSalesOrderFromOpportunity(
    this OrganizationServiceContext context,
    Guid opportunityId,
    ColumnSet columnSet
)
public:
[ExtensionAttribute]
static Entity^ GenerateSalesOrderFromOpportunity(
    OrganizationServiceContext^ context,
    Guid opportunityId,
    ColumnSet^ columnSet
)
static member GenerateSalesOrderFromOpportunity : 
        context:OrganizationServiceContext *
        opportunityId:Guid *
        columnSet:ColumnSet -> Entity
<ExtensionAttribute>
Public Shared Function GenerateSalesOrderFromOpportunity (
    context As OrganizationServiceContext,
    opportunityId As Guid,
    columnSet As ColumnSet
) As Entity

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Entity

Returns Entity.

Remarks

This is a method wrapper for the GenerateSalesOrderFromOpportunityRequest and GenerateSalesOrderFromOpportunityResponse 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