Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Barcode Inventory?


This topic is 8145 days old. Please don't post here. Open a new topic instead.

Recommended Posts

The secret is to select a barcode scanner, wand, wedge that allows you to program a preamble to be appended before the code scanned and a postscript appended after the code scanned. What I do is set the Preable to Command-1 and the Postscript to Command-2, so that the Preable triggers the first displayed script and the Postscript the second displayed script.

The first script (Preamble triggered) might take you to a global field, the value is scanned into the field, and the second script (Postscript triggered) performs any processing of the global field value (add records, compare entries, increment values, whatever). The only other thing to watch out for is the fact that you can scan fast enough to trigger a script again before it is complete. You must use flag fields to explicitly prevent this.

-bd

Link to comment
Share on other sites

Another way is to start a script BEFORE you start scanning. The script can loop if you need to scan a bunch of items.

Have the script put you into a global field, gScan, and Pause Script. Then you scan something, and most bar code readers have a function for entering Return or Enter, which will continue your script.

This is a little simpler to implement than LiveOak's way (though not necessarily better) and does not require that the scan scripts be in the script menu.

When the script continues, you would do something like...

If (IsValid(gScan::Item))

. Set Field (Qty, Qty + 1)

Else

. New Record

. Set Field (Item, gScan)

. Set Field (Qty, 1)

End If

Set Field (gScan, "")

Link to comment
Share on other sites

  • 2 months later...
  • Newbies

Where it is to be used in a checkout I set up the Qty as an autoenter of "1" and require the operator to scan each item. This prevents counting mistakes.

In other situations they can enter the Qty manually, or hit a barcoded list of Quantities beside their station.

Link to comment
Share on other sites

This topic is 8145 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.