OrganizationServiceContextExtensions.GenerateInvoiceFromOpportunity Method (OrganizationServiceContext, Guid, ColumnSet)


Applies To: Dynamics CRM 2015

Generates an invoice from an opportunity. (Developer Extensions)

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


public static Entity GenerateInvoiceFromOpportunity(
    this OrganizationServiceContext context,
    Guid opportunityId,
    ColumnSet columnSet
static Entity^ GenerateInvoiceFromOpportunity(
    OrganizationServiceContext^ context,
    Guid opportunityId,
    ColumnSet^ columnSet
static member GenerateInvoiceFromOpportunity : 
        context:OrganizationServiceContext *
        opportunityId:Guid *
        columnSet:ColumnSet -> Entity
Public Shared Function GenerateInvoiceFromOpportunity (
    context As OrganizationServiceContext,
    opportunityId As Guid,
    columnSet As ColumnSet
) As Entity


Return Value

Type: Microsoft.Xrm.Sdk.Entity

Returns Entity.


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