Walkthrough: Print the customer's GTIN on the warehouse shipment label

Warehouse Management System  •  Article  •  11/25/2026  • 

An item can have several GTINs. When you sell the same item to several customers, each customer can identify the item by its own GTIN, for example because of a different packaging format. By default, the warehouse shipment label prints the barcode of the item, which is the same for every customer.

This walkthrough shows how to record the GTIN of a customer as an item reference, and how to extend the warehouse shipment label so that it also prints the GTIN of the customer that the goods are shipped to. No development is needed. You only add item references and two lines to the label.

The walkthrough uses the following example values. Replace them with your own item, customer, and location.

ValueExample
ItemL1000, base unit of measure PCS, with the bar code reference 54131201012002
Customer61000, Fairway Sound
GTIN of the customer45508469217371
LocationWMS
LabelWHSE.SHIP, the warehouse shipment label

Before you start

  • The WHSE.SHIP label has the Label Type field value Warehouse and the Status field value Certified.
  • A printer is set up for the label on the Label Printer Setup page.
  • When no label software is connected on the Labeling Setup page, each print creates a label output file that you can open on the Label Output Files page.

Record the GTIN of the customer

  1. Select the Search icon , enter Items, and then choose the related link.
  2. Open the item card of item L1000, and then on the action bar, select Related > Item > References. The Item Reference Entries page opens. It shows the bar code reference of the item.
  3. Create a new line and enter the following field values.

    FieldValue
    Reference TypeCustomer
    Reference Type No.61000
    Reference No.45508469217371
    Unit of MeasurePCS
  4. Leave the Label Print checkbox cleared. It is not used for the GTIN of the customer.

When you create a sales order for customer 61000 with item L1000, the Item Reference No. field of the sales line is filled with 45508469217371. When a customer has several item references for the same item and unit of measure, the first reference in alphanumeric order is used.

Create and pick the warehouse shipment

  1. Create a sales order for customer 61000 with a line for item L1000, quantity 4, location WMS, and then release the sales order.
  2. On the action bar, select Create Warehouse Shipment.
  3. On the warehouse shipment, create the pick, and then register the pick. The Document Status field of the warehouse shipment shows Completely Picked.

Labels are printed only for picked quantities. Do not post the warehouse shipment yet.

  1. On the warehouse shipment, on the action bar, select Print label(s).
  2. Select the Search icon , enter Label Output Files, and then choose the related link.
  3. Select the newest line, and then on the Elements FastTab, review the elements. The EAN element holds the barcode of the item, 5413120101200. There is no element with the GTIN of the customer.

The EAN element holds 13 characters. The check digit of the barcode is added when the label is printed.

Extend the label

  1. Select the Search icon , enter Labels, and then choose the related link.
  2. Open the WHSE.SHIP label. If the lines cannot be edited, change the Status field value from Certified.
  3. At the end of the lines, add a line with the following field values.

    FieldValue
    Level1
    Source TypeTable
    Source No.5777

    The Source Name field shows Item Reference.

  4. With this line selected, choose Set Relation, and then enter the following relations.

    Parent Field No.Parent fieldField No.Field
    10ItemNo1Item No.
    12UnitOfMeasureCode3Unit of Measure
    26ShipToType4Reference Type
    27ShipToNo5Reference Type No.

    The label finds the item reference for the item and the unit of measure of the label, with the reference type and the reference type no. of the destination of the warehouse shipment. The Table Relation field of the line shows 71812617.

  5. With the same line selected, choose Set Filter, and then enter the field no. 6 (Reference No.) with a filter that selects only GTIN values, for example 000000000000..99999999999999. The Filters field of the line shows Yes.

  6. Add a line with the following field values.

    FieldValue
    Level2
    Source TypeField
    Source No.6
    DestinationValue

    The caption of the line shows Item Reference.Reference No.

  7. Change the Status field value to Certified.

The filter on the Reference No. field is a text range. A customer item number that starts with a digit, such as 1000, is also inside the range. When a customer has both an item number and a GTIN for the same item and unit of measure, check the label output to make sure that the GTIN is printed.

  1. Open the same warehouse shipment, and then on the action bar, select Print label(s).
  2. On the Label Output Files page, select the newest line, and then review the elements on the Elements FastTab. The Item Reference.Reference No. element holds the GTIN of the customer, 45508469217371. The EAN element still holds 5413120101200, and all other elements, such as the SSCC, lot number, quantity, and warehouse document number, are unchanged.

The label software decides which value is printed as the barcode. For example, the label layout prints the Item Reference.Reference No. element when it has a value, and the EAN element when it is empty. The Item Reference.Reference No. element holds the full GTIN including its check digit, whereas the EAN element holds 13 characters without the check digit. Make sure that the label layout handles the check digit correctly for both elements.

Remove the extension

To go back to the standard label, follow these steps.

  1. On the WHSE.SHIP label, change the Status field value from Certified.
  2. Delete the level 2 line for Reference No. and the level 1 line for Item Reference. The relations and the filter of the level 1 line are deleted with it.
  3. Change the Status field value to Certified.

A new print of the warehouse shipment no longer has the Item Reference.Reference No. element.

Limitations

  • The label uses the first item reference of the customer in alphanumeric order for the item and unit of measure. A different GTIN per sales order is not supported, because the item reference of the sales line is not copied to the warehouse shipment.
  • The label is printed from the warehouse shipment. Labels of production orders have no customer, so they keep the barcode of the item.
  • Outbound EDI messages, such as DESADV and INVOIC, and inbound EDI orders are not covered by this setup.