Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Creating Approval Automatically For Sales Orders

Posted on by
Hello,
 
I am trying to figure out if it is possible to setup a workflow or power automate workflow to create approval requests automatically when a sales order is created with a few filters. The filter is to prevent the trigger firing when creating orders manually. We have a customer portal hooked up to our BC instance and when the portal submits an order we would want it to automatically trigger the approval of the sales order for our sales and finance departments. My idea is to filter a workflow to look at the number series since orders coming from the portal use a different number series. From what I see so far, a person NEEDS to click a button for each sales order to start the approvals.
 
Right now, every order that comes in we have to trigger the approval manually so that finance gets the approval request to check the customer for anything that should block the order and then the sales department to check the sales order to make sure the items being ordered make sense for the customer (i.e. we have different machine types and materials that do not work together)
 
I have:
- looked in the workflow triggers and I do not see sales order creation as an option
- looked into power automate templates and updated the trigger to sales order creation but the trigger doesn't have the workflow trigger information to actually work
- googled to no avail
- searched in this community thread
 
I am open to ideas; I am just trying to see any options before going to our partner to discuss any type of customizations.
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 6,854 Super User on at
    Creating Approval Automatically For Sales Orders
    I can't speak for power automate, but using the out of the box workflows in Business Central is not possible without some sort of customizations. The customization can be fairly simple, a simple job queue that loops through the sales orders every x amount of minutes. 
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans