Dela via


OrganizationServiceContextExtensions.GetInvoiceProductsFromOpportunity Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2013

Retrieves the products from an opportunity and copies them to the specified invoice. (Developer Extensions)

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

Syntax

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

Parameters

Remarks

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