Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Use Sales order line filter on "A sales order is released"

Posted on by 5

Hi,

I'm trying to create a workflow that will create a pop up message to the user when they released a sales order that contains an item that is not supposed to be used. 

This is how it looks:

pastedimage1679058108114v2.png

The event is "A Sales order is released".

This is the condition, the idea is that it should be triggered when the item RABATTKOD1 is used on a purchase order line. There is no filter in the Sales header.

pastedimage1679058175357v3.png

And this is the response:

pastedimage1679058221691v4.png

The problem is that the message appear on all Sales orders that are released, not only those with the item "RABATTKOD1" on a line. I have manage to create the same kind of workflow but with filter on field in the purchase order header (for example Vendor No) and then it works as expected. I only receive the message when I release a purchase order with the vendor no that is written in the filter of the workflow. 

Is it possible to create a workflow with a condition that is based on a purchase order line? Or is it only possbile to create conditions based on the header?

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Use Sales order line filter on "A sales order is released"

    Hello,

    If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP.

    Thanks.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans