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.