Navision Application Server On Stop

arnmaarnma Member Posts: 7
Hi,

I need to execute some code when the NAS service is stopped (specifically terminate a connection gracefully).
I haven't found any OnStop trigger or that I get any indication of the process being terminated.

I have a single instance codeunit that runs at startup and starts a timer.

Any suggestions or solutions would be very helpful, thanks.

Comments

  • arnmaarnma Member Posts: 7
    Never mind, found it, the trigger CompanyClose() in Codeunit 1 is called on NAS shutdown.
Sign In or Register to comment.