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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Data entity Does not populate Values

(0) ShareShare
ReportReport
Posted on by 20

Hi all,

I have to consume Entity by Odata services (purpose: Integration to power Apps).

Before this, when I try to verify Data.

But it doest not return any data for belongs to the user's default company never when we specify a cross-company =true to fetch data from all other companies that user has access to.

Entity called ProdProductPickingListJournalHeaders is a system standard entity wich is not be extended. We just try to fetch data.

Any Help will be gratefull.

pastedimage1595328770334v1.png

Cordially,

I have the same question (0)
  • Martin Dráb Profile Picture
    237,924 Most Valuable Professional on at

    Could you please rephrase "never when we specify a cross-company =true to fetch data from all other companies that user has access to"? I'm not sure what you mean by that.

  • Dynamics 365FO Profile Picture
    20 on at

    No data populated when using cross comapany

    pastedimage1595331652599v1.png

  • Martin Dráb Profile Picture
    237,924 Most Valuable Professional on at

    So no data whether you use cross-company or not? Because I decrypted the first part "But it doest not return any data for belongs to the user's default company" as that it doesn't return any data for the default company, i.e. when you don't use cross-company.

    It seems that your environment doesn't contain any data for the entity. Why do you think it does?

    If it's a custom entity, it seems that the implementation isn't correct. Please test entity inside F&O before trying to call it from outside.

  • Dynamics 365FO Profile Picture
    20 on at

    For the two scenarios : use cross-company or not there is no Data.

    pastedimage1595342209039v1.png

    Entity must contain Data because Table ( as main Data Source) contains many records.

    Yes,It is a Custom entity created automatically from Table ProdJournalTable ( main Data Source )  and I confirm that even in Data Management Export does generate 0 records.

    Additional Information :It seems that there is an extension done in the  initValue method Of the Table on another Model. It could be the reason of the problem?

    Thank you for help

  • Martin Dráb Profile Picture
    237,924 Most Valuable Professional on at

    No, that the table contains records doesn't mean that the entity must return any of them. For example, you might have an inner join with a table containing no data and therefore the result is nothing.

    You already have two proofs that your entity doesn't work (data export and OData), therefore you should accept this fact and start debugging your entity.

    You may want to review the data sources, as mentioned, or look at the T-SQL definition of the view in database.

  • Mea_ Profile Picture
    60,284 on at

    why do you have $metadata there ? it should be something like .../data/ProdProductionPickingListJournalHeaders?cross-company=true

  • Blue Wang Profile Picture
    on at

    Dear user,

    You mentioned "Entity called ProdProductPickingListJournalHeaders is a system standard entity wich is not be extended" and "Yes,It is a Custom entity created automatically from Table ProdJournalTable (main Data Source) and I confirm that even in Data Management Export does generate 0 records ."

    So, ProdProductPickingListJournalHeaders is an entity based on ProdJournalTable? Public Collection Name? Maybe I missed or misunderstood it.

    Did you sync the database, because I created it, everything is normal.

    29.PNG30.PNG

    Please tell us more, thanks.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans