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, ...
Answered

Data entity is unable to export data

(0) ShareShare
ReportReport
Posted on by 414

Hi All,

I have customised data entity but it is not exporting any data. There is nothing in OData too.

Data entity is building ok in VSTS.

8306.Err.JPG

Data entity has data source 'CustInvoiceTrans'

I have added below to it to

1.  Added real unmapped fields to table

Err4.JPG

2. Added Post load method

7181.Err2.JPG

Error message when I open post load method

5543.Err3.JPG

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Data entity is unable to export data

    Hi YOG,

    The last error it's just VS error, you can ignore it. Are you exporting the data from the correct company? Do you have any other tables joined to CustInvoiceTrans in the entity? When you used oData have you used cross-company parameter?

  • YOG Profile Picture
    414 on at
    RE: Data entity is unable to export data

    Thanks for your reply Sergei,

    I had exactly similar data entity working but I deleted it and used same step to create new entity from scratch,.

    I can see my staging table has property 'Save data per company' set to yes.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Data entity is unable to export data

    Hi YOG,

    For staging table this property should set to No.

    But when you used oData, have you used cross-company (example http://[baseURI\]/data/FleetCustomers?cross-company=true).

    You can also go to SQL Management studio and fine SQL view with entity name and check if it returns any data if now you can check what is wrong with SQL view to understand how to fix the issue.

    If you deleted the old entity and created a new one with the same you may need to delete the entity from entity list manually and refresh entity list after it to be sure if the old implementation does not interfere with the new one.

  • YOG Profile Picture
    414 on at
    RE: Data entity is unable to export data

    Hi Sergei,

    Unfortnately, It did not work.

    I have tried cross company Odata link but no data appearing.

    Also, there is nothing into neither in SQL table nor in view.

    Anything else do you think can cause issue?

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Data entity is unable to export data

    Hi YOG,

    Could you, please share code from SQL view? Looks like you have some joins or filters or you just don't have data to be export.

  • YOG Profile Picture
    414 on at
    RE: Data entity is unable to export data

    Hi Sergei,

    I have tried creating data entity from scratch with new project.

    This time, I did not add  post load method and fields ( just to check if data entity is pulling data from CustInvoiceTrans table) but entity is still not picking any data.

    here are the steps I performed

    1. created a new project

    2. added data entity with data source 'CustInvoiceTrans'

    3. Build the project

    4. Checked Data in SQL (nothing there!)

  • Sergei Minozhenko Profile Picture
    23,093 on at
    RE: Data entity is unable to export data

    Hi YOG,

    Could you, please provide screenshots for data entity data sources? Could you, please, also provide a screenshot of the SQL object you checked?

    I don't see sync. step in your list of steps you performed. Have you made synchronization as well?

  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Data entity is unable to export data

    Other than custInvoicetrans which data source is there in your entity ? and what are all joins present between those ?

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 813

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 566 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans