Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Finding Table and Field Information in Microsoft Dynamics AX 2012"

Posted on by Microsoft Employee

How to finding Table and Field Information in Microsoft Dynamics AX 2012?

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,149 Most Valuable Professional on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    I think that André meant Tabax.

  • DJRM Profile Picture
    DJRM 1,445 on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    Where can I find this tool?

  • Suggested answer
    UmesH@ Profile Picture
    UmesH@ 810 on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    Run this job you will get tables and properties.

    You can find System Fields,User Define Fields & Sql Fields.

    //A_PO Table Name
    static void SystemClassesFields(Args _args)
    {
        SysDictTable dictTable;
        DictField dictField;
        Common common;
        Counter counter;
        ;
        dictTable = new SysDictTable(tableNum(A_PO));
            for (counter=1; counter<=dictTable.fieldCnt(); counter++) 
            {
                dictField = new DictField(dictTable.id(), dictTable.fieldCnt2Id(counter));
                if (dictField.isSystem())
                {
                    info(strfmt("System field: %1", dictField.label()));
                    info(strfmt("System field: %1", dictField.name()));
                }
                else
                    info(strfmt("User field: %1", dictField.label()));
            }
        if(dictField.isSql())
        {
            info(strfmt("sql field: %1", dictField.label()));
        }
    }

    Thanks.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    I would like to be able to find the table that stores the warehouse field found in the Where Used table.  I have tried BOM, BOM Table, BOMVersion and am not able to find it.  I have tried using the INVDIM column in these tables and comparing it to Inv DIM but doing that method shows that all of the formulas listed have a warehouse specified in the Where Used screen which I know is not the case.  Where can I find this info?

    Thanks!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    You may try also to press 'F1' while focusing on particular field; menu will then appear, chose 'quick info' and you will see table/field name. Regaring both methods - be aware that not always you will have real table/field name, as in some cases temporary tables are being used (name shown may be then name of table which does not exisi on SQL server)

    regards

    Tomasz

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    Thanks for your help :)

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Finding Table and Field Information in Microsoft Dynamics AX 2012"

    How do I have to interpret your question?

    Within the help of AX (and on technet) some descriptions of the table and the fields are available.

    If you want to find out from a form which table/field is used, you can right click on a control and click the 'Personalize' menu-item. Information of the datasource (table) and field used is available in the field 'System name'.

    The tab query contains the structure of tables used on this form.

     

     

    Also a tool was/is available on internet where with a key combination ('Shift+Enter') the table and field names are being displayed. 

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!

Community AMA December 12th

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans