Canada Post - Track Format |
Scroll |
The Canada Post tracking number is a 16-digit number that consists of a 7-digit character number (Track Header), an 8-digit sequential number, and a MOD 10 check digit. The track format is saved in the track_format table.
Parcel generates tracking numbers for Canada Post carriers using a unique 8-digit sequential number across all carrier services.
Note: For additional information on working with tables in the Parcel Web Admin tool, see the following Help topic: How to Add, Edit, or Delete Table Entries.
Enter Track Format information for the following fields:
In this box... |
Type this... |
Service |
The name of the carrier's service that this Track Format applies to. Type ALL for all services. (ALL is the default value.) |
Track Length |
The total length of the Track string. The default value for TrackLength is 16. |
Track Mod Digit |
The modulus (MOD) for the tracking number check digit algorithm. By default this is 10. The Canada Post module uses this number with its check digit algorithm to verify the tracking number. |
Track Seq Pos |
The position in the tracking number where the Sequential number begins; that is, its index. The default value for this number is 8. |
Track Seq Len |
The length of the sequential number that Parcel appends to the Canada Post Track Header to generate a unique tracking number. The default value for the sequential number is 8. |
Track Check Pos |
The position in the tracking number for the check digit; that is, its index. The default value for this number is 16 (meaning that the check digit is appended to the end of the tracking number). |
Track Check Len |
The length of the check digit appended to the Tracking Number. The default value for length of the check digit is 1. (Using 10 for a modulus causes the check digit to be a number in the range 0-9). |
Track Calc Start |
The position in the tracking number at which the check digit algorithm starts its calculation. By default, this value is 1. |
Track Calc End |
The position in the tracking number at which the check digit algorithm ends its calculation. By default, this value is 15 (Header length plus Sequential Number length). |
Track Header |
The string that represents the header of the tracking number. The TrackHeader is the 7-digit number assigned to each customer by Canada Post. |
Track Header Pos |
The position in the tracking number where the Track Header begins, that is, its index. The default value for this field is 1. |
Track Header Len |
The length of the Track Header string. Since the Header provided by Canada Post consists of 7 digits, this should be 7 by default. |
Track Tail |
The string that represents the “tail” of the tracking number. By default, there is no Track Tail, and so this field has a NULL (blank) entry in the track_format table. |
Track Tail Pos |
The position in the tracking number where the tail begins; that is, its index. Since, by default, there is no Track Tail (see row above), the default value for this field is 0. |
Track Tail Len |
The length of the Track Tail string. Since, by default, there is no Track Tail (see rows above), the default value for this field is 0. |
Track Multiplier |
A string that represents the multiplier used to calculate check sums. |