This is the very basic ground work for a switch user triggered by pin entry within POS to logout current user and log that user in.
This is first step only so would result in new orders being submitted and not work if there is no entity or close-able ticket tag set.
I plan to improve combining with my previous switch user/hold ticket setup triggered by a button.
Here is a screen recording of it in action, again very basic, no orders added etc.
Excuse the unregistered trial, switched to a fresh database for a clean working environment.
Note: this is on my testing laptop so using mouse to show pin entered etc but if using RFID or MSR for login you wouldnt need the onscreen numberpad in POS and would obviously be allot quicker without entering pin number by number.