Поделиться через


CancelSalesOrderRequest.Status Property

 

Applies To: Dynamics CRM 2015

Gets or sets the status of the sales order (order). Required.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public OptionSetValue Status { get; set; }
public:
property OptionSetValue^ Status {
    OptionSetValue^ get();
    void set(OptionSetValue^ value);
}
member Status : OptionSetValue with get, set
Public Property Status As OptionSetValue

Property Value

Type: Microsoft.Xrm.Sdk.OptionSetValue

Type: OptionSetValue
The status of the sales order (order).

Remarks

The Status property corresponds to the SalesOrder.StatusCode attribute. It is shown as the Status Reason in the Microsoft Dynamics CRM application. If you set the value of this property to -1, the system sets the corresponding status value. For a list of the status values, see the metadata for this entity. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download. For more information, see Record state and status.

See Also

CancelSalesOrderRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright