web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Adding fields in Totals form in D365 FinOps

(0) ShareShare
ReportReport
Posted on by 195

Hi,

I want to add fields in PurchTotals form commonly known as "Totals". There is no such datasource in the form and the methods in the form are calling PurchTotals classes to get the fields. I'm confused how to add new field there?

Any help or suggestion is appreciated.

Regards,

Ali

pastedimage1652103675606v1.png

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,429 on at

    Hi Ali,

    You can check the methods calcTotals and setDisplayFields in the form. The entire calculations are done in PurchtotalsForm class which is instantiated in the init method. calcTotals calls PurchtotalsForm\calclTotals method calculates all the values.

    pastedimage1652120868113v1.png

    Then the setDisplayFields method is called which sets the individual controls in the form with the values from  PurchtotalsForm class. 

    pastedimage1652120994867v2.png

    You will have to create CoC on these methods depending on what additional fields you want to display.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 405 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 374

#3
Martin Dráb Profile Picture

Martin Dráb 218 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans