Table

DirPartyLocation

Party location relationships

Links a party in the global address book to a location. The key is party plus location. Each link has flags for owner, primary, private and postal address, plus roles such as business, delivery, home and invoice.

Table name
DirPartyLocation
Module
Global address book
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
DirPartyLocation_AK1
Key fields
Party, Location
Model
Directory

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PartyPoints to the party in the global address book. Part of the key.Int64
DirPartyRecId
YesDirPartyTable.RecIdDirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 16 more
LocationPoints to the location. Part of the key.Int64
LogisticsLocationRecId
YesLogisticsLocation.RecIdDirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 9 more
AssignmentDateDate and time when the location was assigned to the party.UtcDateTime
DirAssignmentDateTime
NoPayrollWorkerAddressCurrentEntityDirPartyLocationCDREntityDirPartyLocationPostalAddressV2Entityand 1 more
AttentionToAddressLineAttention line shown on the address, such as a person's name.String (255)
LogisticsAttentionToAddressLine
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more
IsLocationOwnerYes/no flag that shows whether the party owns the location.Enum
DirPartyIsLocationOwner
NoYes (enum)
NoDirPartyPostalAddressLocationCDSEntityDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2Entityand 12 more
IsPostalAddressYes/no flag that shows whether the location is a postal address.Enum
LogisticsLocationIsPostal
NoYes (enum)
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 9 more
IsPrimaryYes/no flag that marks the primary address.Enum
LogisticsIsPrimaryAddress
NoYes (enum)
NoDirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 14 more
IsPrimaryTaxRegistrationYes/no flag that marks the primary address for the country or region, used for tax registration.Enum
LogisticsIsPrimaryTaxRegistrationAddress
NoYes (enum)
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more
IsPrivateYes/no flag that marks the link as private.Enum
LogisticsIsPrivate
NoYes (enum)
NoDirPartyPostalAddressLocationCDSEntityDirPartyLocationCDREntityCustPostalAddressV2Entityand 15 more
IsRoleBusinessYes/no flag for the business role of the address.Enum
NoYesId
NoYes (enum)
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more
IsRoleDeliveryYes/no flag for the delivery role of the address.Enum
NoYesId
NoYes (enum)
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more
IsRoleHomeYes/no flag for the home role of the address.Enum
NoYesId
NoYes (enum)
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more
IsRoleInvoiceYes/no flag for the invoice role of the address.Enum
NoYesId
NoYes (enum)
NoDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 9 more
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoDirPartyLocationCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostalAddressRolesText listing the purposes of the postal address.String (1000)
DirPartyAddressLocationRoleNames
NoDirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 41 more
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoDirPartyLocationCDREntityCustCustomerV3EntityDirPartyLocationPostalAddressV2Entityand 1 more
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
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 (4)

Relations (2)

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

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many DirPartyLocation records → exactly one DirPartyTable record

  • LogisticsLocation_FK → LogisticsLocation

    Join on Location = LogisticsLocation.RecId

    Many DirPartyLocation records → exactly one LogisticsLocation record

Get this data out

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

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

Email sales@drdynamics.co.uk