Description: Set up a station to log items moving from Point A
to Point B. Once set up with the Point A and PointB codes, the user simply scans each item as it
moves through the station.
Steps to recreate:
1. Configure the capture file
2. Create the screen
3. Create all fields
4. Create all global variables
5. Fill in all Screen OnEnter/OnExit Scripts
6. Fill in all Field OnEnter/OnExit Scripts
7. Go back and fill in Static Text, Graphical Characters, and boxes to adjust screen appearance to your personal preference.
Capture File:
FromLocation
ToLocation
ItemNum
DateTimeProcessed
Qty
Lookup File:
None
Global Variables:
DT
Screens:
Screen
Static Text: "F8 to start new job"
Field FROMField
Details: Check If not blank, autoenter This will make it so if we are in a current order, FROMField will not be asked for again, unless the up arrow is hit.
Details: Check Use result as next default value This will cause FROMField to persist between screen loads
Details: Write to capture FromLocation
Validation: Uncheck unmodified default is invalid, unmodified should be valid
Field TOField
Details: Check If not blank, autoenter This will make it so if we are in a current order, TOField will not be asked for again, unless the up arrow is hit.
Details: Check Use result as next default value This will cause TOField to persist between screen loads
Details: Write to capture ToLocation
Validation: Uncheck unmodified default is invalid, unmodified should be valid
Field ITEMField
Details: Write to capture ItemNum
OnExit
Get Current Date/Time, Store current Date and Time to variable DT
Screen Field Operation, update DTField with contents of variable DT
Field DTField
Validation, Uncheck unmodified default is invalid, unmodified should be valid
Validation, Uncheck blank field is invalid, this is a generated field, nothing the user can do about it if it does turn out to be blank
Input, Check Field is display only This is a value generated by the ITEMField script.
Details: Write to capture DateTimeProcessed
Input, Input Actions: After Enter or Scan: Save and reload the screen
Boxes and Graphical Characters according to personal preference
Menus:
None
If you want to see the date time after the document has been scanned, you should a WAIT Script Item to the Screen 1's OnExit.