Bar code mask setup (form)

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack

Click Retail > Setup > Bar codes and labels > Bar code mask setup.

Use this form to set up masks for bar codes. Use bar code masks to create and check bar codes, and to reduce bar code errors.

Task that uses this form

Set up bar code masks

The following tables provide descriptions for the controls in this form.





Define general attributes of bar codes, such as the length.

Bar code mask segment

Define attributes of bar code segments, such as the number of decimal places.




Mask ID

The unique ID of the bar code mask.


A brief description of the bar code mask.


Select a type of bar code mask.

Bar code standard

Select a format for the bar code. For a list of supported formats, see Set up bar code masks.


The characters that represent the bar code. The value in this field consists of the segments that are defined on the Bar code mask segment FastTab, plus the prefix.


The first character that is used in the bar code mask. A prefix is required. We recommend that you set a unique prefix for each bar code mask to prevent overlapping sets of bar codes.


The required length of the bar code. The value in this field is calculated by Retail, and is the sum of the number of characters in the prefix and all segments.

Segment number

Type an identification number for the segment.


Select one of the mask characters that you previously created for bar codes.


Enter the number of characters in the segment. For example, if the segment is used for the item number, type the number of characters in the longest item number that this mask is used for.


The bar code mask character. This field is automatically updated when you select an option in the Type field.


The number of decimal places for the bar code mask. Use this field when item prices and quantities include decimals.

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).