Table

DirPartyLocationRole

Party location and role relationships

Links a party location relationship to a location role. Each record is identified by the pair of party location and location role. It lets one party location have several roles.

Table name
DirPartyLocationRole
Module
Global address book
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
DirPartyLocationRoleIdx
Key fields
PartyLocation, LocationRole
Model
Directory

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PartyLocationThe party location relationship that receives the role, pointing to a record in DirPartyLocation.Int64
DirPartyLocationRecId
YesDirPartyLocation.RecIdDirPartyLocationRoleEntityDirPartyLocationRoleCDREntity
LocationRoleThe location role assigned, pointing to a record in LogisticsLocationRole.Int64
LogisticsLocationRoleRecId
YesLogisticsLocationRole.RecIdDirPartyLocationRoleEntityDirPartyLocationRoleCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoDirPartyLocationRoleCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SkipUpdateLocationRolesYes/No flag. Its purpose is not clear from the metadata.low confidenceEnum
NoYes (enum)
NoDirPartyLocationRoleEntityDirPartyLocationRoleCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

Each relation joins DirPartyLocationRole to another table on the fields shown.

  • DirPartyLocation_FK → DirPartyLocation

    Join on PartyLocation = DirPartyLocation.RecId

    Many DirPartyLocationRole records → exactly one DirPartyLocation record

  • LogisticsLocationRole_FK → LogisticsLocationRole

    Join on LocationRole = LogisticsLocationRole.RecId

    Many DirPartyLocationRole records → exactly one LogisticsLocationRole record

Get this data out

Tables are not exposed directly. These public entities read from DirPartyLocationRole; use one of them in Power BI, Power Platform or a data management project.

Need help with DirPartyLocationRole in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk