Announcements
No record found.
Question I have a form in Dynamics 365 Finance & Operations with a parent–child data source structure.
Parent: JobLine
Child: Layer
In the child grid, there is a calculated field (for example, Ampere) that is calculated from:
Fields in the parent table (Quantity, Area)
Quantity
Area
And data from another table (MasterTable.Multiple)
MasterTable.Multiple
The calculation is correct at the database level, but the issue is UI refresh timing.
Observed behavior:
When Quantity or Area is changed in the parent record
The calculated value in the child grid does not update immediately
The value only updates after clicking around the form, changing focus, or reselecting the record
Question: What is the correct, framework-compliant approach in D365FO to make a calculated/displayed field in a child data source update immediately (in real time) when values in the parent data source change?
Any guidance or best-practice approach would be appreciated.
observe()
I also noticed another issue related to this and would like to ask for some advice.
I have a display method on a form datasource grid. The calculation depends on the parent datasource (JobLine), the current Layer record, and a master table (Chemical), where Chemical.Multiple is retrieved using ChemicalCode.
Chemical.Multiple
ChemicalCode
The formula is:
((JobLine.Quantity * JobLine.Plating_Area) / 100) * Chemical.Multiple
The issue I am facing is that when the grid contains multiple Layer records with different ChemicalCode values, the display method sometimes returns the same value for multiple rows, even though Chemical.Multiple is different in the master table.
If I debug record by record, the data and calculation are correct. However, during grid rendering, the calculated value appears to be reused across rows.
In this scenario, what would be the recommended way to handle this correctly in D365FO?
Thanks for the response @Martin.
At the time, I was using the following code. The display method is placed on the form datasource of Layer.
Layer
The issue occurs when the grid contains multiple Layer records with different ChemicalCode values. In that case, the display method sometimes returns the same calculated value for multiple rows, even though chem.Multiple is different.
chem.Multiple
I would appreciate your guidance on what is wrong with this approach or what the recommended pattern would be in this scenario.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 658
André Arnaud de Cal... 468 Super User 2026 Season 1
Syed Haris Shah 333 Super User 2026 Season 1