web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Business Central Purch...
Power Automate
Unanswered

Business Central Purchase Invoice URL from invoice ID

(1) ShareShare
ReportReport
Posted on by 2

I am trying to implement the aproval workflow for Busniess Central in Power Automate. The workflow gets triggered when an approval for a purchase invoice gets requested. Now I want the description of the approval to contain a direct link to the invoice for which the approval has been requested.

Is there a way to create the URL-link of a specific purchase invoice in Busniess Central from the invoice ID (which I can get within Power Automate)?

 

I have tried some combinations of "&page=51" or "&report="ID"" in the URL string but none of that seems to work.

 

 

Categories:
  • Liatoss Profile Picture
    2 on at

    You can check this discussion which can give you some hints.

     

    I build the URL based on existing action in flow now (march 2024) Get url (V3), where you need to specify:

    • environment (actual environment, the flow works with), which you can get from start action
    • company (actual company in business central environment, the flow works with), it uses company id which you can get from start action
    • page id (51 for Purchase Invoice)
    • and Row-id (your purchase invoice guid)

    The row id you can get by using action Get record (V3), where you  need to specify: 

    • environment
    • company
    • API category (just specify in string variable workflowEndpoints)
    • table name (specify by using string variable workflowPurchaseDocuments)
    • and Row Id you get in start action of your flow When a purchase invoice approval is requested... 

    This method works for me, hope it will work for you.

    Vlad.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard