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

Create POST action on Entity

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

Is there a way of creating an Action on an entity which would allow the POST process to be triggered?  We are loading data via OData and are having to manually POST journals via the UI after the load, which is something that we want to avoid.

Any suggestions would be appreciated.

Thanks!

I have the same question (0)
  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi Mani,

    One option is to create a web service. See link below (on-demand posting):

    community.dynamics.com/.../how-to-post-ledger-journals-via-web-services

    Another option is to create a batch job with in D365 and run it on recurring basis (periodic posting).

    If you are using data entities and there is a flag that you can send that can trigger that journals is fully created and ready to be posted, you can write additional code on the data entities method and then try to post after data import is completed.

  • Suggested answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    You can write action on data entities where you can do posting and call that action  . Take a look at below link.

    docs.microsoft.com/.../odata

  • Suggested answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    You can call this action using odata when you finish loading journals.

  • WillWU Profile Picture
    22,363 on at

    Hi mani99,

    Do you wan to do it on standard data entity?

    Create a separate class and then decorating the method with the SysODataActionAttribute attributes.

    [ExtensionOf(tableStr())]
    final class _Extension
    {
             [SysODataActionAttribute("", true)]
             public static void ()
            {
            ...
             }
    }

  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi Mani99,

    Here is a link that shows the actual details that you can leverage.

    vishwad365fo.blogspot.com/.../testing-odata-actions-in-d365.html

  • mani99 Profile Picture
    5 on at

    Thanks all, we will soon try some of these suggestions.  I'll update once we have.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans