web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

OData extract Entities modified since a date

(0) ShareShare
ReportReport
Posted on by

Hi,

I am looking to extract entities that have been modified since a specific date.

However ( for example entity SalesOrderHeaders ) I can't see any ModifitedData when I query the odata feed. For example, i am doing a get mybaseurl/data/SalesOrderHeaders?cross-company=true the response doesn't include any Modified data so I assumed there isn't.

How could I perform this filtered extract ? I will avoid me extracting the whole dataset every time.

Regards

Vincent Diallo-Nort

I have the same question (0)
  • Martin Dráb Profile Picture
    236,353 Most Valuable Professional on at
    RE: OData extract Entities modified since a date

    Note that entities typically consists of multiple tables, therefore it's not as simple as exposing a single field.

    BYOD synchronization utilizes change tracking; maybe you could consider something like that.

    I've also seen people building a computed column returning the highest ModifiedDateTime value from all tables used in the entity.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    299,397 Super User 2025 Season 2 on at
    RE: OData extract Entities modified since a date

    Hi Vincent,

    I have used BYOD as a step in between. When you enable change tracking and schedule at least once a day, you would have your information. In BYOD, the entity automatically gets an additional column for the sync date/time. This can be your workaround to use it as modification date.

  • Blue Wang Profile Picture
    on at
    RE: OData extract Entities modified since a date

    HI Vincent Diallo-Nort.

    Agree to enable change tracking.

    Another way is to use a computed column (Martin mentioned). You can use the SysComputedColumn::returnField () method to get the modified field .

    However, there is a problem to note that some data source tables do not have ModifiedDateTime enabled.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,028

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 579 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans