This documentation is archived and is not being maintained.

SetStateSalesOrderRequest Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the data needed to set the state of a sales order (order).

The SetStateSalesOrderRequest class inherits from Request. It exposes the following members.

SetStateSalesOrderRequestInitializes a new instance of the SetStateSalesOrderRequest class.

Instance PropertyDescription
EntityIdGets or sets the ID of the sales order (order) instance that is the target of the set state operation.
SalesOrderStateGets or sets the new state for the sales order (order).
SalesOrderStatusGets or sets the new status reason for the sales order (order).


Pass an instance of this class as the request parameter in the Execute method.

This request can only be used to set the state of a sales order to Submitted.

To set the state of an order to Invoiced, use the ConvertSalesOrderToInvoice message.


Web Service: CrmService

See Also


© 2010 Microsoft Corporation. All rights reserved.