Skip to main content

Notifications

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?

 

  • Suggested answer
    migi111 Profile Picture
    migi111 485 on at
    RE: oData -call works in other environment but not in another similar environment

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

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: oData -call works in other environment but not in another similar environment

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans