Pallet label

Here is an example of a pallet label that is created with the Template Editor.

Template editor

How is it created

Custom template

Basic settings

This example label is set up for deliveries on sales orders. We have chosen a custom format for the document in order to define all the document measures freely.

Pallet label: Basic settings

HTML document

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!-- Calculator variables start -->
{% assign labelCount = 0 %}
{% assign labelNumber = 0 %}

{% for line in delivery.lots %}
    {% for sscc in line.ssccs %}
        {% increment labelCount %}
    {% endfor %}
{% endfor %}
<!-- Calculator variables end -->

<!-- labels start -->
{% for line in delivery.lots %}
    {% if line.lot.unit == 'colli' and line.lot.sku.unit_of_measure == 'colli' %}
        {% assign ean = line.lot.sku.ean_uom | prepend: '00000000000000' | slice: -14, 14 %}
    {% else %}
        {% assign ean = line.lot.sku.ean | prepend: '00000000000000' | slice: -14, 14 %}
    {% endif %}
    {% assign batchNumber = '' %}
    {% for trace in line.lot.traces %}
        {% if trace.system == 'batch_number' %}
            {% assign batchNumber = trace.key %}
        {% endif %}
    {% endfor %}
    {% if batchNumber == '' and line.lot.traceable %}
        {% assign batchNumber = line.lot.lot_number_complete %}
    {% endif %}
    {% for sscc in line.ssccs %}
        {% increment labelNumber %}
<page format="100x150">
    <!-- Recipient start -->
    <h3 style="margin-top: 0; margin-bottom: 0;text-align: center;">
        {{ isConvertbleLotUnit }}The Company
    </h3>
    <!-- Recipient end -->
  
    <!-- Line 1 start -->
    <div style="position: absolute; border: solid 0.2mm black; top: 8mm; width: 100%;"></div>
    <!-- Line 1 end -->
    
    <!-- SKU description start -->
    <h5 style="margin-top: 20; margin-bottom: 0;text-align: center;">
        {{ line.lot.sku.sku_code }}: {{ line.lot.sku.global_name }}
    </h5>
    <!-- SKU description end -->
    
    <!-- Line 2 start -->
    <div style="position: absolute; border: solid 0.2mm black; top: 18mm; width: 100%;"></div>
    <!-- Line 2 end -->

    <!-- Labels left column start -->
    <div style="width: 45mm; height: 40mm; top: 20mm; position: absolute;">
        <div style="text-align: left; font-weight: normal; font-size: 10pt;">GTIN:</div>
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            Best before:
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            Temperature:
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            Colli quantity:
        </div>
        {% assign grossWeight = line.lot.sku.weight_factor_gross | times: line.lot.uom_conversion | times: sscc.quantity | plus: 25 %}
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            Gross Weight:
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            Production:
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            Batch/Lot no.:
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: normal; font-size: 10pt;">
            SSCC:
        </div>
    </div>
    <!-- Labels left column end -->

    <!-- Labels right column start -->
    <div style="width: 45mm; height: 40mm; top: 20mm; left: 25mm; position: absolute;">
        <div style="text-align: left; font-weight: bold; font-size: 10pt;">
            {{ ean }}
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ line.lot.dates.best_before | date_format_document }}
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ line.lot.sku.descriptions.storage }}
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ sscc.quantity }}
        </div>
        {% assign grossWeight = line.lot.sku.weight_factor_gross | times: line.lot.uom_conversion | times: sscc.quantity | plus: 25 %}
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ grossWeight | number_format: 2, ',', '.' }}
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ line.lot.dates.manufacturing | date: "%d-%m-%Y" }}
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ batchNumber }}
        </div>
        <div style="margin-top: 5;text-align: left; font-weight: bold; font-size: 10pt;">
            {{ sscc.sscc }}
        </div>
    </div>
    <!-- Labels right column end -->

    <!-- Line 3 start -->
    <div style="position: absolute; border: solid 0.2mm black; top: 68mm; width: 100%;"></div>
    <!-- Line 3 end -->
    
    <!-- Bar codes start -->
    <div style="width: 45mm; height: 50mm; top: 70mm; position: absolute;">
        <div style="text-align: center;">
        <barcode value="[FNC1]02{{ ean }}15{{ line.lot.dates.best_before | date_format_gs1_ai }}37{{ sscc.quantity }}" label="(02){{ ean }}(15){{ line.lot.dates.best_before | date_format_gs1_ai }}(37){{ sscc.quantity }}" style="width: 90mm;  height: 16mm;" type="C128" />
    </div>
    <div style="margin-top: 3mm;text-align: center;">
        <barcode value="[FNC1]10{{ batchNumber }}" label="(10){{ batchNumber }}" style="width: 30mm;  height: 16mm;" type="C128" />
    </div>
    <div style="margin-top: 3mm; text-align: center;">
        <barcode value="[FNC1]00{{ sscc.sscc }}" label="(00){{ sscc.sscc }}" style="width: 55mm; height: 16mm;" type="C128" />
    </div>
    </div>
    <!-- Barcodes end -->
</page>
    {% endfor %}
    {% if  line.ssccs.size == 0 %}
<page format="100x150">
    <h1 style="color: red;">
        No SSCC for {{ line.lot.lot_number_complete }}
    </h1>
</page>
    {% endif %}
{% endfor %}
<!-- labels end -->