Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Barcode scanning for inventory taking

Featured Replies

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

 

 

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? 

  • 1 month later...
  • Author

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

can you post your actually script? What field are you using to capture the scan input? What script trigger are you using?

  • Author

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

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?

  • 1 month later...
  • Newbies

Hi bcooney

do you have any sample i can use to try and create my own?

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.