Table

DirPartyTable

Global address book

The global address book. It holds one record for each party, such as a person or organization, keyed by party ID. Each record has the name, search name, language and links to the primary address and contact details.

Table name
DirPartyTable
Module
Global address book
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
PartyNumberIdx
Key fields
PartyNumber
Model
Directory

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 311 more
AddressBookNamesText listing the address books that the party is in.String (1000)
DirAddressBookNames
NoDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 27 more
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoDirPartyTableCDREntityDirOrganizationBaseCDREntityDirOrganizationCDREntityand 1 more
InstanceRelationTypeNumeric type of the party, such as person or organization.Int64
RelationType
NoDirPartyTableBiEntityDirPartyTableCDREntityCustFoundationEntity
KnownAsAlternative name the party is known by.String (160)
DirPartyName
NoDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 33 more
LanguageIdPoints to the language of the party.String (7)
LanguageId
NoLanguageTable.LanguageIdDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 41 more
LegacyInstanceRelationTypeEarlier numeric party type value kept for older data.low confidenceInt64
RelationType
NoDirPartyTableCDREntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoDirPartyTableCDREntityDirOrganizationBaseCDREntityDirOrganizationCDREntityand 1 more
NameFull name of the party.String (160)
DirPartyName
YesDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 174 more
NameAliasShort search name for finding the party (up to 20 characters).String (20)
NameAlias
NoDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 41 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrimaryAddressLocationPoints to the primary address location of the party.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdDirPartyTableBiEntityDirPartyTableCDREntityHcmContractorV2Entityand 11 more
PrimaryContactEmailPoints to the primary email address of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactFacebookPoints to the Facebook contact detail of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactFaxPoints to the primary fax number of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactLinkedInPoints to the LinkedIn contact detail of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactPhonePoints to the primary phone number of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactTelexPoints to the primary telex number of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactTwitterPoints to the Twitter contact detail of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 more
PrimaryContactURLPoints to the primary web address of the party.Int64
LogisticsElectronicAddressRecId
NoLogisticsElectronicAddress.RecIdDirPartyTableBiEntityDirPartyTableCDREntityCompanyInfoCDREntityand 3 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
NoDirPartyTableBiEntityDirPartyTableCDREntityCustCustomerV3Entityand 4 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 (14)

Relations (11)

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

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many DirPartyTable records → zero or one LanguageTable record

  • LogisticsElectronicAddress_Email → LogisticsElectronicAddress

    Join on PrimaryContactEmail = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_Fax → LogisticsElectronicAddress

    Join on PrimaryContactFax = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_Phone → LogisticsElectronicAddress

    Join on PrimaryContactPhone = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_Telex → LogisticsElectronicAddress

    Join on PrimaryContactTelex = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_URL → LogisticsElectronicAddress

    Join on PrimaryContactURL = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_Facebook → LogisticsElectronicAddress

    Join on PrimaryContactFacebook = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_Twitter → LogisticsElectronicAddress

    Join on PrimaryContactTwitter = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsElectronicAddress_LinkedIn → LogisticsElectronicAddress

    Join on PrimaryContactLinkedIn = LogisticsElectronicAddress.RecId

    Zero or one DirPartyTable record → zero or one LogisticsElectronicAddress record

  • LogisticsLocation_PrimaryAddress → LogisticsLocation

    Join on PrimaryAddressLocation = LogisticsLocation.RecId

    Many DirPartyTable records → zero or one LogisticsLocation record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on PrimaryAddressLocation = LogisticsPostalAddress.Location

    Exactly one DirPartyTable record → zero or one LogisticsPostalAddress record

Get this data out

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

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

Email sales@drdynamics.co.uk