Tuesday, April 26, 2016

Sage X3 - Function cannot be called in this context

Whenever you hit an error when saving in X3 versions 7 and higher, you may get the following error when you try to go back into the screen.




What is happening is that X3 is hung-up on the record it is saving and you won’t be able to get back into the screen until the “lock” is removed.   This lock will be automatically removed if you wait long enough.   Or the lock can be removed using the following steps. 

Select Development>Locked symbols



This will show you all of the records that are locked at that moment.   Select the lock that you want to clear and select user monitor.


The nice thing about accessing the user monitor from the locked symbols screen is that it allows you to see only the session with the lock.  From the user monitor screen, click on the open session.  Next, go down to the active processes table and select “Process Termination” for the Adonix process.   This will terminate all processes for that session.    You should now be able to access the screen that was giving the error.   Note that you do not have to exit X3 because the first time that you click on another screen, a new session is created.