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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans