Skip to main content
Business Central forum
Suggested answer

Post Item Journal Using Microsoft Flow or Power Automation

editSubscribe (0) ShareShare
ReportReport
Posted on by 15,395

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 59,978 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,714 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,395 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,714 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,395 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,152 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

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans