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...
Unanswered

FlowField on Sales Header Not Updating in Real-Time After Sales Line Changes

(1) ShareShare
ReportReport
Posted on by 2

I have an AL project where I am calculating a customer's sales credit limit. On the Customer Card, there is a field called Sales Credit Limit, which calculates the total amount including VAT for Released and Open orders for that customer, based on a boolean flag in Sales & Receivables Setup. This calculation works correctly. On the Sales Header, I created a FlowField that looks up the Sales Credit Limit from the corresponding customer. The issue is that when I update the Sales Lines (insert, modify, or delete), the Sales Credit Limit on the Customer Card updates correctly, but the FlowField on the Sales Header does not update in real-time. It only reflects the correct value after performing UI actions like refreshing the page. I have tried approaches such as CurrPage.Update(), Rec.CalculateFields(), and other common FlowField refresh techniques, but none of them work. How can I ensure that the FlowField on the Sales Header updates dynamically at runtime when Sales Lines are modified, without requiring a page refresh or other manual actions?

I have the same question (0)

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,878

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,390

#3
Sumit Singh Profile Picture

Sumit Singh 2,884

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans