Data entity
CustPostalAddressV2Entity
A second version of the customer postal address entity. It starts from the customer record and holds street, city, country, ZIP code, validity dates and purpose. It also has Brazil tax IDs (IE, CNPJ/CPF). The key is the customer account and the location ID.
- Entity name
CustPostalAddressV2Entity- Public entity name
CustomerPostalAddressV2- OData collection
CustomerPostalAddressesV2- Category
Not set- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasic- Keys
CustomerAccount, AddressLocationId- Staging table
CustPostalAddressV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CustomerPostalAddressesV2- Dataverse virtual table
mserp_custpostaladdressv2entity. 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
CustTable· root · read-onlyDirPartyTable· InnerJoin toCustTable· read-onlyDirPartyLocation· InnerJoin toDirPartyTableLogisticsLocation· InnerJoin toDirPartyLocationLogisticsPostalAddressCurrent· InnerJoin toLogisticsLocation· read-onlyLogisticsPostalAddress· InnerJoin toLogisticsPostalAddressCurrentLogisticsAddressCountryRegion· OuterJoin toLogisticsPostalAddress· read-onlyLogisticsAddressCountryRegTranslFiltered· OuterJoin toLogisticsPostalAddress· read-onlyLogisticsLocationExt· OuterJoin toLogisticsLocationDirPartyTable_DirOrganizationBase(tableDirOrganizationBase) · Derived toDirPartyTableDirPartyTable_DirOrganization(tableDirOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMInternalOrganization(tableOMInternalOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMTeam(tableOMTeam) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_CompanyInfo(tableCompanyInfo) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_OMOperatingUnit(tableOMOperatingUnit) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_DirPerson(tableDirPerson) · Derived toDirPartyTable
Fields (33)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustomerAccountUnique customer account number. It identifies the customer record and is the table key. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | |
AddressBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
AddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
AddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
AddressCountryRegionISOCodeTwo-letter ISO code. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | LogisticsAddressCountryRegion.ISOcode | |
AddressCountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
AddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
AddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
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 | |
AddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
AddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
AddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
AddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
AddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
AddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
AddressDescriptionName or description of the location. | String (60)LogisticsDescription | Yes | Yes | LogisticsLocation.Description | |
LocationRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsLocation.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 | |
PartyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | DirPartyTable.RecId | |
AddressLocationRolesText listing the purposes of the postal address. | String (1000)DirPartyAddressLocationRoleNames | No | Yes | DirPartyLocation.PostalAddressRoles | |
NewLocationIDYes or no flag linked to the location ID. Its exact meaning is not given in the metadata.low confidence | EnumNoYesId
| No | Yes | virtual | |
MaintainLocationIdYes or no flag linked to the location ID. Its exact meaning is not given in the metadata.low confidence | EnumNoYesId
| No | Yes | virtual | |
PrivateForPartyThe party in the global address book for whom a private address is kept. | Int64DirPartyPrivateLocationRecId | No | Yes | DirPartyTable.RecId | LogisticsPostalAddress.PrivateForParty |
AddressLocationExistYes or no flag showing whether the address location already exists.low confidence | EnumNoYesId
| No | Yes | virtual | |
FormattedDeliveryAddressThe delivery address written out as one formatted text. | String (250) | No | Yes | computed | |
AddressBrazilianIEState registration number (IE) for the location; used for Brazil. | String (20)IENum_BR | No | Yes | LogisticsLocationExt.IENum_BR | |
AddressBrazilianCNPJOrCPFBrazilian CNPJ or CPF tax number for the location; used for Brazil. | String (20)CNPJCPFNum_BR | No | Yes | LogisticsLocationExt.CNPJCPFNum_BR | |
IsPrimaryYes/no flag that marks the primary address. | EnumLogisticsIsPrimaryAddress
| No | Yes | DirPartyLocation.IsPrimary | |
IsSimplifiedAddressShows whether a shorter address format is used (Yes or No); used for Russia. | EnumIsSimplifiedAddress_RU
| No | Yes | LogisticsPostalAddress.IsSimplifiedAddress_RU | |
IsPrivateYes/no flag that marks the link as private. | EnumLogisticsIsPrivate
| No | Yes | DirPartyLocation.IsPrivate |
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.
AddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
AddressCounty→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
AddressCounty=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
PrivateForParty→DirPartyTable.RecId(key of DirPartyTable)Many LogisticsPostalAddress records → zero or one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
Need help with CustPostalAddressV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.