Owner Mapping (OwnerMapping) table/entity reference

In a data map, maps ownership data from the source file to Microsoft Dynamics 365.

Messages

The following table lists the messages for the Owner Mapping (OwnerMapping) 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
Create
Event: False
POST /ownermappings
See Create
Create records
Delete
Event: False
DELETE /ownermappings(ownermappingid)
See Delete
Delete records
Retrieve
Event: False
GET /ownermappings(ownermappingid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: False
GET /ownermappings
See Query data
Query data

Properties

The following table lists selected properties for the Owner Mapping (OwnerMapping) table.

Property Value
DisplayName Owner Mapping
DisplayCollectionName Owner Mappings
SchemaName OwnerMapping
CollectionSchemaName OwnerMappings
EntitySetName ownermappings
LogicalName ownermapping
LogicalCollectionName ownermappings
PrimaryIdAttribute ownermappingid
TableType Standard
OwnershipType None

Writable columns/attributes

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

ImportMapId

Property Value
Description Unique identifier of the data map with which the owner mapping is associated.
DisplayName Data Map
IsValidForForm True
IsValidForRead True
LogicalName importmapid
RequiredLevel ApplicationRequired
Type Lookup
Targets importmap

IntroducedVersion

Property Value
Description Version in which the component is introduced.
DisplayName Introduced Version
IsValidForForm False
IsValidForRead True
LogicalName introducedversion
RequiredLevel None
Type String
Format VersionNumber
FormatName VersionNumber
ImeMode Auto
IsLocalizable False
MaxLength 48

OwnerMappingId

Property Value
Description Unique identifier of the owner mapping.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName ownermappingid
RequiredLevel SystemRequired
Type Uniqueidentifier

ProcessCode

Property Value
Description Code that indicates whether the owner mapping has to be processed
DisplayName Process Code
IsValidForForm True
IsValidForRead True
LogicalName processcode
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName ownermapping_processcode

ProcessCode Choices/Options

Value Label
1 Process
2 Ignore
3 Internal

SourceSystemUserName

Property Value
Description Source user name that has to be replaced
DisplayName Source System User Name
IsValidForForm True
IsValidForRead True
LogicalName sourcesystemusername
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 160
Property Value
Description Source user value for source Microsoft Dynamics 365 user link.
DisplayName Source User Value
IsValidForForm False
IsValidForRead True
LogicalName sourceuservalueforsourcecrmuserlink
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 160

StatusCode

Property Value
Description Reason for the status of the owner mapping.
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel SystemRequired
Type Status
DefaultFormValue -1
GlobalChoiceName ownermapping_statuscode

StatusCode Choices/Options

Value Details
0 Label: Active
State:0
TransitionData: None

TargetSystemUserDomainName

Property Value
Description Microsoft Dynamics 365 logon name with which the source user name should be replaced.
DisplayName Target Domain Name
IsValidForForm True
IsValidForRead True
LogicalName targetsystemuserdomainname
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 260

TargetSystemUserId

Property Value
Description Unique identifier of the Microsoft Dynamics 365 user.
DisplayName Target System User
IsValidForForm True
IsValidForRead True
LogicalName targetsystemuserid
RequiredLevel None
Type Lookup
Targets businessunit
Property Value
Description Microsoft Dynamics CRM user.
DisplayName Target User Value
IsValidForForm False
IsValidForRead True
LogicalName targetuservalueforsourcecrmuserlink
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 160

Read-only columns/attributes

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

ComponentState

Property Value
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName componentstate

ComponentState Choices/Options

Value Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

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

CreatedOn

Property Value
Description Date and time when the owner mapping was created.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName createdon
RequiredLevel SystemRequired
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 ownermapping.
DisplayName Created By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

IsManaged

Property Value
Description Information that specifies whether this component is managed.
DisplayName State
IsValidForForm False
IsValidForRead True
LogicalName ismanaged
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName ismanaged
DefaultValue False
True Label Managed
False Label Unmanaged

ModifiedBy

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

ModifiedOn

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

ModifiedOnBehalfBy

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

OverwriteTime

Property Value
Description For internal use only.
DisplayName Record Overwrite Time
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

OwnerMappingIdUnique

Property Value
Description Unique identifier of the OwnerMapping.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName ownermappingidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

SolutionId

Property Value
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

StateCode

Property Value
Description Status of the owner mapping.
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue 0
GlobalChoiceName ownermapping_statecode

StateCode Choices/Options

Value Details
0 Label: Active
DefaultStatus: 0
InvariantName: Active

SupportingSolutionId

Property Value
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

Many-to-One relationships

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

lk_ownermapping_createdby

One-To-Many Relationship: systemuser lk_ownermapping_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_ownermapping_createdonbehalfby

One-To-Many Relationship: systemuser lk_ownermapping_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_ownermapping_modifiedby

One-To-Many Relationship: systemuser lk_ownermapping_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_ownermapping_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_ownermapping_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

OwnerMapping_ImportMap

One-To-Many Relationship: importmap OwnerMapping_ImportMap

Property Value
ReferencedEntity importmap
ReferencedAttribute importmapid
ReferencingAttribute importmapid
ReferencingEntityNavigationPropertyName importmapid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

OwnerMapping_SystemUser

One-To-Many Relationship: systemuser OwnerMapping_SystemUser

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute targetsystemuserid
ReferencingEntityNavigationPropertyName targetsystemuserid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

See also

Dataverse table/entity reference
Dataverse Web API Reference
ownermapping