Data entity
DirPartyLocationRoleEntity
Links a party's location to a location role. Each row ties together a party number, a location ID and a role name, which together form the key. It covers parties of all kinds, such as people, organizations and legal entities.
- Entity name
DirPartyLocationRoleEntity- Public entity name
PartyLocationRole- OData collection
PartyLocationRoles- Category
Not set- Module
GAB- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
DirPartyTable_FK_PartyNumber, LogisticsLocation_FK_LocationId, LogisticsLocationRole_FK_Name- Staging table
DirPartyLocationRoleStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PartyLocationRoles- Dataverse virtual table
mserp_dirpartylocationroleentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
DirPartyLocationRole· rootDirPartyLocation_FK(tableDirPartyLocation) · InnerJoin toDirPartyLocationRole· read-onlyDirPartyTable_FK(tableDirPartyTable) · InnerJoin toDirPartyLocation_FK· read-onlyDirOrganizationBase· Derived toDirPartyTable_FKDirOrganization· Derived toDirOrganizationBaseOMInternalOrganization· Derived toDirOrganizationBaseOMTeam· Derived toOMInternalOrganizationCompanyInfo· Derived toOMInternalOrganizationOMOperatingUnit· Derived toOMInternalOrganizationDirPerson· Derived toDirPartyTable_FKLogisticsLocation_FK(tableLogisticsLocation) · InnerJoin toDirPartyLocation_FK· read-onlyLogisticsLocationRole_FK(tableLogisticsLocationRole) · InnerJoin toDirPartyLocationRole· read-only
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LocationRoleThe location role assigned, pointing to a record in LogisticsLocationRole. | Int64LogisticsLocationRoleRecId | Yes | No (private) | LogisticsLocationRole.RecId | DirPartyLocationRole.LocationRole |
PartyLocationThe party location relationship that receives the role, pointing to a record in DirPartyLocation. | Int64DirPartyLocationRecId | Yes | No (private) | DirPartyLocation.RecId | DirPartyLocationRole.PartyLocation |
SkipUpdateLocationRolesYes/No flag. Its purpose is not clear from the metadata.low confidence | Enum
| No | Yes | DirPartyLocationRole.SkipUpdateLocationRoles | |
DirPartyLocation_FK_LocationPoints to the location. Part of the key. | Int64LogisticsLocationRecId | Yes | No (private) | LogisticsLocation.RecId | DirPartyLocation.Location |
DirPartyLocation_FK_PartyPoints to the party in the global address book. Part of the key. | Int64DirPartyRecId | Yes | No (private) | DirPartyTable.RecId | DirPartyLocation.Party |
DirPartyTable_FK_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
LogisticsLocation_FK_LocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | Yes | Yes | LogisticsLocation.LocationId | |
LogisticsLocationRole_FK_NameThe name of the role. It is the key of the table. | String (40)LogisticsLocationRoleName | Yes | Yes | LogisticsLocationRole.Name |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
LocationRole→LogisticsLocationRole.RecId(key of LogisticsLocationRole)Many DirPartyLocationRole records → exactly one LogisticsLocationRole record
LogisticsLocationRole details: see LogisticsLocationRoleEntity, LogisticsLocationRoleCDSEntity, LogisticsElectronicAddressRoleEntity
PartyLocation→DirPartyLocation.RecId(key of DirPartyLocation)Many DirPartyLocationRole records → exactly one DirPartyLocation record
DirPartyLocation details: see DirPartyLocationPostalAddressV2Entity, HcmWorkerPostalAddressDualWriteEntity, CustCustomerV3Entity
DirPartyLocation_FK_Location→LogisticsLocation.RecId(key of LogisticsLocation)Many DirPartyLocation records → exactly one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
DirPartyLocation_FK_Party→DirPartyTable.RecId(key of DirPartyTable)Many DirPartyLocation records → exactly one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
Need help with DirPartyLocationRoleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.