Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Where can I find e-mail addresses and corresponding customer account data in AOT

Posted on by 90

Hey,

I am needing to pull customer emails from a select group customer accounts.

Rather than open every customer account (Sales & Marketing/Common/Customers/All customers) & extract the information within the "contact information" section.

Is there a table in AOT which will have the email address(s) and the corresponding customer account it relates to. 

 Thanks in advance

Mel

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: Where can I find e-mail addresses and corresponding customer account data in AOT

    No problem. You welcome Melissa.

  • Mel Walker Profile Picture
    Mel Walker 90 on at
    RE: Where can I find e-mail addresses and corresponding customer account data in AOT

    Thank you so much Baber! this is perfect !

  • Verified answer
    syed baber Profile Picture
    syed baber 11,627 on at
    RE: Where can I find e-mail addresses and corresponding customer account data in AOT

    Hi Melissa,

    There is a View DirPartyContactInfoView which has the contact information against each party record. The Locator column in this view holds Telephone numbers, emails etc and Type column has the type of contact e.g Phone, email address etc. Open this view in AOT and you will get an idea. The Party column in this view corresponds to CustTable.Party field if you want to look for any customer, filter this view with Party Id from CustTable and you will see the corresponding record.

    Further, there is a class through which you can retrieve postal and electronic address against any party record. The class is DirParty. Have a look at this class if you want to retrieve electronic addresses using X++ code.

    In addition to this, you can download the white paper for Address book framework in which all the Tables relationships is being explained in quite with sample code. The link is below:

    technet.microsoft.com/.../hh272867.aspx

    Please let me know if you have further queries.

    Thanks,

    Baber.

  • Suggested answer
    Fredrik Sætre Profile Picture
    Fredrik Sætre 12,644 on at
    RE: Where can I find e-mail addresses and corresponding customer account data in AOT

    You could do a filter and export to excel...

    The AOT is a couple of tables. Not in front of computer, but to connect CustGroup to E-mails I believe that you need to go through 3-4 tables...

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans