---
title: "Generate Serial Shipping Container Code (SSCC)"
app: "Dynamic Ship"
section: "Set up"
last_updated: "2024-08-19"
url: "https://insight-works.com/kb/dynamic-ship/generate-serial-shipping-container-code/"
---

# Generate Serial Shipping Container Code (SSCC)

Electronic Data Interchange (EDI) applications use Serial Shipping Container Code (SSCC) to uniquely identify packages for electronic commerce transactions. The EDI application almost always generates the SSCC after it has retrieved the data electronically. If the EDI does not generate the SSCC code, your programmer can create an extension to generate it.

Generate a custom SSCC number using the GenerateSSCC function in _IWX Common Base_ from IWX Common codeunit 23044519:

Signature: GenerateSSCC(pcodGS1CompanyPrefix: Code[10]; pcodGS1ExtensionDigit: Code[1]; pcodSerialReference: Code[16]) rcodSSCC: Code[18]

You must pass in the information required to generate the number to Dynamic Ship. This generates the SSCC according to the [specification](https://www.gs1-128.info/sscc-18/). Once generated, there are 3 EDI fields on the license plate (including SSCC) you can use via extension to store this number.

 Note: For On premise instances, you must install a Code128 barcode font. Business Central SaaS now has built in barcode functions to generate Code128 barcodes. See _[Adding Barcodes to Reports](https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-report-add-barcodes)_.
