Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

CompanyInfo table in AX 2012

Posted on by 1,146

Why cannot I find it in SQL, I could see it in AOT but not in SQL. Why?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CompanyInfo table in AX 2012

    Hi Andre,

    Thanks for showing me the correct way. I've been using most of my legal entity queries using the ax.CompanyInfo on SQL Server. I just checked that both company info tables (retail and FO) have the same RecId per DataArea, probably that's why I've never found anomalies when fetching data.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: CompanyInfo table in AX 2012

    Hi Danyal,

    The tables with "ax" as prefix are tables used for retail. This is a complete different table. The answer from Sukrut is correct.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CompanyInfo table in AX 2012

    Hi Kumar_Sat,

    I am not sure about AX 2012 (since I've never used it), but same thing happens in D365FO as well, I'd have to add ax. prefix before I can actually query the CompanyInfo table.

    select * from ax.CompanyInfo


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