Hello
We have a strange behaviour in Codeunit 1.
Function LoginStart:
IF GUIALLOWED AND NOT ISSERVICETIER THEN BEGIN
//something
end;
This works like charm but if a classic report without rtc layout is started in rtc then "something" should not run. Any ideas how to change the code?
Btw: The "something" is a modal form that shows db name, servername, etc.
Thanks in advance.
Thomas
Answers
So maybe you could get your session record (set filter to "My Session" = true) and check if appliation name = '111'
Thanks for reply. Good point, I already knew that, but for different reasons I'd rather would not use session table (problems in some versions if user has only rights for some companies)...
Any other ideas?
Thanks
Thomas
If you want to show server name and database name..you can use system indicator functionality in NAV 2009 R2..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
yes..exactly
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Which build of Nav are you using?
It works as expected... More or Less...
|To-Increase|
a) why Application Name in the Session table is set to '111', when executed through RTC to run classic reports
b) is there another way to distinguish if LoginStart in Codeunit 1 is executed through RTC to run classic reports
Thomas
Thanks for all of the contributions
Thomas
Peter
The solution has been provided already. Here are my answers to your question:
a) The Application Name is set to 111 to avoid consuming another Client session when we launch Classic Client to run a Classic report from RTC.
b) There is no other way to determine if the Classic Client is being launched by RTC to run a report.
Regards,
David