Data entity
DirPartyLocationPostalAddressV2Entity
Holds postal addresses linked to parties in the global address book. Each row combines the address details with the party's link to that location, including purposes such as business, delivery, home and invoice. It is keyed by party number, location ID and valid-from date. It is the second version of the party postal addresses entity.
- Entity name
DirPartyLocationPostalAddressV2Entity- Public entity name
PartyLocationPostalAddressV2- OData collection
PartyLocationPostalAddressesV2- Category
Not set- Module
GAB- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
PartyNumber, LocationId, ValidFrom- Staging table
DirPartyLocationPostalAddressV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PartyLocationPostalAddressesV2- Dataverse virtual table
mserp_dirpartylocationpostaladdressv2entity. 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
LogisticsPostalAddressBaseEntity· rootDirPartyLocation· InnerJoin toLogisticsPostalAddressBaseEntityDirPartyTable· InnerJoin toDirPartyLocation· read-onlyDirPartyTable_DirPerson(tableDirPerson) · Derived toDirPartyTableDirPartyTable_DirOrganizationBase(tableDirOrganizationBase) · Derived toDirPartyTableDirPartyTable_DirOrganization(tableDirOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMInternalOrganization(tableOMInternalOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMTeam(tableOMTeam) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_OMOperatingUnit(tableOMOperatingUnit) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_CompanyInfo(tableCompanyInfo) · Derived toDirPartyTable_OMInternalOrganization
Fields (44)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AttentionToAddressLineAttention line shown on the address, such as a person's name. | String (255)LogisticsAttentionToAddressLine | No | Yes | DirPartyLocation.AttentionToAddressLine | |
IsLocationOwnerYes/no flag that shows whether the party owns the location. | EnumDirPartyIsLocationOwner
| No | Yes | DirPartyLocation.IsLocationOwner | |
IsPostalAddressYes/no flag that shows whether the location is a postal address. | EnumLogisticsLocationIsPostal
| No | No (private) | DirPartyLocation.IsPostalAddress | |
IsPrimaryYes/no flag that marks the primary address. | EnumLogisticsIsPrimaryAddress
| No | Yes | DirPartyLocation.IsPrimary | |
IsPrimaryTaxRegistrationYes/no flag that marks the primary address for the country or region, used for tax registration. | EnumLogisticsIsPrimaryTaxRegistrationAddress
| No | Yes | DirPartyLocation.IsPrimaryTaxRegistration | |
IsPrivateYes/no flag that marks the link as private. | EnumLogisticsIsPrivate
| No | Yes | DirPartyLocation.IsPrivate | |
IsRoleBusinessYes/no flag for the business role of the address. | EnumNoYesId
| No | Yes | DirPartyLocation.IsRoleBusiness | |
IsRoleDeliveryYes/no flag for the delivery role of the address. | EnumNoYesId
| No | Yes | DirPartyLocation.IsRoleDelivery | |
IsRoleHomeYes/no flag for the home role of the address. | EnumNoYesId
| No | Yes | DirPartyLocation.IsRoleHome | |
IsRoleInvoiceYes/no flag for the invoice role of the address. | EnumNoYesId
| No | Yes | DirPartyLocation.IsRoleInvoice | |
LocationA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsLocation.RecId | |
PartyPoints to the party in the global address book. Part of the key. | Int64DirPartyRecId | Yes | No (private) | DirPartyTable.RecId | DirPartyLocation.Party |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
AddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
Apartment_RUApartment number in the address; used for Russia. | StringLogisticsAddressApartment_RU | No | Yes | LogisticsPostalAddress.Apartment_RU | |
Building_RUBuilding number or name in the address; used for Russia. | StringLogisticsAddressBuilding_RU | No | Yes | LogisticsPostalAddress.Building_RU | |
BuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
CityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
CityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
CountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
CountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
CountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
DescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
DistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
DunsNumberThe DUNS number, up to nine characters long. It is the key of the table. | String (9)LogisticsDunsNumber | No | Yes | DirDunsNumber.DunsNumber | |
IsPrivatePostalAddressShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.IsPrivate | |
LatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
LocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
LongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
PostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
StateState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
StreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
StreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
StreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
TimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
ValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
ValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
ZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
RolesText listing the purposes of the postal address. | String (1000)DirPartyAddressLocationRoleNames | No | Yes | DirPartyLocation.PostalAddressRoles | |
ResolveDuplicateAddressA yes/no switch about how a duplicate address is handled when data is imported. The metadata does not give the exact behaviour.low confidence | EnumNoYesId
| No | Yes | computed | |
AssignmentDateDate and time when the location was assigned to the party. | UtcDateTimeDirAssignmentDateTime | No | Yes | DirPartyLocation.AssignmentDate | |
PartyLocationRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DirPartyLocation.RecId | |
AddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsPostalAddress.RecId | |
FormattedDeliveryAddressDelivery address built as one text string.low confidence | String (250) | No | Yes | None |
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.
Party→DirPartyTable.RecId(key of DirPartyTable)Many DirPartyLocation records → exactly one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
County→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
County=LogisticsAddressCounty.CountyId,CountryRegionId=LogisticsAddressCounty.CountryRegionId,State=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
State→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
State=LogisticsAddressState.StateId,CountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with DirPartyLocationPostalAddressV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.