<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tc/onlinemanual/000310" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">To define mask segments</Title>
	</Header>
	<GeneralSection><List><ListIntro>When you define the mask segments in the <GUIRef href="/baanerp/tc/ibd/tcibd4103s000" role="session">Mask Segments (tcibd4103s000)</GUIRef> session, note the following points:</ListIntro>
			<ListItem>The segment order</ListItem>
			<ListItem>The mask length</ListItem>
			<ListItem>The segment types</ListItem>
			<ListItem>The reset frequency</ListItem>
		</List>
		<GeneralSection><SectionTitle>The segment order</SectionTitle>
			<Paragraph>The segments appear in the mask in the order of their segment number. The segment numbers need not be consecutive.</Paragraph>
			<Paragraph>SSA ERP generates the segment numbers 10, 20, 30, and so on. If you wish, you can change the default number. For example, you can enter the segment number 25 to define a new segment that must appear between the existing segments 20 and 30.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>The mask length</SectionTitle>
			<Paragraph>When you define the mask segments, SSA ERP displays a default segment length in the <GUIRef href="/baanerp/tc/ibd/tcibd4103s000" role="session">Mask Segments (tcibd4103s000)</GUIRef> session. For some segment types you can overtype the default segment length.</Paragraph>
			<Paragraph>SSA ERP also composes the total mask length, in a number of positions. The total length of the serial number is the sum of the segment lengths plus the number of separators used.</Paragraph>
			<Paragraph>The following maximum lengths apply to serial numbers depending on their usage:</Paragraph>
			<TABLE border="1"><THEAD><TR><TD>Usage</TD>
						<TD>Maximum mask length</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD>Serialized items</TD>
						<TD align="right">30</TD>
					</TR>
					<TR><TD>Serial lot-numbers</TD>
						<TD align="right">20</TD>
					</TR>
					<TR><TD>Warehousing labels</TD>
						<TD align="right">18</TD>
					</TR>
				</TBODY>
			</TABLE>
		</GeneralSection>
		<GeneralSection><SectionTitle>The segment types</SectionTitle>
			<Paragraph>When you select the segment type, SSA ERP enables the fields that you must enter for the segment. For details, consult the <GUIRef href="/baanerp/tc/ibd/tcibd4103s000#tcibd403.sety" role="formfield">Segment Type</GUIRef> field Help.</Paragraph>
			<Paragraph>If the segment contains a converted value, you must select the <GUIRef href="/baanerp/tc/domains/ibd.sety#function" role="enum">Translation Table</GUIRef> type and a translation table. The translation table's segment type determines the type of information (option, baan field, or date) represented in the segment.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>The reset frequency</SectionTitle>
			<Paragraph>If the mask contains a <GUIRef href="/baanerp/tc/domains/ibd.sety#date" role="enum">Date</GUIRef> type segment and a <GUIRef href="/baanerp/tc/domains/ibd.sety#sequence" role="enum">Sequence</GUIRef> type segment, you can specify the <GUIRef href="/baanerp/tc/ibd/tcibd4103s000#tcibd403.rfrq" role="formfield">Reset Frequency</GUIRef>. When the reset period expires, SSA ERP resets the sequence number to 1.</Paragraph>
			<Paragraph>The reset period must be the same as the period that you selected for the date segment. If the mask contains more than one date segment, you can select any of the date-segment periods as the reset frequency.</Paragraph>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000305" role="manual">To define a mask</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000309" role="manual">Example of defining a mask</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
