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· rootDirPartyTable· InnerJoin toDirPartyLocationPostalAddressV2Entity· read-onlyCustTable· InnerJoin toDirPartyTable· read-onlyDirPartyTable_DirOrganizationBase(tableDirOrganizationBase) · Derived toDirPartyTableDirPartyTable_DirOrganization(tableDirOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMInternalOrganization(tableOMInternalOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMOperatingUnit(tableOMOperatingUnit) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_OMTeam(tableOMTeam) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_CompanyInfo(tableCompanyInfo) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_DirPerson(tableDirPerson) · Derived toDirPartyTable
Fields (39)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustomerAccountNumberUnique customer account number. It identifies the customer record and is the table key. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | |
CustomerLegalEntityIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | Yes | Yes | CustTable.DataAreaId | |
FormattedAddressDelivery address built as one text string.low confidence | String (250) | No | Yes | None | |
AttentionToAddressLineAttention line shown on the address, such as a person's name. | String (255)LogisticsAttentionToAddressLine | No | Yes | DirPartyLocation.AttentionToAddressLine | |
BuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
AddressApartmentApartment number in the address; used for Russia. | StringLogisticsAddressApartment_RU | No | Yes | LogisticsPostalAddress.Apartment_RU | |
AddressBuildingBuilding number or name in the address; used for Russia. | StringLogisticsAddressBuilding_RU | No | Yes | LogisticsPostalAddress.Building_RU | |
AddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
AddressCityInKanaCity name written in Kana; used for Japan. | String (60)AssetCityKana_JP | No | Yes | LogisticsPostalAddress.CityKana_JP | |
AddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
AddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
AddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
AddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
AddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
AddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
AddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
AddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
AddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
AddressStateState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
AddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
AddressStreetInKanaStreet name written in Kana; used for Japan. | String (250)AssetStreetKana_JP | No | Yes | LogisticsPostalAddress.StreetKana_JP | |
AddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
AddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
AddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
AddressLocationRolesText listing the purposes of the postal address. | String (1000)DirPartyAddressLocationRoleNames | No | Yes | DirPartyLocation.PostalAddressRoles | |
DunsNumberThe DUNS number, up to nine characters long. It is the key of the table. | String (9)LogisticsDunsNumber | No | Yes | DirDunsNumber.DunsNumber | |
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 | Yes | 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 | |
IsPrivatePostalAddressShows whether the address is private (Yes or No). | EnumLogisticsIsPrivate
| No | Yes | LogisticsPostalAddress.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 | |
EffectiveDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
ExpirationDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
AddressDefaultRolesThe default roles or purposes assigned to the address. | String (1000)DMFLocationRole | No | Yes | computed |
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.StateIdMany 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.CountryRegionIdMany 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.