When scanning barcodes, especially 2d bar codes, the values can be parsed automatically into document type and keywork type information via the use of a VB script. The VB scripts are written by the users or solution provider, and assigned to the bar code process.
A zip file containing a detailed configuration document, and sample scripts and images can be found here.