OrganizationServiceContextExtensions.ConvertSalesOrderToInvoice Method (OrganizationServiceContext, Guid, ColumnSet)

 

Applies To: Dynamics CRM 2015

Converts a sales order to an invoice. (Developer Extensions)

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

Syntax

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

Parameters

  • salesOrderId
    Type: System.Guid

    The ID of the sales order (order) to convert. Required.

Return Value

Type: Microsoft.Xrm.Sdk.Entity

Returns an Entity, the resulting invoice.

Remarks

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