Skip to main content

Notifications

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

  • Akbarpasha Profile Picture
    Akbarpasha 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
    GirishS 27,821 Super User 2024 Season 1 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
    Mohit Rampal 12,552 Super User 2024 Season 1 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
    GirishS 27,821 Super User 2024 Season 1 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans