<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/dm/onlinemanual/000029" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Defining Object Masks</Title>
		<Keyword><Level1></Level1>
			<Level2></Level2>
		</Keyword>
		<Keyword><Level1></Level1>
		</Keyword>
		<Keyword><Level1></Level1>
			<Level2></Level2>
		</Keyword>
	</Header>
	<GeneralSection><GeneralSection><SectionTitle>Mask Codes</SectionTitle>
			<Paragraph>You can define mask codes for every object defined in ODM. One or more mask codes can be defined for every object. The mask code is system data that identifies the mask configuration to be used for the object attribute. If more than one mask code is defined for an object, SSA ERP determines which mask configuration of the active mask code will be used in each situation. One exception applies to the doc_rev and fldr objects that will have two mask codes. These two mask codes are required to generate the temporary revision and permanent revision in case of document revision and folder ID and folder revision in case of folders.</Paragraph>
			<Paragraph>The <GUIRef href="" role="manual">ERP administrator</GUIRef> can modify the default mask supplied by the system, or specify a mask if none was supplied.</Paragraph>
			<Paragraph>If having a separate mask configuration is unnecessary, you can specify a default value and the mask is generated according to the specified value.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Mask Configurations</SectionTitle>
			<Paragraph>For each object attribute that supports masks, to specify the format to be used to generate values, you can define a mask configuration for the mask code.</Paragraph>
			<Paragraph>The mask configuration includes a mask that is composed of one or more mask template segments. Four types of mask template segments can be used to generate the mask configutaions:</Paragraph>
			<List><ListItem>Fixed</ListItem>
				<ListItem>Generated</ListItem>
				<ListItem>System Variable</ListItem>
				<ListItem>Reference Variable</ListItem>
			</List>
			<Paragraph>You must use at least one generated segment template while you create a mask configuration for a object mask. Use a pound sign (#) in the generated segment to generate numbers and use an asterisk in the generated segment to generate characters. If a mask contains more than one generated segment, the user must specify the incremented segment. For example, if the mask code for folder versions contains two generated segments, then when a user creates a new folder revision, the user can increment the relevant segment of the mask configuration to indicate whether the revision is a major revision or a minor revision.</Paragraph>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/dm/onlinemanual/000028" role="manual">Object Masks</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/dm/onlinemanual/000033" role="manual">Mandatory and Optional ODM Object Masks</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
