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 :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 92

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

*This post is locked for comments

I have the same question (0)
  • syed baber Profile Picture
    11,633 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
    92 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
    11,633 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
    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...

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans