hs.emg
31st July 2013, 12:00
Hallo gurus,
another question from a newbi:
How can i get the annual turnover as shown in session tfacp2521m000->tfacp2521s000. The field names in this sessions are total.tovr, tota.tov1, ...
It think the values are calculated in the session, no stored in database. Is there any DLL/function to get these values?
Thanks in advance.

BaanInOhio
31st July 2013, 18:13
Here's a way to figure it out:

Look down a few posts for the "utlities to get script/object information". I personally use 'ttstpobjinfo' and check all boxes in the 'object' group except for showing assembler code, which doesn't seem to work. Execute it on component type 'script' and put the full component name in the 'component' field = "tfacp2521". Look at the "function table" or "DLL Hints" sections to see what is called by the script. There is a DLL function called "tfacpdll0051.turnover.for.supplier" which might be a good place to look. Run 'ttstpobjinfo' or 'ttstpbaandoc' to get the functions and arguments within "tfacpdll0051". You can repeat the same steps for the other script.

hs.emg
1st August 2013, 08:42
Thank you for support, BaanInOhio.