web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Workflow control

(0) ShareShare
ReportReport
Posted on by

Hello!

I put a condition at Sales order credit limit approval workflow to check balance due lcy that is at customer table,

the field is "Amount overdue" I have give the value of balance due lcy(I checked with debug and it gets the values)

I want when i click "Send request to approval"(to sales order page) to not relasese if balance due is >0.

Screenshot-_2800_11_2900_.jpg

  • Suggested answer
    Amit Baru Profile Picture
    3,043 on at
  • Suggested answer
    Dallefeld Profile Picture
    235 User Group Leader on at

    So your filter looks correct. When you enable your workflow, it will require every sales order to be approved. They will automatically approve if the Amount Overdue is 0. It is important that you still have approver chain or approval groups setup for the automatic approval.  

    What is happening when you Request approval.  You have to manually request approval to get the order to more to pending approval and then to release.

  • Suggested answer
    YUN ZHU Profile Picture
    103,656 Super User 2026 Season 2 on at

    Hi, this doesn't seem to be okay. Only when all the conditions you set are met, the Workflow will be initiated.
    Is there any problem?

  • Community Member Profile Picture
    on at

    Hi, I don't want to work when all the conditions are met, but it doesn't work with anyone of them. I mean this filter before used to work now  isn't working, do u have any idea how I can do thiss?

  • Suggested answer
    YUN ZHU Profile Picture
    103,656 Super User 2026 Season 2 on at

    Hi, is this field (Amount Overdue) a custom field? I think its value is equal to or less than 0 on the order, so Workflow is not working. Please confirm the value of this field on the order first.

    pastedimage1664787147482v1.png

    pastedimage1664787159327v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Alfredo_Iorio Profile Picture
    1,270 on at

    It looks like you have created a new field in the sales header named "Amount overdue".

    This new field gets the Amount overdue from the customer and stamps it on the sales header.

    I see a couple of problems with this design:

    1. When do you update the field value in the sales header?

    If you update on release, your workflow will never start because the value of the field will always be 0 before the release.

    2. You can create a sales order when the customer overdue amount is 0 and the approval will not start but, if the amount overdue changes before you ship or invoice the workflow will be pointless because a released order is not subject to approval.

    One solution would be to update the new field when you create the sales header. Yet, you will need to find a way to handle changes in the customer balance after the order is approved and released.

    Personally, I would use a Power Automate approval workflow and use customer overdue balance as a variable instead of trying to extend a BC 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 750 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 534 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 287 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans