OrganizationServiceContextExtensions.GetInvoiceProductsFromOpportunity Method (OrganizationServiceContext, Guid, Guid)
Applies To: Dynamics CRM 2015
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
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- opportunityId
Type: System.Guid
- invoiceId
Type: System.Guid
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 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright