Skip to main content

Notifications

Microsoft Dynamics AX (Archived)
Answered

Get orgNumber from dirOrganization

Posted on by 190

Hello,

I need to get the orgNumber to display on a report. This can be found in dirOrganization table. But there are no relations that I can use.

How can I link it to DirPartyTable or to vendTable?

*This post is locked for comments

  • Oush Mi Ta Profile Picture
    Oush Mi Ta 190 on at
    RE: Get orgNumber from dirOrganization

    Thanks for the help. It works.

  • Verified answer
    fatihgork Profile Picture
    fatihgork 3,815 on at
    RE: Get orgNumber from dirOrganization

    Hi Oush,

    There is a method under VendTable that returns Organization number of a vendor: VendTable.organizationNumber()

    And  the relation between these two tables are:

    DirOrganization.RecId=DirPartyTable.RecId

    and 

    DirOrganization.RecId=VendTable.Party

    It can be found in relations section of related table under AOT/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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans