SSCC Label

One of the most often used labels in distribution and SCM businesses is the Serial Shipping Container Code (SSCC) label. However, because the only information that is required on this label is the SSCC barcode, these labels always need to be customized.

To make this easier, FORNAV has added a SSCC label report to the FORNAV Customizable Report Pack. You can 100% customize this using the FORNAV Designer – the underlying AL-report contains no code.

The report has a single data item, “Package No. Information”, and the rest of the information needed to produce the label is retrieved from related JavaScript records:

The three barcodes, which are standard on the report, are of the type EAN128 (also known as GS1-128), and are made up by segments of GS1 Application Identifiers (AIs), where the last barcode contains the SSCC number with application identifier 00. The human readable text for the barcodes uses the OCRB font.

Each EAN128 barcode can contain 64 characters. If one of the barcodes contains AIs that potentially could be longer, you need to add another EAN128 barcode and move one or more AIs to the new barcode. You also have to check if the AIs you are using require a certain string length and/or can only contain digits.

To make it easier to customize the layout, a number of JavaScript variables have been defined in the OnPreDataItem JavaScript trigger and used in the OnAfterGetRecord JavaScript trigger to define a set of AI values, where #xxx is used to add the number of the AI:

These values are then used in the Source expressions on the barcode to add the needed information to the barcode.

For example, Source Expression for the SecondBarcode control:

To add more AIs to the report, you simply add a new “Part” variable to the OnPreDataItem JavaScript trigger, assign it in the OnAfterGetRecord JavaScript trigger, and add it to the source expression on the barcode where you want it.