Hello,
i want to add Sum Total control field from "Sales Total" dialog form to my sales Table header .i have created COC for form. how can i call the method to my field control on sales table form Header .
Hi Junaid,
In SalesTotal form, all are control level fields. Value for the field will be set at run time. Refer to the method name "setDisplayFields" - In this method they will be populating the value for all the controls in the SalesTotal form.
If you want that control - You need to create a display method on SalesTable header and map that display method to the control - Logic for the display method, you can get it from SalesTotal >> "setDisplayFields" method.
Thanks,
Girish S.
Hi, You can check this article, create runnable class to check if you get correct value. If yes, then create display method in SalesTable.
dynamics365musings.com/.../
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 667 Most Valuable Professional
CU05031448-0 584
André Arnaud de Cal... 554 Super User 2025 Season 2