Export (0) Print
Expand All

SetStateSalesOrder Message

CRM 1.2
banner art

Sets the state of a sales order (order).

The relevant classes are specified in the following table.

Type Class
Request SetStateSalesOrderRequest
Response SetStateSalesOrderResponse
Entity salesorder

Remarks

The possible states are defined in the SalesOrderState enumeration. To perform this action, the caller access rights on the entity instance specified in the request class. For a list of required privileges, see SetState Privileges.

This message updates the salesorder fields statuscode and statecode.

You can not use this message to set the state of an order to Invoiced. You must use the message ConvertSalesOrderToInvoice.

Example

For an example of how to use this message, see SetStateAccount.

Related Topics

CrmService Messages

Execute


© 2007 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft