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

Data entity containing field from GeneralJournalAccountEntry and InventTrans

(0) ShareShare
ReportReport
Posted on by 9

Hello, 

I'm trying to create a custom Data Entity that retrieves data from two tables: GeneralJournalAccountEntry and InventTrans.

I created the entity manually, meaning, I created a Query, which primary datasource is InvenTrans, then a View then a data entity based on this view, the problem is that i cant find a direct relation between these two tables.

Could anyone help me with this, I would much appreciate it.
Thanks.

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

    Hi Mohamed,

    could you explain what kind of information you want to export? Once you have drafted how the output should look like, perhaps you will notice what kind of data sources and links are needed.

  • Mohamed Amine NAIJA Profile Picture
    9 on at

    Hey Nikoalos,

    My client, an automotive distributor using Annata Solution, would like to set up a business intelligence cube, one of this cube's tables is called Vehicle Ledger Entry and it has to be populated with some fields mainly from InventTrans (such as ItemId, DateFinancial, CostAmountPosted, Qty, etc..) and another field from GeneralJournalAccountEntry which is the AccountDisplayValue. Now I know these two tables are somehow connected and i need to find the path bewtween them both to create the custom Data Entity for the data export batch jobs.

    I was thinking about a solution but i dont know it works, which consists in creating an table extension and adding a new relation with GeneralJournalEntry using these fields: Voucher and DateFinancial. Do you think this could work ?

    I really hope it was clear enough, this is the best way i could describe this need.

    Thanks and have a great day.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Mohamed,

    There is no direct connection between GJAE and InventTrans and you need to use InventTransPosting + InventTransOrigin in between.

    Are you planning to use BYOD or EntityStore?

    In the case of BYOD, my recommendation is to make (or re-use if exists in standard) entity per each table and make relation outside F&O entity. Usually mentioned tables contain a huge amount of records and it's better to utilize change tracking to reduce the amount of data transferred between, but if you will have a lot of data sources on the entity, export performance can be degraded significantly.

    You can check also a similar article community.dynamics.com/.../linking-inventtransposting-to-its-posted-value

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans