The values for single barcodes read in different pages can be used to dynamically configure other components in the configuration. By using different variations in referencing the page number and location where the barcode is, you can not only refer to a single value but to the concatenation or several values or even all the barcodes read for a document.
Component RRT ID
The RRT ID for this component is L2B.
The syntax used to refer barcode values that were read from the PDF 417 Barcode file is as follows:
Where PageNumber is the image page where the barcode is located and BarcodePositionis the position of the barcode on the page counting from left to right and from top to bottom.
There are some special characters that can be used instead of a specific PageNumber or BarcodePosition, these are:
- * specifies any page number or barcode position.
- -1 specifies the last page or barcode position.
The following table shows examples of possible combinations:
|~L2B::*,BarcodePosition~||This returns the concatenation of all barcode values in BarcodePosition found in any page of the image file.|
|~L2B::PageNumber,*~||This returns the concatenation of all barcode values for any position found in the PageNumber page of the image file.|
|~L2B::-1,-1~||This returns the barcode value of the last barcode in the last page of the image file.|
|~L2B::-1,BarcodePosition~||This returns the barcode value in BarcodePosition found in the last page of the image file.|
|~L2B::*,*~||This returns the concatenation of all barcode values for any position found in any page of the image file.|
If you are using splitting on barcode, the term “last page” refers to the last page of the image file after it has been split.
Refero is an NSI product offering. If you are using barcodes generated by the NSi Refero application, you can reference individual fields with the following syntax:
For example, the RRT string ~L2B::-1,1,InvoiceNumber~ will return the value for the InvoiceNumber field in the first barcode on the last page of the document. Note that the special character * cannot be used for the PageNumber or BarcodePosition when you specify a field name in this manner.