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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to create new entity to expose data in D365FO ?

(0) ShareShare
ReportReport
Posted on by 15

Hi Everyone!

I need to read tables that are not exposed in the data entity. How do I do this at D365FO?

I already have a connection through Odata

Thank you

I have the same question (1)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: How to create new entity to expose data in D365FO ?

    You have to create data entity for those tables and make sure to set is public property to yes in Order to access those entities using Odata. Remember its not a good practice to enable large transactions tables using such a method.

  • Adilson Profile Picture
    15 on at
    RE: How to create new entity to expose data in D365FO ?

    How can I do this? Is it on the D365 or Azure portal?

    Thanks for de help.

  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: How to create new entity to expose data in D365FO ?

    You have to  develope entities in visual studio . Take a look at below link  to see how you can build those. You /Your developer need 1 box dev VM to build a custom entity.

    docs.microsoft.com/.../build-consuming-data-entities

  • Adilson Profile Picture
    15 on at
    RE: How to create new entity to expose data in D365FO ?

    Last question ... Is there another way to do this? I need to read the invoice data and accounting data

  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: How to create new entity to expose data in D365FO ?

    You need to create entities in order to expose data  using ODATA. Which invoices you are looking for ,customer or vendor ? Customer /Vendor invoice tables does not have any data entity, so you have to create one.

    Another way is using BYOD where you can export data  to your own azure SQL DB but there also you need to develope entities if  standard entity is not present.

    May I ask what is your business requirement ?  

  • Adilson Profile Picture
    15 on at
    RE: How to create new entity to expose data in D365FO ?

    I am Brazilian, and I need all the Invoices (Customer  and Vendor) to comply with the Brazilian legislation, but for that I need to integrate all invoices into my system. In the AX2012 version I read the database, but my client migrated to D365FO, i am a developer, but I don't implement D365.

  • Adilson Profile Picture
    15 on at
    RE: How to create new entity to expose data in D365FO ?

    I can read the entities, but only those that are available, but are not enough.

  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: How to create new entity to expose data in D365FO ?

    For customer and vendor invoice tables(CustInvoiceJour and VendInvoiceJour) there is no out of the box entity is present so you have to develop one, once you build entity you  have multiple options like using BYOD to export data you want to your own azure DB , you can use data management package API, use flow or logic apps to read data from those etc.. Use link i shared above to develop entity. If you  want to fetch data from multiple tables , i would suggest you to create different entities instead of creating one large entity.

  • Suggested answer
    Rahul Mohta Profile Picture
    21,032 on at
    RE: How to create new entity to expose data in D365FO ?

    data entities is a good option

    also could look for ER electronic reporting to extract data

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,167

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 617 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans