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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard