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, ...
Suggested Answer

oData -call works in other environment but not in another similar environment

(0) ShareShare
ReportReport
Posted on by 485

I'm trying to use the Sales Order Lines v2-entity to fetch a single sales order line from environment A. {{resource}}/data/SalesOrderLines?cross-company=true&$filter=SalesOrderNumber eq {{SalesOrder}} and dataAreaId eq '{{company}} -> it doesn't return anything. BUT other odata -calls work without any problems and I'm sure that the used Sales order has lines. So the problem is not on permission side.

Then when I try the similar call to another environment, it returns the lines. So I assume the entity in env A is somehow broken. I tried to sync the db -> it went through without problems and then restarted IIS. But still it doesn't work. Does anyone have a suggestion what could I try to make it work?

 

I have the same question (0)
  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, Can you try 'Refresh Entity List' from Framework parameters in Data Management.

  • Suggested answer
    migi111 Profile Picture
    485 on at

    Did it already. OK, the problem was in the extension recently made to that entity and it's solved now.

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 704 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 408 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans