Edit

Share via


Inspection Template Version (msdyn_inspectiondefinition) table/entity reference (Microsoft Dynamics 365 Field Service)

Entity used to save different sets of questions related to an Inspection Template.

Messages

The following table lists the messages for the Inspection Template Version (msdyn_inspectiondefinition) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Assign
Event: True
PATCH /msdyn_inspectiondefinitions(msdyn_inspectiondefinitionid)
Update the ownerid property.
AssignRequest
Associate
Event: True
Associate records Associate records
BulkRetain
Event: True
BulkRetain Learn to use messages with the SDK for .NET
Create
Event: True
POST /msdyn_inspectiondefinitions
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /msdyn_inspectiondefinitions(msdyn_inspectiondefinitionid)
See Delete
Delete records
Disassociate
Event: True
Disassociate records Disassociate records
GrantAccess
Event: True
GrantAccess GrantAccessRequest
IsValidStateTransition
Event: False
IsValidStateTransition IsValidStateTransitionRequest
ModifyAccess
Event: True
ModifyAccess ModifyAccessRequest
PurgeRetainedContent
Event: True
PurgeRetainedContent Learn to use messages with the SDK for .NET
Restore
Event: True
Restore Learn to use messages with the SDK for .NET
Retain
Event: True
Retain Learn to use messages with the SDK for .NET
Retrieve
Event: True
GET /msdyn_inspectiondefinitions(msdyn_inspectiondefinitionid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /msdyn_inspectiondefinitions
See Query data
Query data
RetrievePrincipalAccess
Event: True
RetrievePrincipalAccess RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess
Event: True
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess
Event: True
RevokeAccess RevokeAccessRequest
RollbackRetain
Event: True
RollbackRetain Learn to use messages with the SDK for .NET
SetState
Event: True
PATCH /msdyn_inspectiondefinitions(msdyn_inspectiondefinitionid)
Update the statecode and statuscode properties.
SetStateRequest
Update
Event: True
PATCH /msdyn_inspectiondefinitions(msdyn_inspectiondefinitionid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /msdyn_inspectiondefinitions(msdyn_inspectiondefinitionid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: False
UpsertMultiple UpsertMultipleRequest
ValidateRetentionConfig
Event: True
ValidateRetentionConfig Learn to use messages with the SDK for .NET

Properties

The following table lists selected properties for the Inspection Template Version (msdyn_inspectiondefinition) table.

Property Value
DisplayName Inspection Template Version
DisplayCollectionName Inspection Template Versions
SchemaName msdyn_inspectiondefinition
CollectionSchemaName msdyn_inspectiondefinitions
EntitySetName msdyn_inspectiondefinitions
LogicalName msdyn_inspectiondefinition
LogicalCollectionName msdyn_inspectiondefinitions
PrimaryIdAttribute msdyn_inspectiondefinitionid
PrimaryNameAttribute msdyn_name
TableType Standard
OwnershipType UserOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ImportSequenceNumber

Property Value
Description Sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

msdyn_description

Property Value
Description Description of the Inspection Definition
DisplayName Description
IsValidForForm True
IsValidForRead True
LogicalName msdyn_description
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000

msdyn_EffectiveDate

Property Value
Description Shows the date and time when the inspection template would be effective. By default its the inspection template published date. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Effective Date
IsValidForForm True
IsValidForRead True
LogicalName msdyn_effectivedate
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior True
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Auto
SourceTypeMask 0

msdyn_inspectiondefinitionId

Property Value
Description Unique identifier for entity instances
DisplayName InspectionDefinition
IsValidForForm False
IsValidForRead True
LogicalName msdyn_inspectiondefinitionid
RequiredLevel SystemRequired
Type Uniqueidentifier

msdyn_IsDefault

Property Value
Description Depicts whether the record is the default version for the inspection template.
DisplayName Is Default
IsValidForForm True
IsValidForRead True
LogicalName msdyn_isdefault
RequiredLevel None
Type Boolean
GlobalChoiceName msdyn_msdyn_inspectiondefinition_msdyn_isdefault
DefaultValue False
True Label Yes
False Label No

msdyn_IsProcessed

Property Value
Description Depicts whether the record is processed.
DisplayName Is Processed
IsValidForForm True
IsValidForRead True
LogicalName msdyn_isprocessed
RequiredLevel None
Type Boolean
GlobalChoiceName msdyn_msdyn_inspectiondefinition_msdyn_isprocessed
DefaultValue False
True Label Yes
False Label No

msdyn_IsRequiredToAnswer

Property Value
Description Depicts whether the record has required question at the time of creation of inspection template.
DisplayName Has Required Question
IsValidForForm True
IsValidForRead True
LogicalName msdyn_isrequiredtoanswer
RequiredLevel None
Type Boolean
GlobalChoiceName msdyn_msdyn_inspectiondefinition_msdyn_isrequiredtoanswer
DefaultValue False
True Label Yes
False Label No

msdyn_JsonContent

Property Value
Description Inspection definition Json
DisplayName JsonContent
IsValidForForm True
IsValidForRead True
LogicalName msdyn_jsoncontent
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 1048576

msdyn_name

Property Value
Description The name of the Inspection Definition entity.
DisplayName Name
IsValidForForm True
IsValidForRead True
LogicalName msdyn_name
RequiredLevel ApplicationRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

msdyn_ParentInspectionId

Property Value
Description Unique identifier for Inspection Template associated with InspectionDefinition.
DisplayName Inspection Template
IsValidForForm True
IsValidForRead True
LogicalName msdyn_parentinspectionid
RequiredLevel None
Type Lookup
Targets msdyn_inspection

msdyn_state

Property Value
Description Status of the inspection definition
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName msdyn_state
RequiredLevel ApplicationRequired
Type Picklist
DefaultFormValue 0
GlobalChoiceName msdyn_inspectiondefinition_msdyn_state

msdyn_state Choices/Options

Value Label
0 Draft
1 Published

msdyn_Version

Property Value
Description Version of the Inspection Template
DisplayName Version
IsValidForForm True
IsValidForRead True
LogicalName msdyn_version
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OverriddenCreatedOn

Property Value
Description Date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

OwnerId

Property Value
Description Owner Id
DisplayName Owner
IsValidForForm True
IsValidForRead True
LogicalName ownerid
RequiredLevel SystemRequired
Type Owner
Targets systemuser, team

OwnerIdType

Property Value
Description Owner Id Type
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

statecode

Property Value
Description Status of the InspectionDefinition
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName msdyn_inspectiondefinition_statecode

statecode Choices/Options

Value Details
0 Label: Active
DefaultStatus: 1
InvariantName: Active
1 Label: Inactive
DefaultStatus: 2
InvariantName: Inactive

statuscode

Property Value
Description Reason for the status of the InspectionDefinition
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName msdyn_inspectiondefinition_statuscode

statuscode Choices/Options

Value Details
1 Label: Active
State:0
TransitionData: None
2 Label: Inactive
State:1
TransitionData: None

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Date and time when the record was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the record.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedBy

Property Value
Description Unique identifier of the user who modified the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Date and time when the record was modified.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who modified the record.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OwnerIdName

Property Value
Description Name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridname
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwnerIdYomiName

Property Value
Description Yomi name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwningBusinessUnit

Property Value
Description Unique identifier for the business unit that owns the record
DisplayName Owning Business Unit
IsValidForForm True
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel None
Type Lookup
Targets businessunit

OwningTeam

Property Value
Description Unique identifier for the team that owns the record.
DisplayName Owning Team
IsValidForForm False
IsValidForRead True
LogicalName owningteam
RequiredLevel None
Type Lookup
Targets team

OwningUser

Property Value
Description Unique identifier for the user that owns the record.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel None
Type Lookup
Targets systemuser

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

msdyn_msdyn_inspection_msdyn_inspectiondefinition

One-To-Many Relationship: msdyn_inspection msdyn_msdyn_inspection_msdyn_inspectiondefinition

Property Value
ReferencedEntity msdyn_inspection
ReferencedAttribute msdyn_inspectionid
ReferencingAttribute msdyn_parentinspectionid
ReferencingEntityNavigationPropertyName msdyn_ParentInspectionId
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: Cascade
Unshare: Cascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

msdyn_msdyn_inspectiondefinition_msdyn_inspectioninstance

Many-To-One Relationship: msdyn_inspectioninstance msdyn_msdyn_inspectiondefinition_msdyn_inspectioninstance

Property Value
ReferencingEntity msdyn_inspectioninstance
ReferencingAttribute msdyn_inspectiontemplateversionid
ReferencedEntityNavigationPropertyName msdyn_msdyn_inspectiondefinition_msdyn_inspectioninstance
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_inspectiondefinition_msdyn_inspectionresponse_InspectionDefinition

Many-To-One Relationship: msdyn_inspectionresponse msdyn_msdyn_inspectiondefinition_msdyn_inspectionresponse_InspectionDefinition

Property Value
ReferencingEntity msdyn_inspectionresponse
ReferencingAttribute msdyn_inspectiondefinition
ReferencedEntityNavigationPropertyName msdyn_msdyn_inspectiondefinition_msdyn_inspectionresponse_InspectionDefinition
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_inspectiondefinition_msdyn_workorderservicetask_inspectiondefinitionid

Many-To-One Relationship: msdyn_workorderservicetask msdyn_msdyn_inspectiondefinition_msdyn_workorderservicetask_inspectiondefinitionid

Property Value
ReferencingEntity msdyn_workorderservicetask
ReferencingAttribute msdyn_inspectiondefinitionid
ReferencedEntityNavigationPropertyName msdyn_msdyn_inspectiondefinition_msdyn_workorderservicetask_inspectiondefinitionid
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference