Defining a mask

A mask is a template that specifies the structure of identification codes such as serial numbers, lot codes, handling units, and Kanban IDs. A mask defines the total length of the identification code and the way the code is divided up. For a mask example, refer to Example of defining a mask.

Defining and using masks
  1. In the Masks (tcibd4102m000) session, define the mask code and description, and the separator between the mask segments.
  2. Select the defined mask code in the Masks (tcibd4102m000) session, and start the Mask Segments (tcibd4503m000) session from the appropriate menu to define mask segments. For more information, refer to Defining mask segments.

    If the segment type is Translation Table, which means that the segment consists of a converted value, you must define a translation table. For more information, see below.

  3. A mask is a general concept in LN to generate identification codes. In places where identification codes are required, you must link a mask:

    • For serial numbers, define a mask in the Mask by Item/Item Group (tcibd4505m000) session. If no mask is found, LN uses the mask defined in the Item Base Data Parameters (tcibd9199m000) session. For more information, refer to Masks for serialized items.
    • For lot codes, define masks in the Lot Control Parameters (whltc0500m000) session. If no masks are found , LN uses the mask defined in the Item Base Data Parameters (tcibd9199m000) session.
    • For handling units, define a mask in the Internal Handling Unit Mask field and the Outbound Handling Unit Mask field in the Warehouses (whwmd2500m000) session, or in the Warehouse Master Data Parameters (whwmd0500m000) session.
    • For Kanban IDs, define a mask in the Kanban ID Mask field in the Warehouses (whwmd2500m000) details session, or in the Warehouse Master Data Parameters (whwmd0500m000) session.
Defining a translation table

If the segment type of a mask segment is Translation Table, the segment's value is translated to another value. The translation table contains the original values and the translated values. To define a translation table, take the following steps:

  1. Define a translation table in the Translation Tables (tcibd4504m000) session. Note that the use of a translation table is not restricted to one mask. You can use a translation table in multiple masks.
  2. Select a translation table In the Translation Tables (tcibd4504m000) session. From the appropriate menu, start the Translation Tables (tcibd4504m000) session to enter the translation table values.