Export (0) Print
Expand All

Contract Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The contract entity contains a number of attributes with the underlying type of OptionSetMetadata. This includes attributes of type PicklistAttributeMetadata, StateAttributeMetadata, and StatusAttributeMetadata. This topic shows the values for these attributes in a default, uncustomized installation of Microsoft Dynamics CRM. For information on how to generate and use enumerations for these values in your code, see Helper Code: Enumerations for Option Sets.

OptionSet Values

The following table lists the attributes and option set values for the contract entity.

 

LogicalName Type OptionValue OptionDescription

allotmenttypecode

Picklist

1

Number of Cases

Picklist

2

Time

Picklist

3

Coverage Dates

billingfrequencycode

Picklist

1

Monthly

Picklist

2

Bimonthly

Picklist

3

Quarterly

Picklist

4

Semiannually

Picklist

5

Annually

contractservicelevelcode

Picklist

1

Gold

Picklist

2

Silver

Picklist

3

Bronze

statecode

State

0

Draft

State

1

Invoiced

State

2

Active

State

3

On Hold

State

4

Canceled

State

5

Expired

statuscode

Status

1

Draft

Status

2

Invoiced

Status

3

Active

Status

4

On Hold

Status

5

Canceled

Status

6

Expired

Statecode to Statuscode Mapping

The following table shows the mapping between the default statecode and statuscode picklist values.

 

State State value Status Status value

Draft

0

Draft

1

Invoiced

1

Invoiced

2

Active

2

Active

3

On Hold

3

On Hold

4

Canceled

4

Canceled

5

Expired

5

Expired

6

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.

Community Additions

Show:
© 2014 Microsoft