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
      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.
    • 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.
    • Define 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.
    • Define a mask in the Kanban Signal ID Mask field in the Warehouses (whwmd2500m000) details session, or in the Warehouse Master Data Parameters (whwmd0500m000) session.
    • Shift IDs
      Define 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 translate into another value.
  3. From the appropriate menu, start the Values by Translation Table (tcibd4106m000) session to specify the translation table values.
Using the Masks Setup wizard

If you use the DEM Content Pack with Infor 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.