Description: Log all of the items in an order, along with the order's ship or receive date
and time, and the quantity of each item in the order. Allows the user to enter the OrderNo, the ship/receive time, and whether
it is an item shipped or an item received once for each order. Once that much is filled out, the user scans in the item number
and fills out the quantity for each item in the order. The user can hit F8 to input a new order, or up arrow to change one of
the fields.
Steps to recreate:
1. Configure the capture file
2. Create the lookup
3. Create all screens and menus
4. Create all fields
5. Create all global variables
6. Fill in all Screen OnEnter/OnExit Scripts
7. Fill in all Field OnEnter/OnExit Scripts
8. Go back and fill in Static Text, Graphical Characters, and boxes to adjust screen appearance to your personal preference.
Capture File:
OrderNo
ShpRcvDateTime
IsShipOrRcv
ItemNum
Qty
Lookup File:
ItemNum
Description
Global Variables:
temp
DT
StartOrderNo
RecType
Screens:
Screen Flash
Static Text: "Welcome"
Screen OnExit:
Wait 5000 ms (5 secs)
Jump to Screen: Menu "Select"
Boxes and Graphical Characters according to personal preferance
Screen Receiving
Screen OnEnter
Operation, Assign directly Value1:Text:"Rcv", store result in RecType
Screen Field Operation, update TypeField with contents of variable RecType
Static Text: "F8 for new receipt"
Static Text: "Leave Item blank to return to Program Menu"
Field ORDERField
Details: Check If not blank, autoenter This will make it so if we are in a current order, ORDERField will not be asked for again, unless the up arrow is hit.
Details: Check Use result as next default value This will cause ORDERField to persist between screen loads
Details: Write to capture OrderNo
Validation: Uncheck unmodified default is invalid, unmodified should be valid
Field OnExit
Screen Field Operation, update temp with contents of field ORDERfield
Branch, if StartOrderNo equals temp then branch to label AndOnRcv
Get Current Date/Time, Store current Date and Time to variable DT
Screen Field Operation, update DTField with contents of variable DT
Operation, Assign dircectly Value1:variable:temp, store the result in StartOrderNo
Label, AndOnRcv
Field TypeField
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 Screen OnEnter script.
Details: Write to capture IsShpOrRcv
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 ORDERField script.
Details: Write to capture ShpRcvDateTime
Field ITEMField
Details: Write to capture ItemNum
Validation: Match value in lookup file Lookup , field ItemNum
OnEnter
Screen Field Operation, update temp with contents of Screen Field ITEMField
OnExit
Variable: CurrentItem
Screen Field Operation, update CurrentItem with contents of Screen Field ITEMField
Branch, if CurrentItem does not equal temp branch to label AndOnRcvItem
Jump to Screen: Menu "Select"
Label, AndOnRcvItem
Field DESCField
Details: Get default value from lookup file Lookup , field Description
Validation, Uncheck unmodified default is invalid, unmodified should be valid
Validation, Uncheck blank field is invalid, this is a lookup field, nothing the user can do about it if it does turn out to be blank
Field QTYField
Details: Write to capture Qty
Input, Input Actions: After Enter or Scan: Save and reload the screen
Boxes and Graphical Characters according to personal preference
Screen Shipping
(Same as Screen Receiving except Static Text wording is different, OnEnter sets RecType to "Shp", and all labels must have new names)
Screen Final
Field BogusExitField
Details: Always AutoEnter
Input, Input Actions: After Enter or Scan: Exit Program