Skip to main content

Notifications

Business Central forum
Suggested answer

How to block user block customer

Posted on by 50

Write a code to send an email when user block a customer

Please provide the solution for this question.

Categories:
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,023 Moderator on at
    RE: How to block user block customer

    You have to customize the solution so that as user block that customer, system send an email .

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    RE: How to block user block customer

    Hi, I don't know your BC version, you can add the code below to OnValidate Trigger of Blocked field in Customer table.

    https://yzhums.com/1799/

    https://yzhums.com/7485/

    pastedimage1668037789948v1.png

    Hope this can give you some hints.

    Thanks.

    ZHU

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,423 User Group Leader on at
    RE: How to block user block customer

    Why do you create a Workflow to do this.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans