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

Is it possible to create custom approval workflow on line level in document

(8) ShareShare
ReportReport
Posted on by 120
I created a custom extension of purchase requisition in which I created a custom approval workflow for document level .Is it possible that I can create custom approval workflow on line level to approve individual lines and on the basis of lines the document will be approved or rejected.
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    100,998 Super User 2026 Season 1 on at
    Yes, you can refer to the following standard processing below.
     
    Thanks.
    ZHU
  • Alina Fahim Profile Picture
    120 on at
    Purchase Requisition is  basically a document like sales order so business central out of the box functionality only works on document header level not on individual lines and my query is that is it possible to extend on line level as well with header level.
  • Suggested answer
    Tech-Lucky Profile Picture
    1,288 Moderator on at
    You can create custom approval events and responses for this line table by referring to the standard workflow implementations in the Gen. Journal Line or Item Journal Line tables.
     
    Also I have developed a ISV (Workflow Pro) to solve this kind of Problem and available on AppSource you can refer to this 
     
  • Suggested answer
    DAnny3211 Profile Picture
    11,421 Super User 2026 Season 1 on at

    Hi Alina,

     

    Yes, it is possible to implement a custom approval workflow at the line level in Business Central, although it requires more advanced development compared to document-level workflows.

     

    Here are some key considerations:

     

    1. Custom Table and Logic: You’ll need to create a custom table to track approval status for each line. This table should link to the document and line identifiers.


    2. Workflow Events and Conditions: Extend the workflow engine to trigger events based on line-level changes. You can define conditions such as amount thresholds or item categories to determine when a line requires approval.


    3. UI and Status Handling: Modify the page to show approval status per line and disable posting or further processing until all required lines are approved.


    4. Document-Level Impact: Implement logic to evaluate the overall document status based on the approval state of its lines. For example, reject the document if any line is rejected, or approve only if all lines are approved.



    5.  
     

    This approach gives you granular control but requires careful planning to ensure consistency and usability.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

  • Suggested answer
    Sohail Ahmed Profile Picture
    11,175 Super User 2026 Season 1 on at

    By default, Business Central only supports document-level approvals, not line-level.

    If you need approvals per line, it requires a custom design:

    • Create a custom table to track line-level approval entries.
    • Extend the workflow events and responses to handle approvals for individual lines.
    • Add logic so the document status depends on whether all lines are approved or if any are rejected.
     

    So yes, it’s possible, but only through custom development, not standard workflow setup.

     

    ✅ Mark this answer as verified if it helps you.

  • Suggested answer
    Andrés Arias Profile Picture
    5,157 Super User 2026 Season 1 on at
    Hello,

    I understand that the Purchase Requisition functionality is not standard and is a custom development. The workflows do not have the ability to filter by rows, so a custom development would be required to meet this requirement.
     
    I hope this helps.
     
    Regards,
     
    Andrés
  • Suggested answer
    Mansi Soni Profile Picture
    9,353 Super User 2026 Season 1 on at
    Hello,

    Yes, it’s possible to build a line-level approval workflow in your custom purchase requisition extension, but it requires custom development. You’d need to extend the approval framework to track and approve each line individually, then aggregate the status of all lines to decide the overall document approval or rejection.

    Hope this answer will help you!

    Regards,
    Mansi Soni
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,424 Super User 2026 Season 1 on at

    It’s possible, but not with the standard approval engine out-of-the-box in Business Central. Standard workflows (Purchase Orders, Requisitions, etc.) only support approvals at the document header level. If you want line-level approvals, you’ll need to extend the workflow framework with AL code.

     
  • Suggested answer
    Sumit Singh Profile Picture
    11,795 Super User 2026 Season 1 on at
    Hi Alina, 
     
    Yes, it is technically possible to create a custom approval workflow at the line level (e.g., for individual purchase requisition lines), but this requires custom development because standard workflows only support document-level approvals.
     Implementation Approach
    • Extend the workflow engine using AL code to:
      • Trigger approval requests per line.
      • Track approval status per line.
      • Aggregate line-level approvals to determine document-level status.
    • Use custom tables or fields to store line-level approval status and approver info.
    • Modify the document status logic to depend on line-level approvals.
    Mark the Boolean true “Does this answer your Question” if this was Helpful.
     
     
     
  • Suggested answer
    Satish Srivastava Profile Picture
    242 on at
    If you want approvals for each line (e.g., approving individual items on the order), this is not supported out of the box.
    To achieve it, you need custom development, which usually involves:
    • Creating a table to store approvals for each line.
    • Extending workflow events so they can trigger approvals per line.
    • Making sure the document status changes based on whether all lines are approved or if any line is rejected.
    So yes, line-level approval is possible — but only with customization, not with the standard workflow setup.

     

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,002 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,255 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,217

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans