Skip to main content

Notifications

Community site session details

Community site session details

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

Workflow balance due lcy control

(0) ShareShare
ReportReport
Posted on by

Hello! 

When I send a sales order to request to approval Workflow need to control if the balance due lcy(customer) is >0, does anyone know how i can do this?

Thank u

  • Community Member Profile Picture
    on at
    RE: Workflow balance due lcy control

    I have done this... but the client wants to see the procedures in workflow as the credit limit

  • Suggested answer
    Chris Dsilva Profile Picture
    40 on at
    RE: Workflow balance due lcy control

    Hi,

    It will be better you create an extension and write your code to first get the calcifield balance and then write a condition to send for approval only if the condition is satisfied else pop up a error.

  • Community Member Profile Picture
    on at
    RE: Workflow balance due lcy control

    How does it know that the balance due lcy is >0 beacuse balance due lcy is a calc field in customer table not in sales header

  • Suggested answer
    Chris Dsilva Profile Picture
    40 on at
    RE: Workflow balance due lcy control

    On your search bar in BC, type workflows, edit the sales order workflow , disable it if enabled, add the condition on the first line and enable the workflow

  • Community Member Profile Picture
    on at
    RE: Workflow balance due lcy control

    BC workflow

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,021 Moderator on at
    RE: Workflow balance due lcy control

    Are you using a BC workflow or a PowerAutomate workflow?

  • Community Member Profile Picture
    on at
    RE: Workflow balance due lcy control

    Hi!

    How can I add that? With codeunit?

    Thank u

  • Suggested answer
    Chris Dsilva Profile Picture
    40 on at
    RE: Workflow balance due lcy control

    Hi,

    Yes, you can add it in the On Conditions for the sales order workflow.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans