
I have a custom form in Dynamics 365 Finance & Operations.
The Header has a display method that aggregates values from Lines.
The values on the Line are calculated (display/computed) and not stored in the database.
The issue is that the Header display method only recalculates when the active record changes (for example, when switching lines),
but it does not update immediately when a Line is added, modified, or deleted.
My question is:
What is the correct and recommended approach in D365FO to force a Header display method to recalculate immediately when Line data changes, without relying on record navigation?
Thank you.