I want to log which report is run, by whom, and when, over a certain period.
I thought of doing this by adding some C/AL code
[<file>.CREATE(<reportID><userID>.txt)] to the beginning of each report. Trouble is, USERID is available, but where to get the 'REPORTID'
variable? I don't want to have to type that separately for each report that i add the code to.
Or is there another way of doing this logging?
0
Comments
From help
so you could use - table fieldname := CurrReport.OBJECTID(True);
Hope this helps
Albert