CRMSalesOrder Class

The CRMSalesOrder class contains methods that you can use to manage sales orders.

There are no properties for this class.

For more information about using XML, see XML Document Object Model

  System.Object

   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Web.Services.Protocols.WebClientProtocol
            System.Web.Services.Protocols.HttpWebClientProtocol
               System.Web.Services.Protocols.SoapHttpClientProtocol
                  CRMSalesOrder
[Visual Basic .NET]
Public Class CRMSalesOrder
   Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMSalesOrder : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMSalesOrder: public System.Web.Services.Protocols.SoapHttpClientProtocol

The CRMSalesOrder class exposes the following methods.

Method Description
Assign Assigns a sales order.
AssociateContact Establishes an association between a contact and a sales order.
Cancel Sets the state of a sales order to Canceled.
ConvertToInvoice Converts a sales order to an invoice.
Create Creates a sales order.
CreateAndRetrieve Creates a sales order and then retrieves it.
Delete Deletes a sales order.
DisassociateContact Eliminates the association between a contact and a sales order.
GenerateFromOpportunity Generates a sales order from an opportunity.
GetProductsFromOpportunity Retrieves the products from an opportunity and copies them to the sales order.
GrantAccess Grants access to a sales order.
ModifyAccess Replaces the access rights on the sales order for the specified security principal.
Retrieve Retrieves a sales order.
RetrieveByObject Retrieves all sales orders that are associated with an object (account, contact, or opportunity).
RetrieveByPrincipal Retrieves all sales orders that are owned by a security principal.
RetrieveContacts Retrieves all contacts that are associated with a sales order.
RetrievePrincipalAccess Retrieves the access a security principal has for the specified sales order.
RetrieveSharedPrincipalsAndAccess Retrieves all of the security principals that have access to a sales order and their access rights for the sales order.
RevokeAccess Revokes access to a sales order.
Submit Sets the state of a sales order to Submitted.
SubmitOrConvert Submits a sales order or converts a sales order to an invoice.
Update Updates a sales order.
UpdateAndRetrieve Updates a sales order and retrieves it.

Requirements

Namespace: Microsoft.CRM.Proxy

Assembly: microsoft.crm.proxy.dll

See Also

© 2003 Microsoft Corporation. All rights reserved.