Partager via


Classe GetInvoiceProductsFromOpportunityRequest

S'applique à: CRM 2015 on-prem, CRM Online

Contains the data that is needed to retrieve the products from an opportunity and copy them to the invoice.

Espace de noms: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (dans Microsoft.Crm.Sdk.Proxy.dll)

Syntaxe

'Déclaration
<DataContractAttribute(Namespace:="https://schemas.microsoft.com/crm/2011/Contracts")> _
Public NotInheritable Class GetInvoiceProductsFromOpportunityRequest
    Inherits OrganizationRequest
[DataContractAttribute(Namespace="https://schemas.microsoft.com/crm/2011/Contracts")] 
public sealed class GetInvoiceProductsFromOpportunityRequest : OrganizationRequest

Remarques

Message Availability

Ce message fonctionne, que l'appelant soit connecté au serveur ou en mode hors connexion.

Usage

Transmet une instance de cette classe à la méthode Execute method, which returns an instance of GetInvoiceProductsFromOpportunityResponse.

Privileges and Access Rights

Pour effectuer cette action, l'appelant doit avoir privileges on the Invoice and Opportunity entities and access rights on the records specified in the InvoiceId property and the OpportunityId property. For a complete list of required privileges, see GetInvoiceProductsFromOpportunity Privileges.

Hiérarchie d'héritage

System.Object
   Microsoft.Xrm.Sdk.OrganizationRequest
    Microsoft.Crm.Sdk.Messages.GetInvoiceProductsFromOpportunityRequest

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Membres GetInvoiceProductsFromOpportunityRequest
Espace de noms Microsoft.Crm.Sdk.Messages
GetInvoiceProductsFromOpportunityResponse

Autres ressources

GetInvoiceProductsFromOpportunity Privileges
Sales Entities (Lead, Opportunity, Competitor, Quote, Order, Invoice)
Opportunity Entities
Invoice Entity Messages and Methods
How Role-Based Security Can Be Used to Control Access to Entities In CRM
How Instance-Based Security Can Be Used to Control Access to Entity Instances (Records) In CRM

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.