Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

*This post is locked for comments

  • 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...

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=This+is++++tdet+r+o+ios+emng+into+play.+Don%E2%80%99t+rush+and+wait+for+the+connection+to+happen+on+its+own.+If+you+are+in+a+relationship%2C+do+not+be+quick+to+respond+whenever+there+is+conflict.+But+do+not+argue%3B+rather%2C+speak+calmly+and+share+your+concerns+with+eloquence.+You+will+find+a+sense+of+peace+that+can+only+improve+relationships+when+you+ground+yourself" - Nested quantifier +.