Announcements
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
I have done this... but the client wants to see the procedures in workflow as the credit limit
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.
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
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
BC workflow
Are you using a BC workflow or a PowerAutomate workflow?
Hi!
How can I add that? With codeunit?
Thank u
Hi,
Yes, you can add it in the On Conditions for the sales order workflow.
André Arnaud de Cal...
294,161
Super User 2025 Season 1
Martin Dráb
232,942
Most Valuable Professional
nmaenpaa
101,158
Moderator