Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

Posted on by 300

I have seen that email addresses along with telephone numbers are stored in dbo.LOGISTICSELECTRONICADDRESS. Customer emails can be accessed through relationships between DIRPARTYTABLE, DIRPARTYLOCATION, and LOGISTICSELECTRONICADDRESS.

Looking at these tables there doesn't appear to be any flag to determine a usage of these email addresses (e.g. Default, payroll). Is it possible to assign a flag such as this to an email address, and where would it be stored?

Many thanks

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    Hello richierich79

    Seems like you are on a old 2012 version.

    Currently I do not have this version on hand to verify.

    Judging from a later version.

    The Roles StringEdit control have Autodeclaration property set to "Yes".

    2018_2D00_09_2D00_20_5F00_1336.png

    The form has a specific handler class called "LogisticsEntityContactInfoFormHandler" under AOT\Classes.

    On the version I have, Roles is being populated under write method.

    2018_2D00_09_2D00_20_5F00_1336.png

    Hope this could provide you some starting points on figuring out where the role information is stored in this version.

    Thanks

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    Hi Uday

    So you know I'm a .Net dev learning Ax

    I've taken a look at the form in the AOT and taken a look at the Design. From what I can see it uses the extended datatype DirPartyContactLocationRoleNames but I can't see where it specifically gets the data from. Any pointers on where to find this would be greatly appreciated.

    contact2.PNG

  • udaY-ch Profile Picture
    udaY-ch 4,624 on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    Hi,

    Can you tell me, the location of the purpose field in your screen.  Field and table name

    Best,

    Uday.

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    I don't know if this is a version issue but I don't have a LogisticsElectronicAddressRole table in the database.

    My contact for looks like this...

    Logistics.PNG

    and here is a screenshot of my Logistics tables in SQL....

    Logistics.PNG

  • udaY-ch Profile Picture
    udaY-ch 4,624 on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    Hi,

    The relation is LogisticsElectronicAddress.RecId  = LogisticsElectronicAddressRole.ElectrnoicAddress and LogisticsElectronicAddressRole.LocationRole = LogisticsLocationRole.RecId

    Hope this helps

    Best,

    Uday.

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    Hi David

    Im happy to accept your answer with one added point. I couldn't find a table or column called "LogisticsElectronicAddressRole".

    I appreciate this could be down a different version, I am using Dynamics 2012 R2,

    I have found a relationship between [dbo].[LOGISTICSELECTRONICADDRESS].[LOCATION] and [dbo].[LOGISTICSLOCATIONROLE] .[RECID]

    Could you confirm this is correct?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Email addresses Flag for addresses stored in dbo.LOGISTICSELECTRONICADDRESS

    Hello richierich79

    On the email, there are certain tags you can associate with.

    2018_2D00_09_2D00_18_5F00_1152.png

    You can enable additional tags under "Organization administration > Setup > Global address book > Address and contact information purpose"

    2018_2D00_09_2D00_18_5F00_1152.png

    The address and its associated tags are stored under Table\LogisticsElectronicAddressRole.

    Thanks

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans