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 489

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?

 

  • Mohit Rampal Profile Picture
    12,573 Moderator on at

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

  • Suggested answer
    migi111 Profile Picture
    489 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 528 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 455 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 376

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans