Velocity, Scripting: Append data to the end of a barcode

Version 1

    this document goes over appending data to the end of a barcode.

     

    1. Append data

         a. This script will append data to the end of a scanned barcode

              i. the Script

    function onScan(event)

    {

       

                   event.data = event.data.concat(endData);

     

    }

     

    WLEvent.on("Scan", onScan);

              ii Parameters:

                   a. variable name: endData

                   b. Display name: endData

                   c. String Checked:

                        i. String Name: endData, Value: "Your Value"