Data entity

CustomerPostalAddressEntity

Holds the postal addresses of customers. Each record has the usual address parts, such as street, city, state, country and ZIP code, plus the effective period and address roles. It also holds a formatted address. The key is the customer account, company, location ID and effective date.

Entity name
CustomerPostalAddressEntity
Public entity name
CustomerPostalAddress
OData collection
CustomerPostalAddresses
Category
Not set
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
CustomerAccountNumber, CustomerLegalEntityId, AddressLocationId, Effective
Staging table
CustomerPostalAddressStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CustomerPostalAddresses
Dataverse virtual table
mserp_customerpostaladdressentity. 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

  • DirPartyLocationPostalAddressV2Entity · root
  • DirPartyTable · InnerJoin to DirPartyLocationPostalAddressV2Entity · read-only
  • CustTable · InnerJoin to DirPartyTable · read-only
  • DirPartyTable_DirOrganizationBase (table DirOrganizationBase) · Derived to DirPartyTable
  • DirPartyTable_DirOrganization (table DirOrganization) · Derived to DirPartyTable_DirOrganizationBase
  • DirPartyTable_OMInternalOrganization (table OMInternalOrganization) · Derived to DirPartyTable_DirOrganizationBase
  • DirPartyTable_OMOperatingUnit (table OMOperatingUnit) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_OMTeam (table OMTeam) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_CompanyInfo (table CompanyInfo) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_DirPerson (table DirPerson) · Derived to DirPartyTable

Fields (39)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CustomerAccountNumberUnique customer account number. It identifies the customer record and is the table key.String (20)
CustAccount
YesYesCustTable.AccountNum
CustomerLegalEntityIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
YesYesCustTable.DataAreaId
FormattedAddressDelivery address built as one text string.low confidenceString (250)NoYesNone
AttentionToAddressLineAttention line shown on the address, such as a person's name.String (255)
LogisticsAttentionToAddressLine
NoYesDirPartyLocation.AttentionToAddressLine
BuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
AddressApartmentApartment number in the address; used for Russia.String
LogisticsAddressApartment_RU
NoYesLogisticsPostalAddress.Apartment_RU
AddressBuildingBuilding number or name in the address; used for Russia.String
LogisticsAddressBuilding_RU
NoYesLogisticsPostalAddress.Building_RU
AddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
AddressCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
AddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
AddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
AddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
AddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
AddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
AddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
AddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
AddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
AddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
AddressStateState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
AddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
AddressStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
AddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
AddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
AddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
AddressLocationRolesText listing the purposes of the postal address.String (1000)
DirPartyAddressLocationRoleNames
NoYesDirPartyLocation.PostalAddressRoles
DunsNumberThe DUNS number, up to nine characters long. It is the key of the table.String (9)
LogisticsDunsNumber
NoYesDirDunsNumber.DunsNumber
IsLocationOwnerYes/no flag that shows whether the party owns the location.Enum
DirPartyIsLocationOwner
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsLocationOwner
IsPostalAddressYes/no flag that shows whether the location is a postal address.Enum
LogisticsLocationIsPostal
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsPostalAddress
IsPrimaryYes/no flag that marks the primary address.Enum
LogisticsIsPrimaryAddress
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsPrimary
IsPrimaryTaxRegistrationYes/no flag that marks the primary address for the country or region, used for tax registration.Enum
LogisticsIsPrimaryTaxRegistrationAddress
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsPrimaryTaxRegistration
IsPrivateYes/no flag that marks the link as private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsPrivate
IsPrivatePostalAddressShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
IsRoleBusinessYes/no flag for the business role of the address.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsRoleBusiness
IsRoleDeliveryYes/no flag for the delivery role of the address.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsRoleDelivery
IsRoleHomeYes/no flag for the home role of the address.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsRoleHome
IsRoleInvoiceYes/no flag for the invoice role of the address.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesDirPartyLocation.IsRoleInvoice
EffectiveDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoYesLogisticsPostalAddress.ValidFrom
ExpirationDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoYesLogisticsPostalAddress.ValidTo
AddressDefaultRolesThe default roles or purposes assigned to the address.String (1000)
DMFLocationRole
NoYescomputed

Foreign keys (3)

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.

  • AddressCountryRegionId → LogisticsAddressCountryRegion.CountryRegionId (key of LogisticsAddressCountryRegion)

    Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record

    LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity

  • AddressCountyId → LogisticsAddressCounty.CountyId (key of LogisticsAddressCounty)

    Join on all of: AddressCountyId = LogisticsAddressCounty.CountyId, AddressCountryRegionId = LogisticsAddressCounty.CountryRegionId, AddressState = LogisticsAddressCounty.StateId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressCounty record

    LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity

  • AddressState → LogisticsAddressState.StateId (key of LogisticsAddressState)

    Join on all of: AddressState = LogisticsAddressState.StateId, AddressCountryRegionId = LogisticsAddressState.CountryRegionId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressState record

    LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity

Need help with CustomerPostalAddressEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk