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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Sales order approval workflow

(2) ShareShare
ReportReport
Posted on by 17
Hi expert's,
 
 
We have a requirement when user creates a sales order it should go to the supervisor for approval. I understand there is no standard workflow available to achieve this but is there any alternative workaround that I can do?
 
TIA
I have the same question (0)
  • Verified answer
    Mohamed Amine Mahmoudi Profile Picture
    26,436 Super User 2025 Season 2 on at
    Hi,
     
    you can do it through the code x++
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    AR-01121610-0 Profile Picture
    4,967 Moderator on at
    Hy,
     
    as there is no out of the box D365FO Workflow for Sales Order approval.
     
    Beside that you build a customezied solution using X++ code or you use Power Platform to build Workflow using PowerAutomate or Logic App.
     
    A possible flow could be:
    - Use any Data event as DataEvent_SalesOrderHeaderEntity_Create or another event to indicate the Sales order is prepared
    - If the event is triggered start your Power Automate or LogicApp.
    - First step in PowerAutomate/LogicApp should be to set the Sales Order to "on Hold" using a predefined Hold Code (e.g. "not approved") to avoid the Sales Oder will be processed as long as the SO is not approved.
    - Then start PowerAutomate/LogicApp approval with this Sales Order and assign to a person (may be supervisor, persons manager, sales responsible, ... ) or member of a predefined User Group
    - When the step is approved remove the Sales Order Hold code and Sales Order should be free for further propcessing.
     
    Just as an idea.
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 41 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 39

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans