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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PartyPoints to the party in the global address book. Part of the key. | Int64DirPartyRecId | Yes | DirPartyTable.RecId | DirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 16 more |
LocationPoints to the location. Part of the key. | Int64LogisticsLocationRecId | Yes | LogisticsLocation.RecId | DirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 9 more |
AssignmentDateDate and time when the location was assigned to the party. | UtcDateTimeDirAssignmentDateTime | No | PayrollWorkerAddressCurrentEntityDirPartyLocationCDREntityDirPartyLocationPostalAddressV2Entityand 1 more | |
AttentionToAddressLineAttention line shown on the address, such as a person's name. | String (255)LogisticsAttentionToAddressLine | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more | |
IsLocationOwnerYes/no flag that shows whether the party owns the location. | EnumDirPartyIsLocationOwnerNoYes (enum) | No | DirPartyPostalAddressLocationCDSEntityDirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2Entityand 12 more | |
IsPostalAddressYes/no flag that shows whether the location is a postal address. | EnumLogisticsLocationIsPostalNoYes (enum) | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 9 more | |
IsPrimaryYes/no flag that marks the primary address. | EnumLogisticsIsPrimaryAddressNoYes (enum) | No | DirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 14 more | |
IsPrimaryTaxRegistrationYes/no flag that marks the primary address for the country or region, used for tax registration. | EnumLogisticsIsPrimaryTaxRegistrationAddressNoYes (enum) | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more | |
IsPrivateYes/no flag that marks the link as private. | EnumLogisticsIsPrivateNoYes (enum) | No | DirPartyPostalAddressLocationCDSEntityDirPartyLocationCDREntityCustPostalAddressV2Entityand 15 more | |
IsRoleBusinessYes/no flag for the business role of the address. | EnumNoYesIdNoYes (enum) | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more | |
IsRoleDeliveryYes/no flag for the delivery role of the address. | EnumNoYesIdNoYes (enum) | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more | |
IsRoleHomeYes/no flag for the home role of the address. | EnumNoYesIdNoYes (enum) | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 11 more | |
IsRoleInvoiceYes/no flag for the invoice role of the address. | EnumNoYesIdNoYes (enum) | No | DirPartyLocationCDREntityDirPartyLocationPostalAddressSalesTaxGroupV2EntityDirPartyLocationPostalAddressV2Entityand 9 more | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | DirPartyLocationCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostalAddressRolesText listing the purposes of the postal address. | String (1000)DirPartyAddressLocationRoleNames | No | DirPartyPostalAddressLocationCDSEntityHcmPersonAddressEntityDirPartyLocationCDREntityand 41 more | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | DirPartyLocationCDREntityCustCustomerV3EntityDirPartyLocationPostalAddressV2Entityand 1 more | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
Relations (2)
Each relation joins DirPartyLocation to another table on the fields shown.
DirPartyTable_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany DirPartyLocation records → exactly one DirPartyTable record
LogisticsLocation_FK→LogisticsLocationJoin on
Location = LogisticsLocation.RecIdMany 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.
DirPartyPostalAddressLocationCDSEntity· 6 fields from this tableHcmPersonAddressEntity· 4 fields from this tablePayrollWorkerAddressCurrentEntity· 1 field from this tableDirPartyLocationCDREntity· 16 fields from this tableCustCustomerV3Entity· 2 fields from this tableDirPartyContactV3Entity· 2 fields from this tableHcmWorkerContactV3Entity· 2 fields from this tableRetailVendVendorV3Entity· 1 field from this tableCustCustomerV2Entity· 1 field from this tableCustPostalAddressV2Entity· 3 fields from this tableDirPartyContactV2Entity· 2 fields from this tableDirPartyLocationPostalAddressSalesTaxGroupV2Entity· 12 fields from this tableDirPartyLocationPostalAddressV2Entity· 14 fields from this tableHcmContractorV2Entity· 1 field from this tableHcmEmployeeV2Entity· 1 field from this tableHcmWorkerContactV2Entity· 2 fields from this tableHcmWorkerPostalAddressV2Entity· 11 fields from this tableOMDepartmentV2Entity· 1 field from this tablesmmContactPersonCDSV2Entity· 1 field from this tablesmmContactPersonV2Entity· 1 field from this tableVendVendorV2Entity· 1 field from this tableCustCustomerBaseEntity· 1 field from this tableCustCustomerEntity· 1 field from this tableCustElectronicAddressEntity· 2 fields from this tableCustomerPostalAddressEntity· 11 fields from this tableDirPartyContactEntity· 2 fields from this tableDirPartyLocationPostalAddressEntity· 11 fields from this tableDirPartyLocationRoleEntity· 2 fields from this tableDirPersonEntity· 1 field from this tableEFDocTechResponsibleInformationEntity· 0 fields from this tableFiscalEstablishmentEntity· 2 fields from this tableHcmApplicantEntity· 1 field from this tableHcmContractorEntity· 1 field from this tableHcmEmployeeEntity· 1 field from this tableHcmWorkerEntity· 1 field from this tableHcmWorkerPostalAddressDualWriteEntity· 12 fields from this tableHcmWorkerPostalAddressEntity· 10 fields from this tableLogisticsPostalAddressInactiveEntity· 1 field from this tableLvOtherClientsEntity· 1 field from this tableOMBusinessUnitEntity· 1 field from this tableOMCostCenterEntity· 1 field from this tableOMDepartmentEntity· 1 field from this tableOMLegalEntity· 1 field from this tableOMOperatingUnitEntity· 1 field from this tablePayrollWorkerAddressEntity· 1 field from this tablesmmContactPersonCDSEntity· 1 field from this tablesmmProspectEntity· 1 field from this tableTaxRegistrationLegislativeEntity· 1 field from this tableTaxServiceTaxRegistrationNumberCustomerEntity· 0 fields from this tableTaxServiceTaxRegistrationNumberVendorEntity· 0 fields from this tableVendVendorEntity· 1 field from this tableVendVendorPostalAddressEntity· 11 fields from this tableWHSInventoryOwnerEntity· 1 field from this tableVendProspectiveVendorRegistrationContactPersonPostalAddressEntity· 9 fields from this tableVendProspectiveVendorRegistrationVendorPostalAddressEntity· 9 fields from this tableHrEssWorkerContactsCopilotEntity· 0 fields from this tableVRMGlobalVendorEntity· 1 field from this tableVRMPartyContactEntity· 2 fields from this tableVRMPartyLocationPostalAddressChangeHistoryEntity· 13 fields from this tableVRMPartyLocationPostalAddressEntity· 13 fields from this tableVRMPersonEntity· 1 field from this tableVRMVendorEntity· 1 field from this tableHrEssWorkerPostalAddressCopilotEntity· 11 fields from this table
Need help with DirPartyLocation in a report, an integration or a migration? Talk to Dr Dynamics.