Jump to content
Server Maintenance This Week. ×

Barcode scanning for inventory taking


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

Recommended Posts

Hi guys,

 

I am trying to create a very basic script that would allow for continues scanning, but don’t seem to be able to figure out how to get the script to work.

i set a script trigger to execute on exit with the following script.

new record

go to filed [item_code]
 

the idea is so when I scan an item the scanner will add a return at the end exiting the field, and so triggering to run the script over.

all I get is an endless loop.

 

thanks

 

 

Link to comment
Share on other sites

Typically, the barcode scan is nothing more than a Find by barcode. I typically have a button that opens a card window with a global field and place the user in that field. They are now ready to scan. The scanner is configured to add a return at the end of the scan. That exits my field and an OnObjectSave runs a script that performs a find for the item.

What you do next is up to your "Inventory taking" workflow. Set a Date Inventoried to Get ( CurrentDate)? Create a new record in a InventoryLog table? 

Link to comment
Share on other sites

  • 1 month later...

Thanks,

I don't really need any controls, all i need is the ability to scan a barcode and once the field exits a new record is created and wait for the next scan. The issue i am having is once i execute the script either using trigger on exit or enter it goes into an endless loop cretating indefinite records.  

 

Thanks

Link to comment
Share on other sites

Thanks,

The only steps I have on my script are;

new Record/Request

Commit Records/Requests [with dialog:off]

Go to Field [inventory Collection::ItemCode]

 

For trigger I have tried;

OnObjectSave

and

OnObjectExit

All i get is a loop creating a record. 

 

Thanks

for you help

Link to comment
Share on other sites

Going back to your first post...your goal is to scan a barcode and create a new record setting the barcode you scanned into the item code field?

Do you have a global field for receiving the scanned data?

Link to comment
Share on other sites

  • 1 month later...

This topic is 1566 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.