
Hi
We are working on a warehouse solution, where in i have built a login interface , this form is made available on a terminal, and warehouse worker logs into terminal(using windows password) then this newly built login interface in AX pops up, worker then enters his credentials and then begins the warehouse item arrival process. I track login and logout of each worker and store them in a custom table, designed as a log table. So while a warehouse worker is performing his duty and if AOS crashes then i need to make an entry in the Log table(mentioned earlier) as user logged out, and when AOS is up he is presented with the new login interface. Any ideas how do i track if AOS crashed?
BR
P
*This post is locked for comments
I have the same question (0)An AOS crash is logged in the Event log > Application. It has a specific Event Id, and the application is called Dynamics, with a severity of Error. You may look up that event easily from X++ with .Net reflection, see this for example:
dynamics-ax-live.blogspot.hu/.../how-to-read-from-windows-event-log-from.html
Then you just need to find the logs in your table which are not closed, and there was a crash entry after the login, so you could insert the log close records with the AOS crashes' date and time stamp.