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 :
Finance | Project Operations, Human Resources, ...
Answered

Data entity error from salesTable - Two custtable links (invoice and order)

(0) ShareShare
ReportReport
Posted on by 23

Hi All,

I'm struggling with a data entity and it's not clear to me what it is I'm doing wrong. I can always use a postload method to get the values. Or use a second data entity and join them in my BI tools, but I would like to know why this is not allowed or what it is I'm doing wrong.

I go from inventTrans to inventTransOrigin, then salesLine and salesTable. Next I want to have to joins to custTable. One for the invoice account and one for the order account: next, for each custTable, i also join the DirPartyTable to get the name:

pastedimage1658752763372v2.png

The errors I get:

pastedimage1658752829943v3.png

Once I delete one of the two DirParty Table links, the error is gone.

Please advice.

Thanks !

Gerard Verburggen

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Gerard,

    I have not included the same table more than once in a data entity. To overcome the issue, you can use a computed field which is faster compared to the postLoad method. See also the documentation about differences between the computed and virtual fields. Computed columns and virtual fields in data entities - Finance & Operations | Dynamics 365 | Microsoft Docs

  • g.verbruggen Profile Picture
    23 on at

    Thanks André,

    I will go for the computed field.

    Cheers,

    Gerard

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans