Tag Provider Layout:
Binding to text field (the idea is to have the option to scan the serial number or type it manually):
Session Events Script:
Button onClick Event: