Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Post Item Journal Using Microsoft Flow or Power Automation

Posted on by 15,411

Hi

Is it possible to post Item Journal using Power Automation or Flow? Let say you create approval and after approval is done then it post the Item Journal?

Thanks 

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,563 Super User on at
    RE: Post Item Journal Using Microsoft Flow or Power Automation

    Hi, as Stefano mentioned, you can create new actions in Power Automate, here's a simple example.

    How to run AL procedure in Power Automate (Add custom execute actions)

    https://yzhums.com/20111/

    But if you don't need real-time, you can also consider using Job Queue.

    For example,

    To create a job queue entry for batch posting of sales orders

    pastedimage1673568975622v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,722 Super User on at
    RE: Post Item Journal Using Microsoft Flow or Power Automation

    There should have been a standard API for Item journals like there are for the G/L Journals. Someone should create that as a open source contribution.

  • MahGah Profile Picture
    MahGah 15,411 on at
    RE: Post Item Journal Using Microsoft Flow or Power Automation

    Thanks Inge. I wish it was a way to do it without customization. But looks like we need custom development.,

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,722 Super User on at
    RE: Post Item Journal Using Microsoft Flow or Power Automation

    I don't think there is such an codeunit available. And to do it the recommended way I think you have to include some small development.

  • MahGah Profile Picture
    MahGah 15,411 on at
    RE: Post Item Journal Using Microsoft Flow or Power Automation

    Hi Stefano Demiliani

    Thank you so much for your response. Without creating Custom Bound API is it any OOTB codeunit in BC that we can publish as ODATA then consume through HTTP and Post? I mean I just try to avoid development here.

    Thanks again

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,154 on at
    RE: Post Item Journal Using Microsoft Flow or Power Automation

    It’s possible by creating a custom API that exposes the Post action (bound action). Then from Power Automate you can call a bound actions by using the BC connector and referencing your custom API.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans