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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

What is the relation between VendTable and LogisticsElectronicAddess

(0) ShareShare
ReportReport
Posted on by

Hi All,

I need to get the list of Vendors not having email address as "IsPrimary" not checked, trying to find the relation, but somehow not able to get the exact relation with LogisticsElectronicAddress.

Found the below tables related:

1. VendTable,

2. DirPartyTable,

3. DirPartyView

4. LogisticsElectronicAddress.

Please advice how can i get the list of Vendors not having "IsPrimary" email address checked.

Regards,

Akbar

I have the same question (0)
  • Akbarpasha Profile Picture
    on at
    RE: What is the relation between VendTable and LogisticsElectronicAddess

    Thank you Girish and Mohit, it helped me to get the required data.

    Thanks again for your help.

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: What is the relation between VendTable and LogisticsElectronicAddess

    You can follow Mohit suggestions.

    But I think the view will be much better as it will remove extra joins on the select statement.

    Just join VendTable.Party == DirPartyContactInfoView.Party and DirPartyContactInfoView.IsPrimary == NoYes::No to get the non-primary email address.

    Thanks,

    Girish S.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: What is the relation between VendTable and LogisticsElectronicAddess

    Hi Akbarpasha, Please check email method in VendTable, all relationship is defined there.

    For primary email, the relation is VendTable.party == DirPartyTable.RecId and DirPartyTable has relation with LogisticsElectronicAddress table DirPartyTable.PrimaryContactEmail == logisticsElectronicAddress.RecId

    Below code will give the primary email address of vendor, you can leverage it to find party field from VendTable and check if related record exists in LogisticsElectronicAddress table.

    pastedimage1683201220006v1.png

    pastedimage1683201270433v2.png

  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: What is the relation between VendTable and LogisticsElectronicAddess - D365FO

    Hi Akbarpasha,

    You can make use of the "DirPartyContactInfoView" to get the email address of the vendor which is not primary.

    All the details is available in that view. You can open that in table browser and have a look at it you will get some idea.

    Thanks,

    Girish S.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,140

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 762 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 706 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans