web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

TRANSACTIONREVERSALTRANS erd

(0) ShareShare
ReportReport
Posted on by 72

Hi All,

I see that when I'm reversing a transaction I'm getting an entry in TRANSACTIONREVERSALTRANS table. This table contains a column called reftableid id. From which table I can get the list of these tables and their associated IDs.

Thanks,

Arti

*This post is locked for comments

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You can use tableid2name function to get a table name from table id.

    If you want to, you can also develop a job to extract ids and names of all tables. This blog (even though the topic is a bit different) shows one example: dynamicsuser.net/.../how-to-get-list-oftables-table-group-main-tables-in-x

    Please remember that table ids might be different in different environments, especially for your custom tables.

  • Verified answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi Arti,

    Given the architecture MS used, it's possible to use any table that house any transaction that can be reversed. However your environment only will have values where a specific transaction is reversed. E.g. If you don't use Fixed Assets, you may never get "AssetTrans" in your table. Below are some of the tables that you can be stored in RefTableId column, but the list is not complete and may never be complete given the architecture MS has used (RefTableId and RefRecId).

    TaxTrans

    TaxPurchaseTaxTrans

    TaxReportVoucher

    AssetTrans

    CustCollectionLetterJour

    CustCollectionLetterTrans

    CustTrans

    GeneralJournalAccountEntry

    TransactionReversalTrans

    VendTrans

    Exchange rates and the list goes on....

    Suggest that you have folks in your organization run all reversal scenarios and then get those table name using the function Nikolaos mentioned below (tableid2name()).

    Thanks,

    Satish Panwar

    Please help verify answer(s) if they guide you in right direction so other community members can also benefit from your question with verified answer.

  • Arti007 Profile Picture
    72 on at

    Thank you, Nikolaos and Satish!!

    As we are just trying out the functional scenarios, we don't have any technical person with us. So please let me know if there is any database table which stores this information.

    Thanks,

    Arti

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    I think it's easier to write a job (in AOT go to Jobs - right click - New job) with this one line:

    info(tableId2str(123));

    Just replace 123 with any number you want to find out. Then click Play button in the code editor.

    I'm sure you can do that!

  • Arti007 Profile Picture
    72 on at

    Thanks Nikolaos, I will try that.

    Just one more confirmation, are these table ids same across the implementations at different customer locations or they change.

    Thanks,

    Archana

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    I think I might have answered that question in my earlier post in this discussion :)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans