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 action method and Custom services in D365F&O

(4) ShareShare
ReportReport
Posted on by 1,323
Dear team,
 
As I discussed about ODATA action method and well understood.
 
 
My questions is
 
When we found the Logic which is not possible through ODATA then we go for Custom services.
 
Please let me know what is the difference between ODATA action method and Custom services.
 
In both scenario we used to create our own logic and expose the API.
 
Pls advise.
 
Thanks in advance.
Categories:
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,022 Most Valuable Professional on at
    I wouldn't say that "When we found the Logic which is not possible through ODATA then we go for Custom services". I can't think of anything that you couldn't write in an OData action but you could in a custom service.
     
    The typical reason for choosing an OData action is that the logic is related to an entity. For example, you can create a transfer order with InventTransferOrderHeaderEntity and the ship the order by the ship action. It could be a custom service, but this is easier to discover and use.
     
    Note that OData actions are also exposed in dataverse virtual entities, therefore they can be easily used through the Dataverse connector. 
  • CU05031448-0 Profile Picture
    1,323 on at
    Hi Martin
     
    As you said"example, you can create a transfer order with InventTransferOrderHeaderEntity and the ship the order by the ship action. It could be a custom service, but this is easier to discover and use."
     
    What I understood,
     
    So, you mean to say the above example we can achieve by either ODATA action method or Custom service both. Custom service will be easier to use .
     
    Am I correct?
     
     
     
     
  • Martin Dráb Profile Picture
    239,022 Most Valuable Professional on at
    No, your understanding is incorrect. I said that you could use a custom service, but having actions related to an entity included in the entity is "is easier to discover and use".

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
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans