Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the status of the contract.

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

No code example is currently available or this language may not be supported.

Property Value

Type:

Type: Int32
The status of the contract.

The Status property corresponds to the Contract.StatusCode attribute of the Contract entity. It is shown as the Status Reason in the Microsoft Dynamics 365 application. If you set the value of this property to -1, the system sets the appropriate 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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: