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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to join TrvExpGuest table to the expense number?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am hoping somebody can shed some light onto this for me.

We are using Dynamics AX 2012 R2 and I am trying to retrieve the expense details (which is not a problem) as well as the actual Attendees (Guests) but I am not able to locate a join. 

Looking at AX (right click "personalize")  on the Guests field I see that the actual relation is driven by some kind of a function


Would anybody be able to tell me how I can join the data from the TrvExpGuest table to the other expense claim data?

many thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi M84AB1,

    Expense report line and TrvExpGuest is linked through another table "TRVEXPTRANSGUEST". This table hold RecId from TrvExpGuest and TrvExpTrans table. So your join look something like this:

    TrvExpGuest.RecId = TRVEXPTRANSGUEST.TrvExpGuest && TrvExpTrans.RecId = TRVEXPTRANSGUEST.TrvExpTrans

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi, 

    Maybe the following screenprint helps

    4452.trv.png

    Best regards, 

    Ludwig

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
Basit Profile Picture

Basit 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans