Skip to main content

Notifications

Announcements

Dynamics 365 Community / Forums / Finance forum / Data Entity - ODATA de...
Finance forum
Unanswered

Data Entity - ODATA delay when selecting new records

editSubscribe (1) ShareShare
ReportReport
Posted on by 60
Hello,
 
we face the problem that a record, which is newly created in a table (through the normal user interface) is not immediately available via the corresponding data entity in an ODATA GET. Sometimes the delay is up to 1 minute before the record /arrives/ at the ODATA GET.
 
e.g.: the user creates a new customer = open the /Create customer/ dialog -> enter the information including a new address -> hit save -> the new customer and the corresponding logistics postal address is displayed in the UI
 
The new record for the LogisticsPostalAddress, which is created in the background, arrives up to a minute later in the entity = /LogisticsPostalAddressHistoricalCDSV2Entity/ - ODATA: /CDSPostalAddressHistoryV2/.
 
Does anybody have similar issues? Why is there a delay and how could I control / influence the delay in the ODATA calls?
 
Thanks in advance for any help.
 
Sebastian
  • Basti Aurand Profile Picture
    Basti Aurand 60 on at
    Data Entity - ODATA delay when selecting new records
    Any other hints on this?
  • Basti Aurand Profile Picture
    Basti Aurand 60 on at
    Data Entity - ODATA delay when selecting new records
    Hi Andre,
     
    it's a third party interface which does the ODATA get calls. On the "dynamics-side" we implemented a method in the "Inserted Eventhandler" on the table (e.g. LogisticsPostalAddress) in order to inform the interface that a new record is available. Straight after receiving this "call" the interface tries to get the record via ODATA.
     
    I will really appreciate any hint.
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,324 Super User on at
    Data Entity - ODATA delay when selecting new records
    Hi Sebastian,

    What application are you using where you use the OData GET calls? When I'm using the Excel add-in which is also based on OData, the information is directly available once I created a new customer in the application.

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,324 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,096 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans