web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to get te Email address relates to Address of a Customer ?

(1) ShareShare
ReportReport
Posted on by 35
I have a requirement where i want a Email address of a customer related to its Business Address. Is there any way to get that using SQL ? Or where can i find that on frontend ? 

Thanks in advance :)
Categories:
I have the same question (0)
  • Verified answer
    Abhilash Warrier Profile Picture
    4,892 Super User 2025 Season 2 on at
    How to get te Email address relates to Address of a Customer ?
    Hey,
     
    If you want to review individual Customer records, please follow the step advised by @Adis.
     
    If you want to export the details in bulk you can try using the Data Management framework and export the data for that particular data entity.
    I believe it should be Customer Postal Address , but please check further.
    CustomerPostalAddressEntity
    This entity includes:
    • Customer account number
    • Address details (street, city, ZIP/postal code, country, etc.)
    • Validity dates
    • Address purpose (delivery, invoice, etc.)
     
    If this helped, please mark it as "Verified" for others facing the same issue.
    Keep in mind that it is possible to mark more than one answer as verified.

     
  • Verified answer
    Adis Profile Picture
    5,502 Super User 2025 Season 2 on at
    How to get te Email address relates to Address of a Customer ?
    Hi,
     
    On the frontend you see it here:
     
     
     
     
    Its stored in this table, however, the 'Purpose' is not visible.
     
     
     
    From your previous question regarding this you can modify the sql statement by putting the purpose in the where line.
     
    '
    -Select distinct T1. locator, T2. AccountNum from dirPartyContactInfoView T1JOIN Custtable T2 ON T1.PARTY =T2.PARTY
    WHERE T1.Type = LogisticsElectronicAddressType = Email.. (Unable to recall enum value). 
    '
     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 878 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 681 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 496 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans