Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Sales order approval workflow

(2) ShareShare
ReportReport
Posted on by 6
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
  • Suggested answer
    andreasraithel Profile Picture
    andreasraithel 4,834 Super User 2024 Season 2 on at
    Sales order approval workflow
    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.
     
     
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 10,694 Super User 2024 Season 2 on at
    Sales order approval workflow
    Hi,
     
    you can do it through the code x++
     
    Best regards,
    Mohamed Amine MAHMOUDI

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans