Share via


CRMInvoice Class

The CRMInvoice class contains methods that you can use to manage invoices.

There are no properties for this class.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Web.Services.Protocols.WebClientProtocol
            System.Web.Services.Protocols.HttpWebClientProtocol
               System.Web.Services.Protocols.SoapHttpClientProtocol
                  CRMInvoice

[Visual Basic .NET]
Public Class CRMInvoice
   Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMInvoice : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMInvoice: public System.Web.Services.Protocols.SoapHttpClientProtocol

The CRMInvoice class exposes the following methods.

Method Description
Assign Assigns an invoice.
AssociateContact Establishes an association between a contact and an invoice.
Close Sets the state of an invoice to Closed.
Create Creates an invoice.
CreateAndRetrieve Creates an invoice and then retrieves it.
Delete Deletes an invoice.
DisassociateContact Eliminates the association between a contact and an invoice.
GenerateFromOpportunity Generates an invoice from an opportunity.
GetProductsFromOpportunity Retrieves the products from an opportunity and copies them to the specified invoice.
GrantAccess Grants access to an invoice.
ModifyAccess Replaces the access rights to the invoice for the specified security principal.
Retrieve Retrieves an invoice.
RetrieveByObject Retrieves all invoices that are associated with an object (account, contact, or opportunity).
RetrieveByPrincipal Retrieves all invoices that are owned by a security principal.
RetrieveContacts Retrieves all contacts that are associated with an invoice.
RetrievePrincipalAccess Retrieves the access that is assigned to a specific security principal for a specific invoice.
RetrieveSharedPrincipalsAndAccess Retrieves all of the security principals (users or teams) that have access to an invoice and their access rights to that invoice.
RevokeAccess Revokes access to an invoice.
Update Updates an invoice.
UpdateAndRetrieve Updates an invoice and then retrieves it.

Requirements

Namespace: Microsoft.Crm.Platform.Proxy

Assembly: Microsoft.Crm.Platform.Proxy.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.