Defining a mask

A mask is a template that specifies the structure of identification codes such as serial numbers, lot codes, handling units, shifts, 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.

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

  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

      Link a mask in the Mask by Item/Item Group/Site (tcibd4505m100) session. If no mask is found, LN uses the mask linked in the Item Base Data Parameters (tcibd9199m000) session. For more information, refer to Masks for serialized items.
    • Lot codes

      1. Link a default mask in the Lot Control Parameters (whltc0500m000) session.
      2. Link a mask in the Mask by Item/Item Group/Site (tcibd4505m100) session.
      3. If no masks are found, LN uses the mask linked in the Item Base Data Parameters (tcibd9199m000) session.
    Note: 

    To link masks for lot codes or serial numbers to items or item groups by site, the multisite concepts must be set to In Preparation or Active in the Concept Activation (tcemm4600m000) session.

    If the multisite concepts are inactive, masks for lot codes and serial numbers are maintained in the Mask by Item/Item Group (tcibd4505m000) session.

    • Handling units

      Link a mask in the Internal Handling Unit Mask field and the Shipment Handling Unit Mask field in the Warehouses (whwmd2500m000) session, or in the Warehouse Master Data Parameters (whwmd0500m000) session.
    • Kanban IDs

      Define a mask in the ID Mask field in the Warehouses (whwmd2500m000) details session, or in the Warehouse Master Data Parameters (whwmd0500m000) session.
    • Shift IDs

      Link a mask in the Shift Mask field in the Availability Types (tcccp0101m000) 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 to start the Translation Tables (tcibd4104s000) session in which you can select the type of segment to be translated into another value. See Defining segment type Infor LN Field for further information about selecting a field whose contents are to be used as a mask segment.
  3. From the appropriate menu, start the Values by Translation Table (tcibd4106m000) session to enter the translation table values.

Using the Masks Setup wizard

If you use the Enterprise Modeler Content Pack with LN, consider using the DCO0010 (Masks Setup) wizard to set up masks. You can execute this predefined wizard from the Wizards by Project Model (tgwzr4502m000) session after you specified the business function model for your company. See Business function model .