Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Answered

Get orgNumber from dirOrganization

(0) ShareShare
ReportReport
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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans