Related Items Sum
-
- Posts: 10
- Joined: Fri Mar 03, 2017
Hi Dmitry,
I still cant get the total to work even by looking at your solution above. See below the example:
Costs
£838
£1257
£754.20
£754.20
£754.20
£2095.00
£493.56
The total is being displayed as 2,349. The total is incorrect.
Many thanks for your help!
I still cant get the total to work even by looking at your solution above. See below the example:
Costs
£838
£1257
£754.20
£754.20
£754.20
£2095.00
£493.56
The total is being displayed as 2,349. The total is incorrect.
Many thanks for your help!
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Could you open the browser console (F12) and enter the following line:
fd.relatedItems(0).data('ctx').ListData.Row[0]
Expand the object and provide its content.
Could you open the browser console (F12) and enter the following line:
fd.relatedItems(0).data('ctx').ListData.Row[0]
Expand the object and provide its content.
-
- Posts: 10
- Joined: Fri Mar 03, 2017
Where would I enter the line? I am in the Developer Tool (F12)?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
In the Console tab, see my screenshot.
- Attachments
-
- Console.png (30.56 KiB) Viewed 2436 times
-
- Posts: 10
- Joined: Fri Mar 03, 2017
Would I open the list where the field is before hitting F12?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Yes, open the form containing the Related Items control, click F12, switch to Console tab, and insert the code.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
I assume that you open the form in a dialog. Try to open it in the main window and try again.
-
- Posts: 10
- Joined: Fri Mar 03, 2017
Please see screenshot attached.
Thanks
Thanks
- Attachments
-
- screenshot.png (17.32 KiB) Viewed 2435 times
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Could you scroll down a bit? There should be a field with Total_x0020_cost. name containing a number without symbol of currency.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests