SubCode Enum

Definition

Contains the possible values for a subcode, used in scheduling appointments.

For the Web API use the SubCode EnumType.

public enum class SubCode
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public enum SubCode
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type SubCode = 
Public Enum SubCode
Inheritance
SubCode
Attributes

Fields

Appointment 7

A block of time that is already scheduled for an appointment. Value = 7.

Break 4

A block of time that cannot be committed due to a scheduled break. Value = 4.

Committed 2

A block of time that is committed to perform an action. Value = 2.

Holiday 5

A block of time that cannot be scheduled due to a scheduled holiday. Value = 5.

ResourceCapacity 10

Specifies the capacity of a resource for the specified time interval. Value = 10.

ResourceServiceRestriction 9

A restriction for a resource for the specified service. Value = 9.

ResourceStartTime 8

Specifies to filter a resource start time. Value = 8.

Schedulable 1

A schedulable block of time. Value = 1.

ServiceCost 12

An override to the service cost for the specified time block. Value = 12.

ServiceRestriction 11

Specifies that a service is restricted during the specified block of time. Value = 11.

Uncommitted 3

A block of time that is tentatively scheduled but not committed. Value = 3.

Unspecified 0

Specifies free time with no specified restrictions. Value = 0.

Vacation 6

A block of time that cannot be scheduled due to a scheduled vacation. Value = 6.

Applies to

See also