Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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.

 

 

  • Liatoss Profile Picture
    2 on at
    Re: Business Central Purchase Invoice URL from invoice ID

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics