Barcode Formats

Barcode Formats

Barcode Formats

In TransVirtual you have the ability to add in 'Barcode Format Rules' which are essentially rules that explain what a Barcode is made of, and thus how the system should read it when scanned. 
If you are having trouble scanning freight it could be that the barcode is in a different format to what the system is expecting, which means when scanned, the scan will register as an unknown scan and will not appear against the consignment you have scanned.
This article will explain how Barcode Formats can be created.
To see the Barcode Format page go to Configuration > General > Barcode Formats, the barcode format rules will display as shown below.
                                     

Barcode Format Overview

1. When you see Barcode format rules, on the right side you can see the format rules as shown below.
                                    

2. Typically, barcode values are simply the consignment number plus the index of the item.
For Example, a consignment with 3 items might be numbered "009583". In this case, the first item would have a barcode value of 009583001, the second item would have a barcode value of 009583002 and the 3rd item would have a value of 009583003. The 3 digits at the end of the barcode value are the item index (what item on the consignment it is). On a label, this would look something like the below:
                                                                                                                                    

3. The Shared Global Formats section on the right of the page are default rules that tend to cover most of the common Barcode Formats you will encounter. 


Creating a New Barcode Format Rule

1. To create a new Barcode Format Rule, on barcode format rules page, click on the Add Format button, create or edit are required barcode format popup will display as shown below.

                                                                  

2. Now, first select the field with the help of drop-down as shown above.
3. Now click on the Next button to add that to your Scan Format section as shown below.
                                                                                                


Here, in the Scan Format Creation wizard section, you can see Number Properties but it can be change if we select anything except number in Field name.

4. Now fill the detail as describe below.

a. Prefix Scanned Number with: This field is a way to add a prefix to a barcode scan value.
For example, if freight for a certain customer or carrier always has a prefix of HCF before the consignment number in the barcode value, you could add HCF to this section so that the system would then correctly read the barcode. If consignment number '1234' had a physical label of HCF1234001, you can see that the consignment number is prefixed with HCF. In this scenario you'd need to add HCF as a prefix to the number for the scan to correctly apply to the consignment. 

b. PostFix Scanned Number with: A way to add a postfix value to the end of the number value.
For example, if freight for a particular customer/carrier always has the consignment number and then HCF as part of the barcode label value, then the index value, you'd need to add HCF to the postfix section of the number field; an example might be 1234HCF001 for consignment number '1234'. In this example the barcode value is consignment number (number) followed by HCF then the item index. 
If you select anything else except Number in Field Name, follow the instructions as describe below.

Description of Rest of the Field Name

A. Ignore Field Name

1. Refer below example when you select the Field Name as Ignore.
2. To do this, click on Add Format and then Select Field name as Ignore and then click on Next button as shown below.

                                                                                             

3. Now manually enter the Number of Characters to Ignore, in this example we are keep it 7.
4. Now, click on Update or Add button, the selected barcode format will be added in Barcode Formats list as shown below.

                                                



B. Index Field Name

1. If you use the Index option in Field Name, allows you to specify how many characters/digits make up an item index and where this sits in a barcode value.
2. The most common example is a barcode value where it is simply the consignment number followed by the item index which is usually 3 digits.
For Example: If a consignment '1234' has two items. The barcode format for this would be [Number][Index:3] and the barcodes for this consignment would look like "1234001" and "1234002".   

3. If required, you have the ability to specify an index that is an alphabetical value also as shown below.

                                                                                                            

4. Click on the toggle to keep it in Yes position and then specify how many characters the index will apply to (1, 2, 3, etc) as shwon above.
An example of this might be a consignment with two items. The consignment number is 1234. Using alphabetical indexing, the Barcode Format may look like [Number][Index:2 a[ and the barcode values could be '1234AA' and '1234AB'.


C. Receiverpostcode Field Name

1. Using the Receiverpostcode option from the rule creation window you can specify how many digits (usually 4 in Australia) of the barcode value are a receiver postcode and where it belongs in the barcode value.
For Example: If a barcode value of 12340012323 and suppose consignment number is 1234 which are the first four digits. This barcode value has a numerical index of 3 characters after the number and the last 4 digits are the receiving postcode for the consignment. The formatting for this example may look something like:

[Number][Index:3][Receiverpostcode:4]

Typically, the postcode length will be 4 digits long as postcodes in Australia are 4-digit values. 

D. SetValue Field Name

1. Using the SetValue from the drop-down list allows you specify a set value that will always appear in a barcode format.
For Example: A barcode value of 1234THISISATEST001 is the consignment number followed by a set text value and then a 3-digit numerical index value.
The formatting for this may look something like:

[Number]THISISATEST[Index:3]


Limitations


1. You can limit your rule so that it only applies to a particular Customer or Sender, to do this, when creating Barcode Format Rules, click on Limitations button, the limitation detail tab will open as shown below.

                                                                                    

                                                                        

This limitation function is useful because there may be situations where a particular barcode format rule may apply to more than one customer, but it shouldn't. 

2. In this scenario you would specify a customer to limit your Barcode Rule to so that there is no possibility that scans are incorrectly matched to the wrong consignment for the wrong customer.
3. To limit your rule to a Customer or Sender simply enter the customer's name or sender name that this rule applies to and ensure that what has been entered is an exact match to the customer/sender you want it limited to.
Spelling errors in these limitations will cause issues and the rule will not work as expected.



    • Related Articles

    • Transvirtual Standard XML Import V1.0

      XML Import Sending XML consignment data to TransVirtual using the following format is the most efficient and cost effective option. <Consignments> <Consignment> <ConsignmentNumber>ABDEM90241Aasdasdas</ConsignmentNumber> ...
    • Introduction to the Transvirtual API

      Introduction The REST API is an HTTP interface to TransVirtual. Using REST, you use standard HTTP requests to create, fetch and delete data from your TransVirtual account. You can use any toolkit that supports HTTP to use the REST API. The REST API ...
    • Global Setup

      Global Setup General General Field Descriptions This section allows you to define default general settings for mobile devices. Auto Updates Enabled: As updates to the mobile application are rolled out, notifications will be automatically sent to the ...
    • Load Vehicle with Item Scanning

      Load Vehicle with Item Scanning 1. In the TMS mobile app, home screen, tap on the Load icon to open the Load screen. 2. On Load page, tap on the Camera icon to scan the barcodes or manually enter the barcode(s) label(s). If you have multiple barcodes ...
    • Integration Requests

      When requesting an integration setup, there is certain information that the Transvirtual team needs to know to process your request. This article will further explain the information we require and also include links to our standard accepted data ...