Set up bar code mask characters
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack
Bar code mask characters are alphabetical characters that are replaced with numbers when Microsoft Dynamics AX uses a bar code mask to generate a bar code. Use different bar code mask characters to generate different types of bar codes, such as bar codes for products, customers, or employees. A single mask character, such as a mask character that represents the item number, can add several characters to the bar code.
If you create all your bar codes manually, you do not have to set up mask characters or masks. If you manually create a bar code for a product for which a bar code mask is set up, mask validation is performed only for the check digit. If the check digit does not match the check digit in the bar code mask, you receive an error message that resembles the following message:
"Expecting check digit 8 but found 3."
Click Retail > Setup > Bar codes and labels > Mask characters.
Press CTRL+N to create a new bar code mask character.
In the Type field, select the type of mask character. Then, in the Character field, type a character between A and Z.
In the Description field, type a description of the mask character.