Hi,
Navision 3,7 / NativDB.
It happens that locks occurs in the system.
Is it possible to get list of users who are waiting in a queue?
Or at least the first one who is actually locking the table?
Typical problem is that lock is placed in the code, than sth is happening what requires user interaction... but user went for coffe :evil:
I think that such information should be written somewhere
in the system... :?:
Radek
0
Comments
, because the user A is drinking his coffee
"TableXYZ is locked by User B", because he is the next in line.
When User A returns from his coffee break and presses YES or NO, the
locking ends and posting proceeds ( provided the database data used in the posting routine has not been changed in the meantime)
The solution for this problem is simple :
Never leave the workstation while a posting routine is in progress! [-X
( there can be other errors as well)
AND
Do not use confirm statements in posting routines.
So, where I can find an information about current locks?
It must be somewhere... :?
R
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I am trying to teach users:
"Look who is blocking you, call her/him, let he/she make next call, etc.."
but in the WAN reality (country-wide) it is not working in 100%.
Is it really only SQL what has Session table? Server operating on Nativ engine need this information also...
R.
You can only check, which user is "Live" and which are waiting by comparing the value changes in time. But you can only assume, that someone with no changes on this values is waiting.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.