ContractState Enumeration (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Specifies the possible states for a contract.
[Visual Basic .NET] Public Enum ContractState
[C#] public enum ContractState
|Name||Value||Description||Status Reason||Status Code Value|
|Active||2||Specifies that the contract is active.||Active||3|
|Canceled||4||Specifies that the contract is canceled.||Canceled||5|
|Draft||0||Specifies that the contract is a draft.||Draft||1|
|Expired||5||Specifies that the contract is expired.||Expired||6|
|Invoiced||1||Specifies that the contract is invoiced.||Invoiced||2|
|OnHold||3||Specifies that the contract is on hold.||On Hold||4|
This enumeration is used for the following properties:
The status reason values are used for the contract.statuscode property.
The values for contract status reason are customizable. The preceding table shows the values that are defined in a default installation.
© 2010 Microsoft Corporation. All rights reserved.