Share via


CONTRACT_STATE Class

The CONTRACT_STATE class lists the possible contract states, used for the contract statecode field. Please note that although the APIs may accept any value, these are the valid values for this field.

This class does not need instantiation or initialization because the fields represent constant integer values.

System.Object
   CONTRACT_STATE

[Visual Basic .NET]
Public Class CONTRACT_STATE
   Inherits System.Object
[C#]
public class CONTRACT_STATE: System.Object
[C++]
public __gc class CONTRACT_STATE: public System.Object

The CONTRACT_STATE class exposes the following integer fields.

Field Value Description
CTRST_ACTIVE 2 The contract is active.
CTRST_CANCEL 4 The contract has been canceled.
CTRST_DRAFT 0 The contract is a draft.
CTRST_EXPIRE 5 The contract is expired.
CTRST_HOLD 3 The contract is on hold.
CTRST_INVOICE 1 The contract has been invoiced.

Requirements

Namespace: Microsoft.Crm.Platform.Types

Assembly: Microsoft.Crm.Platform.Types.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.