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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Relevant Project Manager as Approver for Purchase Orders in Business Central

(8) ShareShare
ReportReport
Posted on by 23

Hi,

We are setting up an approval workflow for purchase orders (POs) in Microsoft Dynamics 365 Business Central and need to ensure that the correct Project Manager (PM) is automatically assigned as the approver.

Scenario:

  • Each project in BC has a designated Project Manager, which is stored in the project card.
  • POs are created based on specific project demands, but currently, there is no approval process in place.
  • We want to enforce an approval requirement for all POs exceeding $10,000, where the assigned PM of the related project should be the approver.
  • The PO should be linked to the project to determine the correct PM.

Challenge:

  • Standard BC functionality does not support the dynamic selection of the relevant Project Manager.
  • The PO header does not contain project information, meaning the PO is not directly linked to a project (project details can only be inserted on PO lines).

Questions:

  1. What is the best way to link a Project to a PO? Are there any standard fields or best practices for ensuring that the PO is always correctly linked to a project for approval purposes?
  2. How can we configure/customize Approval User Setup or Workflows in BC to dynamically select the relevant Project Manager based on the project linked to the PO?
  3. Would Power Automate be the best approach, or is there a way to achieve this using standard BC workflow configurations?

We are considering AI-driven solutions and Power Automate to address this, but if anyone has worked with a similar scenario and has insights or best practices, we would greatly appreciate your input.

Thank you!

I have the same question (1)
  • Gerardo Rentería García Profile Picture
    26,790 Most Valuable Professional on at
  • KE-10011215-0 Profile Picture
    23 on at

    Thank you very much for your reply, Gerardo! 😊

    I really appreciate your insights. However, the main challenge remains how to link the project to the PO header.

    Since the project will always be the key condition—whether we use the Approval Workflow in BC or Power Automate—we need a way to establish this connection at the PO header level. The Project Manager = Approver logic depends on having a direct link between the PO and the project.

    I hope somebody has suggestions on how to best structure this linkage, either using standard fields, custom fields, or another approach?

    Thanks again for your help!

  • Suggested answer
    Ramesh Kumar Profile Picture
    7,555 Super User 2026 Season 1 on at
    Hi,
     
    I think the option is build with custom Enum field to assign the relevant project approver and rest of the logic can to defined in the Power automate.
     
    Thanks!
    Ramesh
     
    If this helped you, please check the box Does this answer your question?
  • Suggested answer
    YUN ZHU Profile Picture
    101,018 Super User 2026 Season 1 on at
    I think your needs can only be done by customization, and I suggest you contact a local partner.
    Even with Power Automate, you still need to add fields and create a new API page.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Suresh Kulla Profile Picture
    50,278 Super User 2026 Season 1 on at
    You have to customize the workflow process, I have done similar customization where you have to select the approver on the PO before you send it for approver that way the approval is sent directly to that user.
     
    Example where you can set Approver ID based on the purchase order 
     
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Approvals Mgmt.", 'OnCreateApprovalRequestForApproverChainOnAfterSetApprovalEntryFilters', '', false, false)]
        local procedure OnCreateApprovalRequestForApproverChainOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry"; ApprovalEntryArgument: Record "Approval Entry");
        var
            PurchHeader: Record "Purchase Header";
            ApprovalsMgmt: Codeunit "Approvals Mgmt.";
            RecRef: RecordRef;
        begin
            RecRef.Get(ApprovalEntryArgument."Record ID to Approve");
            if RecRef.Number = DATABASE::"Purchase Header" then begin
                RecRef.SetTable(PurchHeader);
                if PurchHeader."Approver ID" <> '' then
                    ApprovalEntry."Approver ID"  := PurchHeader."Approver ID";
            end else
                exit;
        end;
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,424 Super User 2026 Season 1 on at
    Agree with the previous responses, This only can done by customization.
  • Suggested answer
    Valentin Castravet Profile Picture
    32,689 Super User 2026 Season 1 on at
    Using standard functionality, this is possible if you manually select a field on the PO to indicate who the PM is. For example, you can use the Assigned User ID field. When creating the PO, select the PM in the Assigned User ID field, allowing your approval workflow to be based on this field.

    If you don't want to manually select a field, a customization would be required.
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,424 Super User 2026 Season 1 on at
  • Vahid Ghafarpour Profile Picture
    12,262 on at
    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,029 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,226 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,201

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans