This function is available in version 4.4 and later.

Overview

The function to generate numbers on parts is available in the Manager. It can be used to generate part numbers and numbers which are put on specifications. It also contains support to generate EAN-13 codes with check digit.

Step-by-step guide

To assign a part number or an EAN number to a part follow this procedure:

  1. Select one or several parts in the parts repository.
  2. Right click and select "Assign part number series".
  3. Select the series to be assigned, EAN-13 or part number. Options to select are defined in configuration.

If a selected part already has a part number or an EAN number, that part will not be changed. Thus it is possible to select a large set of parts, also parts that already has part/EAN numbers, and assign them all.

Note that for the function to appear it must be configured, see below.

EAN-13

The EAN function is available in the Manager and used to generate EAN numbers on parts. The function will appear as a menu option in the parts storage and allow to generate an EAN number on the selected parts.

The generated EAN number will be constructed by a block of numbers according to this format:

72 32424 35824 5

The first block of two digits is the country code. The second block of five digits is the manufacturer code. The third block is the sequence number used. The last digit is a calculated check digit.

The EAN number will be added as a specification to the part.

Configuration

Function will appear in the Manager if a correct configuration exist in server.config and a specification type is created in Manager.

Add definition in Server.config

Several series may be configured, and user will then get to choose which series to apply to selected parts. Each series is defined by the following tags:

Note that either AddToSpecification or SetAsPartNumber shall be set to true, not both.


<AutoPartNumberSeriesList>

  <!-- EAN-13 configuration -->
  <AutoPartNumberSeries>
    <Standard>EAN13</Standard>
    <CountryCode>12</CountryCode>
    <ManufacturerCode>12345</ManufacturerCode>
    <ProductCodeFrom>0</ProductCodeFrom>
    <ProductCodeTo>99999</ProductCodeTo>
    <CurrentIndex>32</CurrentIndex>
    <SpecificationTypePersistentId>EAN-13</SpecificationTypePersistentId>
    <AddToSpecification>true</AddToSpecification>
    <SetAsPartNumber>false</SetAsPartNumber>
  </AutoPartNumberSeries>

  <!-- Part number configuration -->
  <AutoPartNumberSeries>
    <Standard>None</Standard>
    <CountryCode>12</CountryCode>
    <ManufacturerCode>12345</ManufacturerCode>
    <ProductCodeFrom>0</ProductCodeFrom>
    <ProductCodeTo>99999</ProductCodeTo>
    <CurrentIndex>0</CurrentIndex>
    <SpecificationTypePersistentId/>
    <AddToSpecification>false</AddToSpecification>
    <SetAsPartNumber>true</SetAsPartNumber>
    <CopyPartNumberToIdentity>true</CopyPartNumberToIdentity>
    <CopyPartNumberToPersistentId>true</CopyPartNumberToPersistentId>
  </AutoPartNumberSeries>
</AutoPartNumberSeriesList>

Create a Specification type in Manager

Crete a new specification type in the Manager. Ensure to give it a persistent ID which matches the persistent ID used in the server.config.

E.g. Create a specification type named EAN and give it persistent ID EAN13 to match the sample configuration above.


Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues