Deli z drugimi prek


Helper code: Enumerations for option sets

 

Applies To: Dynamics CRM 2015

The SDK download package includes an extension to the CrmSvcUtil code generation tool that you can use to generate enumerations for all option set values including global option sets, picklist, state, and status values. For more information, see Sample extension to generate enumerations for option sets. In addition, it includes a helper code file that contains the enumerations generated for all out-of-the-box values. These enumerations can be used in your code by adding the file SampleCode\CS\HelperCode\OptionSets.cs or SampleCode\VB\HelperCode\OptionSets.vb to your project.

Usage example

The following example shows how to use one of these enumerations to set a value in the Account entity.


// Instantiate an account object. Note the use of the option set enumerations defined
// in OptionSets.cs.
Account account = new Account { Name = "Fourth Coffee" };
account.AccountCategoryCode = new OptionSetValue((int)AccountAccountCategoryCode.PreferredCustomer);
account.CustomerTypeCode = new OptionSetValue((int)AccountCustomerTypeCode.Investor);

// Create an account record named Fourth Coffee.
// Save the record reference so we can delete it during cleanup later.
Guid accountId = service.Create(account);


' Instantiate an account object. Note the use of the option set enumerations defined in OptionSets.vb.
' See the Entity Metadata topic in the SDK documentation to determine 
' which attributes must be set for each entity.
Dim account_Renamed As Account = New Account With {.Name = "Fourth Coffee"}
account_Renamed.AccountCategoryCode = New OptionSetValue(CInt(AccountAccountCategoryCode.PreferredCustomer))
account_Renamed.CustomerTypeCode = New OptionSetValue(CInt(AccountCustomerTypeCode.Investor))

' Create an account record named Fourth Coffee.
_accountId = _serviceProxy.Create(account_Renamed)

Generated enumerations

Each numeration can be used to test or set the value for a property. Typically this property is an entity attribute but there are a few that are used for other properties.

The following table lists all the enumerations included in these helper files and maps the enumeration to the entity and attribute name.

Enumeration name

Entity name

Attribute name

account_statuscode

Account

StatusCode

AccountAccountCategoryCode

Account

CategoryCode

AccountAccountClassificationCode

Account

ClassificationCode

AccountAccountRatingCode

Account

RatingCode

AccountAddress1_AddressTypeCode

Account

Address1_AddressTypeCode

AccountAddress1_FreightTermsCode

Account

Address1_FreightTermsCode

AccountAddress1_ShippingMethodCode

Account

Address1_ShippingMethodCode

AccountAddress2_AddressTypeCode

Account

Address2_AddressTypeCode

AccountAddress2_FreightTermsCode

Account

Address2_FreightTermsCode

AccountAddress2_ShippingMethodCode

Account

Address2_ShippingMethodCode

AccountBusinessTypeCode

Account

BusinessTypeCode

AccountCustomerSizeCode

Account

CustomerSizeCode

AccountCustomerTypeCode

Account

CustomerTypeCode

AccountIndustryCode

Account

IndustryCode

AccountOwnershipCode

Account

OwnershipCode

AccountPaymentTermsCode

Account

PaymentTermsCode

AccountPreferredAppointmentDayCode

Account

PreferredAppointmentDayCode

AccountPreferredAppointmentTimeCode

Account

PreferredAppointmentTimeCode

AccountPreferredContactMethodCode

Account

PreferredContactMethodCode

AccountShippingMethodCode

Account

ShippingMethodCode

AccountTerritoryCode

Account

TerritoryCode

ActivityPartyInstanceTypeCode

ActivityParty

InstanceTypeCode

ActivityPartyParticipationTypeMask

ActivityParty

ParticipationTypeMask

activitypointer_activitytypecode

ActivityPointer

ActivityTypeCode

activitypointer_deliveryprioritycode

ActivityPointer

PriorityCode

activitypointer_statuscode

ActivityPointer

StatusCode

ActivityPointerInstanceTypeCode

ActivityPointer

InstanceTypeCode

ActivityPointerPriorityCode

ActivityPointer

PriorityCode

appointment_statuscode

Appointment

StatusCode

AppointmentAttachmentErrors

Appointment

AppointmentInstanceTypeCode

Appointment

InstanceTypeCode

AppointmentPriorityCode

Appointment

PriorityCode

asyncoperation_statuscode

AsyncOperation

StatusCode

AsyncOperationOperationType

AsyncOperation

OperationType

AuditAction

Audit

Action

AuditOperation

Audit

Operation

budgetstatus

Lead
Opportunity

BudgetStatus

bulkdeleteoperation_statuscode

BulkDeleteOperation

StatusCode

bulkoperation_statuscode

BulkOperation

StatusCode

BulkOperationCreatedRecordTypeCode

BulkOperation

CreatedRecordTypeCode

BulkOperationOperationTypeCode

BulkOperation

OperationTypeCode

BulkOperationTargetedRecordTypeCode

BulkOperation

TargetedRecordTypeCode

BusinessUnitAddress1_AddressTypeCode

BusinessUnit

Address1_AddressTypeCode

BusinessUnitAddress1_ShippingMethodCode

BusinessUnit

Address1_ShippingMethodCode

BusinessUnitAddress2_AddressTypeCode

BusinessUnit

Address2_AddressTypeCode

BusinessUnitAddress2_ShippingMethodCode

BusinessUnit

Address2_ShippingMethodCode

BusinessUnitNewsArticleArticleTypeCode

BusinessUnitNewsArticle

ArticleTypeCode

CalendarType

Calendar

Type

campaign_statuscode

Campaign

StatusCode

campaignactivity_statuscode

CampaignActivity

StatusCode

CampaignActivityChannelTypeCode

CampaignActivity

ChannelTypeCode

CampaignActivityPriorityCode

CampaignActivity

PriorityCode

CampaignActivityTypeCode

CampaignActivity

TypeCode

campaignresponse_statuscode

CampaignResponse

StatusCode

CampaignResponseChannelTypeCode

CampaignResponse

ChannelTypeCode

CampaignResponsePriorityCode

CampaignResponse

PriorityCode

CampaignResponseResponseCode

CampaignResponse

ResponseCode

CampaignTypeCode

Campaign

TypeCode

columnmapping_statuscode

ColumnMapping

StatusCode

ColumnMappingProcessCode

ColumnMapping

ProcessCode

CompetitorAddress1_AddressTypeCode

Competitor

Address1_AddressTypeCode

CompetitorAddress1_ShippingMethodCode

Competitor

Address1_ShippingMethodCode

CompetitorAddress2_AddressTypeCode

Competitor

Address2_AddressTypeCode

CompetitorAddress2_ShippingMethodCode

Competitor

Address2_ShippingMethodCode

componentstate

ActivityMimeAttachment
AttributeMap
ConnectionRole
ContractTemplate
DisplayString
EntityMap
FieldPermission
FieldSecurityProfile
KbArticleTemplate
MailMergeTemplate
PluginAssembly
PluginType
Report
ReportCategory
ReportEntity
ReportVisibility
Role
SavedQuery
SavedQueryVisualization
SdkMessageProcessingStep
SdkMessageProcessingStepImage
SdkMessageProcessingStepSecureConfig
ServiceEndpoint
SystemForm
Template
WebResource
Workflow

CompontentState

componenttype

SolutionComponent

ComponentType

connection_statuscode

Connection

StatusCode

ConnectionRecord1ObjectTypeCode

Connection

Record1ObjectTypeCode

ConnectionRecord2ObjectTypeCode

Connection

Record2ObjectTypeCode

connectionrole_category

ConnectionRole

Category

connectionrole_statuscode

ConnectionRole

StatusCode

ConstraintBasedGroupGroupTypeCode

ConstraintBasedGroup

GroupTypeCode

contact_statuscode

Contact

StatusCode

ContactAccountRoleCode

Contact

AccountRoleCode

ContactAddress1_AddressTypeCode

Contact

Address1_AddressTypeCode

ContactAddress1_FreightTermsCode

Contact

Address1_FreightTermsCode

ContactAddress1_ShippingMethodCode

Contact

Address1_ShippingMethodCode

ContactAddress2_AddressTypeCode

Contact

Address2_AddressTypeCode

ContactAddress2_FreightTermsCode

Contact

Address2_FreightTermsCode

ContactAddress2_ShippingMethodCode

Contact

Address2_ShippingMethodCode

ContactAddress3_AddressTypeCode

Contact

Address3_AddressTypeCode

ContactAddress3_FreightTermsCode

Contact

Address3_FreightTermsCode

ContactAddress3_ShippingMethodCode

Contact

Address3_ShippingMethodCode

ContactCustomerSizeCode

Contact

CustomerSizeCode

ContactCustomerTypeCode

Contact

CustomerTypeCode

ContactEducationCode

Contact

EducationCode

ContactFamilyStatusCode

Contact

FamilyStatusCode

ContactGenderCode

Contact

GenderCode

ContactHasChildrenCode

Contact

HasChildrenCode

ContactLeadSourceCode

Contact

LeadSourceCode

ContactPaymentTermsCode

Contact

PaymentTermsCode

ContactPreferredAppointmentDayCode

Contact

PreferredAppointmentDayCode

ContactPreferredAppointmentTimeCode

Contact

PreferredAppointmentTimeCode

ContactPreferredContactMethodCode

Contact

PreferredContactMethodCode

ContactShippingMethodCode

Contact

ShippingMethodCode

ContactTerritoryCode

Contact

TerritoryCode

contract_statuscode

Contract

StatusCode

ContractAllotmentTypeCode

Contract

AllotmentTypeCode

ContractBillingFrequencyCode

Contract

BillingFrequencyCode

ContractContractServiceLevelCode

Contract

ContractServiceLevelCode

contractdetail_statuscode

ContractDetail

StatusCode

ContractDetailContractStateCode

ContractDetail

ContractStateCode

ContractDetailServiceContractUnitsCode

ContractDetail

ServiceContractUnitsCode

ContractTemplateAllotmentTypeCode

ContractTemplate

AllotmentTypeCode

ContractTemplateBillingFrequencyCode

ContractTemplate

BillingFrequencyCode

ContractTemplateContractServiceLevelCode

ContractTemplate

ContractServiceLevelCode

convertrule_statuscode

ConvertRule

StatusCode

ConvertRuleSourceTypeCode

ConvertRule

SourceTypeCode

CustomerAddressAddressTypeCode

CustomerAddress

AddressTypeCode

CustomerAddressFreightTermsCode

CustomerAddress

FreightTermsCode

CustomerAddressShippingMethodCode

CustomerAddress

ShippingMethodCode

dependencytype

Dependency

DependencyType

discounttype_statuscode

DiscountType

StatusCode

duplicaterule_statuscode

DuplicateRule

StatusCode

DuplicateRuleBaseEntityTypeCode

DuplicateRule

BaseEntityTypeCode

DuplicateRuleConditionOperatorCode

DuplicateRule

ConditionOperatorCode

DuplicateRuleMatchingEntityTypeCode

DuplicateRule

MatchingEntityTypeCode

dynamicproperty_statuscode

DynamicProperty

StatusCode

DynamicPropertyAssociationAssociationStatus

DynamicPropertyAssociation

AssociationStatus

DynamicPropertyAssociationInheritanceState

DynamicPropertyAssociation

InheritanceState

DynamicPropertyDataType

DynamicProperty

DataType

email_statuscode

Email

StatusCode

EmailCorrelationMethod

Email

CorrelationMethod

EmailNotifications

Email

Notifications

EmailPriorityCode

Email

PriorityCode

emailserverprofile_authenticationprotocol

EmailServerProfile

IncomingAuthenticationProtocol
OutgoingAuthenticationProtocol

emailserverprofile_statuscode

EmailServerProfile

StatusCode

EmailServerProfileExchangeVersion

EmailServerProfile

ExchangeVersion

EmailServerProfileIncomingCredentialRetrieval

EmailServerProfile

IncomingCredentialRetrieval

EmailServerProfileOutgoingCredentialRetrieval

EmailServerProfile

OutgoingCredentialRetrieval

EmailServerProfileServerType

EmailServerProfile

ServerType

entitlement_statuscode

Entitlement

StatusCode

EntitlementAllocationTypeCode

Entitlement

AllocationTypeCode

EntitlementDecreaseRemainingOn

Entitlement

DecreaseRemainingOn

EntitlementKbAccessLevel

Entitlement

KbAccessLevel

EntitlementTemplateAllocationTypeCode

EntitlementTemplate

AllocationTypeCode

EntitlementTemplateDecreaseRemainingOn

EntitlementTemplate

DecreaseRemainingOn

EntitlementTemplateKbAccessLevel

EntitlementTemplate

KbAccessLevel

fax_statuscode

Fax

StatusCode

FaxPriorityCode

Fax

PriorityCode

field_security_permission_type

Used in the FieldPermissionType class

goal_fiscalperiod

Goal

FiscalPeriod

goal_fiscalyear

Goal

FiscalYear

goal_statuscode

Goal

StatusCode

goalrollupquery_statuscode

GoalRollupQuery

StatusCode

import_statuscode

Import

StatusCode

importentitymapping_statuscode

ImportEntityMapping

StatusCode

ImportEntityMappingDeDupe

ImportEntityMapping

DeDupe

ImportEntityMappingProcessCode

ImportEntityMapping

ProcessCode

importfile_statuscode

ImportFile

StatusCode

ImportFileDataDelimiterCode

ImportFile

DataDelimiterCode

ImportFileFieldDelimiterCode

ImportFile

FieldDelimiterCode

ImportFileFileTypeCode

ImportFile

FileTypeCode

ImportFileProcessCode

ImportFile

ProcessCode

ImportFileProcessingStatus

ImportFile

ProcessingStatus

importlog_statuscode

ImportLog

StatusCode

ImportLogLogPhaseCode

ImportLog

LogPhaseCode

importmap_statuscode

ImportMap

StatusCode

ImportMapEntitiesPerFile

ImportMap

EntitiesPerFile

ImportMapImportMapType

ImportMap

Type

ImportMapSourceType

ImportMap

SourceType

ImportMapTargetEntity

ImportMap

TargetEntity

ImportModeCode

Import

ModeCode

incident_caseorigincode

Incident

CaseOriginCode

incident_statuscode

Incident

StatusCode

IncidentCaseTypeCode

Incident

CaseTypeCode

IncidentContractServiceLevelCode

Incident

ContractServiceLevelCode

IncidentCustomerSatisfactionCode

Incident

CustomerSatisfactionCode

IncidentFirstResponseSLAStatus

Incident

FirstResponseSLAStatus

IncidentIncidentStageCode

Incident

StageCode

IncidentPriorityCode

Incident

PriorityCode

incidentresolution_statuscode

Incident

StatusCode

IncidentResolveBySLAStatus

Incident

ResolveBySLAStatus

IncidentSeverityCode

Incident

SeverityCode

initialcommunication

Lead
Opportunity

InitialCommunication

invoice_statuscode

Invoice

StatusCode

InvoiceDetailInvoiceStateCode

InvoiceDetail

InvoiceStateCode

InvoiceDetailShipTo_FreightTermsCode

InvoiceDetail

ShipTo_FreightTermsCode

InvoicePaymentTermsCode

Invoice

PaymentTermsCode

InvoicePriorityCode

Invoice

PriorityCode

InvoiceShippingMethodCode

Invoice

ShippingMethodCode

InvoiceShipTo_FreightTermsCode

Invoice

ShipTo_FreightTermsCode

kbarticle_statuscode

KbArticle

StatusCode

lead_salesstage

Lead
Opportunity

SalesStage

lead_statuscode

Lead

StatusCode

LeadAddress1_AddressTypeCode

Lead

Address1_AddressTypeCode

LeadAddress1_ShippingMethodCode

Lead

Address1_ShippingMethodCode

LeadAddress2_AddressTypeCode

Lead

Address2_AddressTypeCode

LeadAddress2_ShippingMethodCode

Lead

Address2_ShippingMethodCode

LeadIndustryCode

Lead

IndustryCode

LeadLeadQualityCode

Lead

LeadQualityCode

LeadLeadSourceCode

Lead

LeadSourceCode

LeadPreferredContactMethodCode

Lead

PreferredContactMethodCode

LeadPriorityCode

Lead

PriorityCode

LeadSalesStageCode

Lead

SalesStageCode

letter_statuscode

Letter

StatusCode

LetterPriorityCode

Letter

PriorityCode

list_statuscode

List

StatusCode

ListCreatedFromCode

List

CreatedFromCode

lookupmapping_statuscode

LookUpMapping

StatusCode

LookUpMappingLookUpSourceCode

LookUpMapping

LookUpSourceCode

LookUpMappingProcessCode

LookUpMapping

ProcessCode

MailboxACTDeliveryMethod

Mailbox

ACTDeliveryMethod

MailboxACTStatus

Mailbox

ACTStatus

MailboxEmailRouterAccessApproval

Mailbox

EmailRouterAccessApproval

MailboxIncomingEmailDeliveryMethod

Mailbox

IncomingEmailDeliveryMethod

MailboxIncomingEmailStatus

Mailbox

IncomingEmailStatus

MailboxOutgoingEmailDeliveryMethod

Mailbox

OutgoingEmailDeliveryMethod

MailboxOutgoingEmailStatus

Mailbox

OutgoingEmailStatus

mailbox_statuscode

Mailbox

StatusCode

mailmergetemplate_statuscode

MailMergeTemplate

StatusCode

MailMergeTemplateDocumentFormat

MailMergeTemplate

DocumentFormat

MailMergeTemplateMailMergeType

MailMergeTemplate

MailMergeType

metric_goaltype

Metric
Goal

AmountDataType

metric_statuscode

Metric

StatusCode

msdyn_postalbum_statuscode

Msdyn_PostAlbum

StatusCode

msdyn_postconfig_statuscode

Msdyn_PostConfig

StatusCode

msdyn_postruleconfig_statuscode

Msdyn_PostRuleConfig

StatusCode

msdyn_wallsavedquery_statuscode

Msdyn_WallSavedQuery

StatusCode

msdyn_wallsavedqueryusersettings_statuscode

Msdyn_WallSavedQueryUserSettings

StatusCode

need

Lead
Opportunity

StatusCode

opportunity_salesstage

Lead
Opportunity

SalesStage

opportunity_statuscode

Opportunity

StatusCode

opportunityclose_statuscode

OpportunityClose

StatusCode

OpportunityOpportunityRatingCode

Opportunity

OpportunityRatingCode

OpportunityPriorityCode

Opportunity

PriorityCode

OpportunityProductOpportunityStateCode

OpportunityProduct

OpportunityStateCode

OpportunitySalesStageCode

Opportunity

SalesStageCode

OpportunityTimeLine

Opportunity

TimeLine

orderclose_statuscode

OrderClose

StatusCode

OrganizationCurrencyDisplayOption

Organization

CurrencyDisplayOption

OrganizationCurrencyFormatCode

Organization

CurrencyFormatCode

OrganizationDefaultRecurrenceEndRangeType

Organization

DefaultRecurrenceEndRangeType

OrganizationDiscountCalculationMethod

Organization

DiscountCalculationMethod

OrganizationEmailConnectionChannel

Organization

EmailConnectionChannel

OrganizationFiscalPeriodFormatPeriod

Organization

FiscalPeriodFormatPeriod

OrganizationFiscalYearFormatPrefix

Organization

FiscalYearFormatPrefix

OrganizationFiscalYearFormatSuffix

Organization

FiscalYearFormatSuffix

OrganizationFiscalYearFormatYear

Organization

FiscalYearFormatYear

OrganizationFullNameConventionCode

Organization

FullNameConventionCode

OrganizationISVIntegrationCode

Organization

ISVIntegrationCode

OrganizationNegativeFormatCode

Organization

NegativeFormatCode

OrganizationReportScriptErrors

Organization

ReportScriptErrors

OrganizationYammerPostMethod

Organization

YammerPostMethod

ownermapping_statuscode

OwnerMapping

StatusCode

OwnerMappingProcessCode

OwnerMapping

ProcessCode

phonecall_statuscode

PhoneCall

StatusCode

PhoneCallPriorityCode

PhoneCall

PriorityCode

picklistmapping_statuscode

PickListMapping

StatusCode

PickListMappingProcessCode

PickListMapping

ProcessCode

PluginAssemblyIsolationMode

PluginAssembly

IsolationMode

PluginAssemblySourceType

PluginAssembly

SourceType

position_statuscode

Position

StatusCode

PostSource

Post

Source

PostType

Post

Type

pricelevel_statuscode

PriceLevel

StatusCode

PriceLevelFreightTermsCode

PriceLevel

FreightTermsCode

PriceLevelPaymentMethodCode

PriceLevel

PaymentMethodCode

PriceLevelShippingMethodCode

PriceLevel

ShippingMethodCode

principalsyncattributemapping_syncdirection

PrincipalSyncAttributeMap

SyncDirection

processsession_statuscode

ProcessSession

StatusCode

processstage_category

ProcessStage

Category

ProcessTriggerControlType

ProcessTrigger

ControlType

ProcessTriggerScope

ProcessTrigger

Scope

product_statuscode

Product

StatusCode

productassociate_statuscode

ProductAssociation

StatusCode

ProductAssociationProductIsRequired

ProductAssociation

ProductIsRequired

ProductAssociationPropertyCustomizationStatus

ProductAssociation

PropertyCustomizationStatus

ProductPriceLevelPricingMethodCode

ProductPriceLevel

PricingMethodCode

ProductPriceLevelQuantitySellingCode

ProductPriceLevel

QuantitySellingCode

ProductPriceLevelRoundingOptionCode

ProductPriceLevel

RoundingOptionCode

ProductPriceLevelRoundingPolicyCode

ProductPriceLevel

RoundingPolicyCode

ProductProductStructure

Product

ProductStructure

ProductProductTypeCode

Product

ProductTypeCode

productsubstitute_statuscode

ProductSubstitute

StatusCode

ProductSubstituteDirection

ProductSubstitute

Direction

ProductSubstituteSalesRelationshipType

ProductSubstitute

SalesRelationshipType

PublisherAddress1_AddressTypeCode

Publisher

Address1_AddressTypeCode

PublisherAddress1_ShippingMethodCode

Publisher

Address1_ShippingMethodCode

PublisherAddress2_AddressTypeCode

Publisher

Address2_AddressTypeCode

PublisherAddress2_ShippingMethodCode

Publisher

Address2_ShippingMethodCode

PublisherAddressAddressTypeCode

PublisherAddress

AddressTypeCode

PublisherAddressFreightTermsCode

PublisherAddress

FreightTermsCode

PublisherAddressShippingMethodCode

PublisherAddress

ShippingMethodCode

purchaseprocess

Lead
Opportunity

PurchaseProcess

purchasetimeframe

Lead
Opportunity

PurchaseTimeframe

qooi_pricingerrorcode

Invoice
InvoiceDetail
Opportunity
OpportunityProduct
Quote
QuoteDetail
SalesOrder
SalesOrderDetail

PricingErrorCode

qooiproduct_producttype

qooiproduct_propertiesconfigurationstatus

queue_statuscode

Queue

StatusCode

QueueEmailRouterAccessApproval

Queue

EmailRouterAccessApproval

QueueIncomingEmailDeliveryMethod

Queue

IncomingEmailDeliveryMethod

QueueIncomingEmailFilteringMethod

Queue

IncomingEmailFilteringMethod

queueitem_statuscode

QueueItem

StatusCode

QueueItemObjectTypeCode

QueueItem

ObjectTypeCode

QueueOutgoingEmailDeliveryMethod

Queue

OutgoingEmailDeliveryMethod

QueueQueueTypeCode

Queue

QueueTypeCode

QueueQueueViewType

Queue

QueueViewType

quote_statuscode

Quote

StatusCode

quoteclose_statuscode

QuoteClose

StatusCode

QuoteDetailQuoteStateCode

QuoteDetail

StateCode

QuoteDetailShipTo_FreightTermsCode

QuoteDetail

ShipTo_FreightTermsCode

QuoteFreightTermsCode

Quote

FreightTermsCode

QuotePaymentTermsCode

Quote

PaymentTermsCode

QuoteShippingMethodCode

Quote

ShippingMethodCode

QuoteShipTo_FreightTermsCode

Quote

ShipTo_FreightTermsCode

recurrencerule_monthofyear

RecurrenceRule

MonthOfYear

RecurrenceRuleInstance

RecurrenceRule

Instance

RecurrenceRulePatternEndType

RecurrenceRule

PatternEndType

RecurrenceRuleRecurrencePatternType

RecurrenceRule

RecurrencePatternType

recurringappointmentmaster_statuscode

RecurringAppointmentMaster

StatusCode

RecurringAppointmentMasterExpansionStateCode

RecurringAppointmentMaster

ExpansionStateCode

RecurringAppointmentMasterInstance

RecurringAppointmentMaster

Instance

RecurringAppointmentMasterInstanceTypeCode

RecurringAppointmentMaster

InstanceTypeCode

RecurringAppointmentMasterPatternEndType

RecurringAppointmentMaster

PatternEndType

RecurringAppointmentMasterPriorityCode

RecurringAppointmentMaster

PriorityCode

RecurringAppointmentMasterRecurrencePatternType

RecurringAppointmentMaster

RecurrencePatternType

relationshiprole_statuscode

RelationshipRole

StatusCode

ReportCategoryCategoryCode

ReportCategory

CategoryCode

ReportLinkLinkTypeCode

ReportLink

LinkTypeCode

ReportReportTypeCode

Report

ReportTypeCode

ReportVisibilityVisibilityCode

ReportVisibility

VisibilityCode

routingrule_statuscode

RoutingRule

StatusCode

SalesLiteratureItemFileTypeCode

SalesLiteratureItem

FileTypeCode

SalesLiteratureLiteratureTypeCode

SalesLiterature

LiteratureTypeCode

salesorder_statuscode

SalesOrder

StatusCode

SalesOrderDetailSalesOrderStateCode

SalesOrderDetail

SalesOrderStateCode

SalesOrderDetailShipTo_FreightTermsCode

SalesOrderDetail

ShipTo_FreightTermsCode

SalesOrderFreightTermsCode

SalesOrder

FreightTermsCode

SalesOrderPaymentTermsCode

SalesOrder

PaymentTermsCode

SalesOrderPriorityCode

SalesOrder

PriorityCode

SalesOrderShippingMethodCode

SalesOrder

ShippingMethodCode

SalesOrderShipTo_FreightTermsCode

SalesOrder

ShipTo_FreightTermsCode

savedquery_statuscode

SavedQuery

StatusCode

sdkmessageprocessingstep_statuscode

SdkMessageProcessingStep

StatusCode

SdkMessageProcessingStepImageImageType

SdkMessageProcessingStepImage

ImageType

SdkMessageProcessingStepInvocationSource

SdkMessageProcessingStep

SdkMessageProcessingStepInvocationSource

SdkMessageProcessingStepMode

SdkMessageProcessingStep

SdkMessageProcessingStepMode

SdkMessageProcessingStepStage

SdkMessageProcessingStep

SdkMessageProcessingStepStage

SdkMessageProcessingStepSupportedDeployment

SdkMessageProcessingStep

SdkMessageProcessingStepSupportedDeployment

service_initialstatuscode

Service

InitialStatusCode

serviceappointment_statuscode

ServiceAppointment

StatusCode

ServiceAppointmentPriorityCode

ServiceAppointment

PriorityCode

ServiceEndpointConnectionMode

ServiceEndpoint

ConnectionMode

ServiceEndpointContract

ServiceEndpoint

Contract

ServiceEndpointUserClaim

ServiceEndpoint

UserClaim

servicestage

Incident

ServiceStage

sharepoint_validationstatus

SharePointSite

StateCode

sharepoint_validationstatusreason

SharePointSite

StatusCode

sharepointdocumentlocation_statuscode

SharepointDocumentLocation

StatusCode

sharepointsite_statuscode

SharepointSite

StatusCode

SiteAddress1_AddressTypeCode

Site

Address1_AddressTypeCode

SiteAddress1_ShippingMethodCode

Site

Address1_ShippingMethodCode

SiteAddress2_AddressTypeCode

Site

Address2_AddressTypeCode

SiteAddress2_ShippingMethodCode

Site

Address2_ShippingMethodCode

sla_statuscode

SLA

StatusCode

SLAApplicableFromPickList

SLA

ApplicableFrom

SLAKPIInstanceStatus

SLAKPIInstance

Status

SLAKPIInstanceWarningTimeReached

SLAKPIInstance

WarningTimeReached

SLAObjectTypeCode

SLA

ObjectTypeCode

SLASLAType

SLA

SLAType

socialactivity_postmessagetype

SocialActivity

PostMessageType

socialactivity_statuscode

SocialActivity

StatusCode

SocialActivityPriorityCode

SocialActivity

PriorityCode

SocialInsightsConfigurationFormTypeCode

SocialInsightsConfiguration

SocialInsightsConfigurationSocialDataItemType

SocialInsightsConfiguration

SocialDataItemType

socialprofile_community

SocialProfile

Community

socialprofile_statuscode

SocialProfile

StatusCode

syncattributemapping_syncdirection

SyncAttributeMapping

SyncDirection

SystemFormActivationState

SystemForm

FormActivationState

SystemFormPresentation

SystemForm

FormPresentation

SystemFormType

SystemForm

Type

SystemUserAccessMode

SystemUser

AccessMode

SystemUserAddress1_AddressTypeCode

SystemUser

Address1_AddressTypeCode

SystemUserAddress1_ShippingMethodCode

SystemUser

Address1_ShippingMethodCode

SystemUserAddress2_AddressTypeCode

SystemUser

Address2_AddressTypeCode

SystemUserAddress2_ShippingMethodCode

SystemUser

Address2_ShippingMethodCode

SystemUserCALType

SystemUser

CALType

SystemUserEmailRouterAccessApproval

SystemUser

EmailRouterAccessApproval

SystemUserIncomingEmailDeliveryMethod

SystemUser

IncomingEmailDeliveryMethod

SystemUserInviteStatusCode

SystemUser

InviteStatusCode

SystemUserOutgoingEmailDeliveryMethod

SystemUser

OutgoingEmailDeliveryMethod

SystemUserPreferredAddressCode

SystemUser

PreferredAddressCode

SystemUserPreferredEmailCode

SystemUser

PreferredEmailCode

SystemUserPreferredPhoneCode

SystemUser

PreferredPhoneCode

task_statuscode

Task

StatusCode

TaskPriorityCode

Task

PriorityCode

TeamTeamType

Team

TeamType

TraceLogLevel

TraceLog

Level

transactioncurrency_statuscode

TransactionCurrency

StatusCode

transformationmapping_statuscode

TransformationMapping

StatusCode

TransformationMappingProcessCode

TransformationMapping

ProcessCode

TransformationParameterMappingDataTypeCode

TransformationParameterMapping

DataTypeCode

TransformationParameterMappingParameterTypeCode

TransformationParameterMapping

ParameterTypeCode

uomschedule_statuscode

UoMSchedule

StatusCode

UserFormType

UserForm

Type

userquery_statuscode

UserQuery

StatusCode

UserSettingsDataValidationModeForExportToExcel

UserSettings

DataValidationModeForExportToExcel

UserSettingsEntityFormMode

UserSettings

EntityFormMode

UserSettingsIncomingEmailFilteringMethod

UserSettings

IncomingEmailFilteringMethod

UserSettingsReportScriptErrors

UserSettings

ReportScriptErrors

UserSettingsVisualizationPaneLayout

UserSettings

VisualizationPaneLayout

WebResourceWebResourceType

WebResource

WebResourceType

workflow_statuscode

Workflow

StatusCode

WorkflowCategory

Workflow

Category

WorkflowDependencyType

WorkflowDependency

Type

workflowlog_objecttypecode

WorkflowLog

WorkflowMode

Workflow

Mode

WorkflowLogStatus

WorkflowLog

Status

workflow_runas

Workflow

RunAs

WorkflowScope

Workflow

Scope

workflow_stage

Workflow

CreateStage
DeleteStage
UpdateStage

WorkflowType

Workflow

Type

See Also

Use the sample and helper code
Helper code: ServerConnection class
Helper code: DeviceIdManager class
Helper code: SystemUserProvider class
Sample extension to generate enumerations for option sets
Global option set metadata values
Run a simple program using Microsoft Dynamics CRM web services

© 2016 Microsoft. All rights reserved. Copyright