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

Community site session details

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

issue with workflow

(7) ShareShare
ReportReport
Posted on by 607

There is a customer, for example, Customer A, whose payment method is COD, prepayment is 100%, and credit limit is 0. When we create a sales order for this customer, as per the sales credit limit exceed workflow, when the user creates the sales order and sends the approval request, the system should set the status to “Pending Prepayment”, which is working correctly for other customers but not for Customer A it sets the status to Released.

There is no condition in the workflow that would prevent it from running for this specific customer A. Interestingly, when we enter 1 in the Credit Limit field on the customer card, the workflow runs as expected.

Please guide me how to resolve this issue ??

I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    4,242 on at
    issue with workflow
    Hello,
     
    Credit Limit = 0 means “no credit check” in BC, so the credit-limit workflow will never trigger.
    Set the customer’s Credit Limit to 1 (or any positive value) and the workflow will run normally.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    Aman Kakkar Profile Picture
    2,089 on at
    issue with workflow
    Hi,
     
    I may be wrong, but I guess when Credit Limit = 0, Business Central interprets it as: “This customer has unlimited credit.”

    Because of this, Credit limit check does not trigger.

    Hope this helps.

    Aman K

  • Suggested answer
    YUN ZHU Profile Picture
    95,075 Super User 2025 Season 2 on at
    issue with workflow
    This appears to be the standard behavior of the standard Workflow Response below; if the Credit Limit is empty, it will not be checked.
     
    Thanks
    ZHU
  • CU27112356-0 Profile Picture
    8 on at
    issue with workflow
    Set the customer’s Credit Limit to any positive value is the solution as this would ensure that there is a limit and event us triggered.
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,608 Super User 2025 Season 2 on at
    issue with workflow
    Hello,
     
    The issue occurs because Business Central interprets a Credit Limit of 0 as “no credit check”, so the credit limit exceed workflow doesn’t trigger. When you set it to 1, the system sees an actual limit and runs the workflow correctly.
     
    To fix this, update the workflow condition to include customers with Credit Limit = 0 and Prepayment % = 100, or add a custom flag for COD customers, or use an AL event subscriber to override the status logic for these cases.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,888

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 3,386 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,041 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans