Renegade
5th May 2022, 16:18
in many sessions, for example tpppc4542m000, there are summarized total fields in bottom of session. For example, in attached file, 'Total Budget' is a field populated by standard script. 'Budget Quantity' was added as calculated field, for which totals do not default. Is it possible to get totals for fields that don't have. Thanks

mark_h
9th May 2022, 16:35
Wait for an LN developer - in 4c4 I could code something, but LN has better options available.

Renegade
11th May 2022, 15:14
Thanks Mark... I'll wait. for sure many would have had this need?

mark_h
11th May 2022, 16:14
Just searching on I found three threads - there might be others that can help you.

http://www.baanboard.com/baanboard/showthread.php?t=65043&highlight=Total+form
http://www.baanboard.com/baanboard/showthread.php?t=40889&highlight=Total+form
http://www.baanboard.com/baanboard/showthread.php?t=59297&highlight=Total+form

Renegade
11th May 2022, 16:56
i have seen the first link before i created the thread. Unfortunately, so far, it seems customization to standard involved. I would like to know if there is any way this can be achieved using extensions. This is critical as customer wants to move to MT Cloud and customizations can't be ported as they are.
But Infor also need to realize/migrate customizations in extensions so it's a win-win

Marek_C
12th June 2022, 08:38
HI Renegade, try this solution.
In the extension to your session in the section before program add fattr.total.line = true
Then in the Before Display Object section add
sum.records.in.view("field or expression to sum ", local variable)
display.total.fields("field under which the total is to be displayed ", local.variable)

I have checked and it works for me.