Click or drag to resize

ServiceAppointment Class

Activity offered by the organization to satisfy its customer's needs. Each service activity includes date, time, duration, and required resources.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceServiceAppointment

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ServiceAppointment : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The ServiceAppointment type exposes the following members.

Constructors
 NameDescription
Public methodServiceAppointment Default Constructor.
Top
Properties
 NameDescription
Public propertyAccount_ServiceAppointments N:1 Account_ServiceAppointments
Public propertyactivity_pointer_service_appointment N:1 activity_pointer_service_appointment
Public propertyActivityAdditionalParams For internal use only.
Public propertyActivityId Unique identifier of the service activity.
Public propertyActivityTypeCode Shows the type of activity.
Public propertyActualDurationMinutes Shows the value selected in the Duration field on the service activity at the time the service activity is closed as completed. The duration is used to report the time spent on the activity.
Public propertyActualEnd Enter the actual end date and time of the service activity. By default, it displays when the activity was closed or canceled.
Public propertyActualStart Enter the actual start date and time for the service activity. By default, it displays when the activity was created.
Public propertyAttributes
(Inherited from Entity)
Public propertybookableresourcebooking_ServiceAppointments N:1 bookableresourcebooking_ServiceAppointments
Public propertybookableresourcebookingheader_ServiceAppointments N:1 bookableresourcebookingheader_ServiceAppointments
Public propertybusiness_unit_service_appointments N:1 business_unit_service_appointments
Public propertyCampaign_ServiceAppointments N:1 Campaign_ServiceAppointments
Public propertyCategory Type a category to identify the service activity type, such as routine maintenance or service call, to tie the service activity to a business group or function.
Public propertyContact_ServiceAppointments N:1 Contact_ServiceAppointments
Public propertyContract_ServiceAppointments N:1 Contract_ServiceAppointments
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyCustomers Enter the accounts and contacts for whom the service activity is being performed.
Public propertyDescription Type additional information to describe the service activity, such as key talking points or objectives.
Public propertyentitlement_ServiceAppointments N:1 entitlement_ServiceAppointments
Public propertyentitlementtemplate_ServiceAppointments N:1 entitlementtemplate_ServiceAppointments
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyIncident_ServiceAppointments N:1 Incident_ServiceAppointments
Public propertyInvoice_ServiceAppointments N:1 Invoice_ServiceAppointments
Public propertyIsAllDayEvent Select whether the service activity is an all-day event to make sure the required resources are scheduled for the full day.
Public propertyIsBilled Information which specifies whether the service activity was billed as part of resolving a case.
Public propertyIsMapiPrivate For internal use only.
Public propertyIsRegularActivity Information regarding whether the activity is a regular activity type or event type.
Public propertyIsWorkflowCreated Information which specifies if the service activity was created from a workflow rule.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyKnowledgeArticle_ServiceAppointments N:1 KnowledgeArticle_ServiceAppointments
Public propertyKnowledgeBaseRecord_ServiceAppointments N:1 KnowledgeBaseRecord_ServiceAppointments
Public propertyLastOnHoldTime Contains the date and time stamp of the last on hold time.
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertyLead_ServiceAppointments N:1 Lead_ServiceAppointments
Public propertylk_serviceappointment_createdby N:1 lk_serviceappointment_createdby
Public propertylk_serviceappointment_createdonbehalfby N:1 lk_serviceappointment_createdonbehalfby
Public propertylk_serviceappointment_modifiedby N:1 lk_serviceappointment_modifiedby
Public propertylk_serviceappointment_modifiedonbehalfby N:1 lk_serviceappointment_modifiedonbehalfby
Public propertyLocation Type the location where the service activity will take place, such as a conference room, customer office, or other venue.
Public propertyLogicalName
(Inherited from Entity)
Public propertymanualsla_serviceappointment N:1 manualsla_serviceappointment
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who last updated the record on behalf of another user.
Public propertymsdyn_postalbum_ServiceAppointments N:1 msdyn_postalbum_ServiceAppointments
Public propertyOnHoldTime Shows how long, in minutes, that the record was on hold.
Public propertyOpportunity_ServiceAppointments N:1 Opportunity_ServiceAppointments
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOwnerId Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
Public propertyOwningBusinessUnit Shows the business unit that the record owner belongs to.
Public propertyOwningTeam Unique identifier of the team that owns the service activity.
Public propertyOwningUser Unique identifier of the user that owns the service activity.
Public propertyPriorityCode Select the priority so that preferred customers or critical issues are handled quickly.
Public propertyQuote_ServiceAppointments N:1 Quote_ServiceAppointments
Public propertyRegardingObjectId Choose the record that the service activity relates to.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyResources Enter the user, facility, or equipment required to complete the service activity.
Public propertyRowVersion
(Inherited from Entity)
Public propertySalesOrder_ServiceAppointments N:1 SalesOrder_ServiceAppointments
Public propertyScheduledDurationMinutes Shows the expected duration of the service activity, in minutes.
Public propertyScheduledEnd Enter the expected due date and time.
Public propertyScheduledStart Enter the expected due date and time.
Public propertyservice_service_appointments N:1 service_service_appointments
Public propertyserviceappointment_activity_parties 1:N serviceappointment_activity_parties
Public propertyServiceAppointment_Annotation 1:N ServiceAppointment_Annotation
Public propertyServiceAppointment_AsyncOperations 1:N ServiceAppointment_AsyncOperations
Public propertyServiceAppointment_BulkDeleteFailures 1:N ServiceAppointment_BulkDeleteFailures
Public propertyserviceappointment_connections1 1:N serviceappointment_connections1
Public propertyserviceappointment_connections2 1:N serviceappointment_connections2
Public propertyserviceappointment_principalobjectattributeaccess 1:N serviceappointment_principalobjectattributeaccess
Public propertyServiceAppointment_ProcessSessions 1:N ServiceAppointment_ProcessSessions
Public propertyServiceAppointment_QueueItem 1:N ServiceAppointment_QueueItem
Public propertyServiceAppointment_SyncErrors 1:N ServiceAppointment_SyncErrors
Public propertyServiceId Choose the service scheduled to be performed during the service activity.
Public propertysite_service_appointments N:1 site_service_appointments
Public propertySiteId Choose the site or location where the service activity will be performed.
Public propertysla_serviceappointment N:1 sla_serviceappointment
Public propertySLAId Choose the service level agreement (SLA) that you want to apply to the service appointment record.
Public propertySLAInvokedId Last SLA that was applied to this email. This field is for internal use only.
Public propertyslakpiinstance_serviceappointment 1:N slakpiinstance_serviceappointment
Public propertyStateCode Shows whether the service activity is open, completed, or canceled. Completed and canceled service activities are read-only and can't be edited.
Public propertyStatusCode Select the service activity's status.
Public propertySubcategory Type a subcategory to identify the service activity type and relate the activity to a specific product, service region, business group, or other function.
Public propertySubject Type a short description about the objective or primary topic of the service activity.
Public propertySubscriptionId For internal use only.
Public propertysystem_user_service_appointments N:1 system_user_service_appointments
Public propertyteam_service_appointments N:1 team_service_appointments
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertyTransactionCurrency_ServiceAppointment N:1 TransactionCurrency_ServiceAppointment
Public propertyTransactionCurrencyId Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyuserentityinstancedata_serviceappointment 1:N userentityinstancedata_serviceappointment
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the service activity.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also