<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/ti/grt/tigrt0195m000" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Item Code Structure (tigrt0195m000)</Title>
	</Header>
	<HelpTopic><AimSection><Paragraph>Use this session to maintain the item-code structure or to list the item-code structure.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph>For each family you can define a structure to generate item codes. SSA ERP distinguishes a fixed and a variable part of the item code:</Paragraph>
			<List><ListItem>The fixed part of the code consists of (part of the) the family code and (parts of) the classification code, up to five features. You can indicate the part of the return value that must be included in the item code by specifying the first position and the number of characters (length).</ListItem>
				<ListItem>The variable part of the code prevents the duplicate item codes from being generated.</ListItem>
			</List>
			<Paragraph>If a number of items have identical properties, the same fixed part of the item is generated. The variable part of the item code serves as a sequence number to distinguish items with identical fixed parts. You can also choose length 0 for the variable part of the item code. In that case all positions of the item code (up to 16) are filled with the family code and the feature codes.</Paragraph>
			<ExampleSection><SectionTitle>Example</SectionTitle>
				<Paragraph>Fixed part of item code:</Paragraph>
				<TABLE border="1"><TBODY><TR><TD>-</TD>
							<TD>-</TD>
							<TD>Position from</TD>
							<TD>Length</TD>
						</TR>
						<TR><TD>Family</TD>
							<TD>char</TD>
							<TD>1</TD>
							<TD>4</TD>
						</TR>
						<TR><TD>Feature 1</TD>
							<TD>FRA frame</TD>
							<TD>1</TD>
							<TD>4</TD>
						</TR>
						<TR><TD>Feature 2</TD>
							<TD>SEA Seat</TD>
							<TD>1</TD>
							<TD>4</TD>
						</TR>
						<TR><TD>Feature 3</TD>
							<TD>-</TD>
							<TD>-</TD>
							<TD>-</TD>
						</TR>
						<TR><TD>Feature 4</TD>
							<TD>-</TD>
							<TD>-</TD>
							<TD>-</TD>
						</TR>
						<TR><TD>Feature 5</TD>
							<TD>-</TD>
							<TD>-</TD>
							<TD>-</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph>Variable part of item code</Paragraph>
				<TABLE border="1"><TBODY><TR><TD>Length of alphanumeric part of serial code</TD>
							<TD>0</TD>
						</TR>
						<TR><TD>Length of numeric part of serial code</TD>
							<TD>0</TD>
						</TR>
					</TBODY>
				</TABLE>
			</ExampleSection>
			<Paragraph>Suppose you give the following answers to the questions that you have defined for the features in the previous example:</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>Feature</TD>
						<TD>FRA</TD>
						<TD>Frame</TD>
					</TR>
					<TR><TD>Question</TD>
						<TD></TD>
						<TD>Answer</TD>
					</TR>
					<TR><TD>What color?</TD>
						<TD></TD>
						<TD>red (re)*</TD>
					</TR>
					<TR><TD>What material?</TD>
						<TD></TD>
						<TD>metal (me)*</TD>
					</TR>
				</TBODY>
			</TABLE>
			<TABLE border="1"><TBODY><TR><TD>Feature</TD>
						<TD>SEA</TD>
						<TD>Seat</TD>
					</TR>
					<TR><TD>Question</TD>
						<TD></TD>
						<TD>Answer</TD>
					</TR>
					<TR><TD>What color?</TD>
						<TD></TD>
						<TD>yellow (ye)*</TD>
					</TR>
					<TR><TD>What material?</TD>
						<TD></TD>
						<TD>cotton (co)*</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>*) the return value that will be included in the item code.</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>The item code will be</TD>
						<TD>CHARREMEYECO</TD>
					</TR>
					<TR><TD>positions 1 to 4 of the family code</TD>
						<TD>CHAR</TD>
					</TR>
					<TR><TD>positions 1 to 4 of Feature 1 (return value 're' and 'me')</TD>
						<TD>REME</TD>
					</TR>
					<TR><TD>positions 1 to 4 of Feature 2 (return value 'ye' and 'co')</TD>
						<TD>YECO</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>In the example, no positions are allocated to the variable code part. If you had reserved, for instance, two alphanumeric and two numeric positions for the variable code part in the above example, the resulting code is: CHARREMEYECOAA00.</Paragraph>
			</Note>
			<Paragraph>By default, SSA ERP fills in the first free letters and figures, in this case AA (alphanumeric) and 00 (numeric). A second item with a fixed part CHARREMEYECO, receives the item code CHARREMEYECOBB11.</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>Related topics</SectionTitle>
			<RelTopic><Link href="/baanerp/ti/onlinemanual/000123" role="manual">Setting up a classification structure in GRT</Link>.</RelTopic>
			<RelTopic><Link href="/baanerp/ti/onlinemanual/000122" role="manual">Classifying items in GRT</Link>.</RelTopic>
			<RelTopic><Link href="/baanerp/ti/onlinemanual/000124" role="manual">Coding and classifying items in GRT</Link>.</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="tigrt095.famc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Family</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/ti/glossary/glossary#000088" role="glossary">family</Link> code, which refers to a family. For each family, the most recent item code is stored.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>Families must be defined in the <GUIRef href="/baanerp/ti/grt/tigrt0103m000" role="session">Families (tigrt0103m000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="tigrt003.desc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Description</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt095.posi"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Family Posn From</Title>
			</Header>
			<FuncDesc>The position in the item code from which a return value is inserted. The minimum value is 0, and the maximum value is 8.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt095.plen"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Family Code Length</Title>
			</Header>
			<FuncDesc>The length of the code that is included in the item code.</FuncDesc>
			<SimpleSection><Paragraph>The minumum value is 1, and the maximum value is 8.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tigrt095.feco"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">1</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/ti/glossary/glossary#000090" role="glossary">feature</Link> code, which refers to a feature. The feature of which the return value is included in the item code.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>Features must already have been defined in the <GUIRef href="/baanerp/ti/grt/tigrt0102m000" role="session">Features by Family (tigrt0102m000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="feco.desc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">1</Title>
			</Header>
			<FuncDesc>The description of the feature.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt095.ser1"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Alph Part Length</Title>
			</Header>
			<FuncDesc>The number of positions in the item code that are occupied by the alphanumeric sequence code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt095.ser2"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Num. Part Length</Title>
			</Header>
			<FuncDesc>The number of positions in the <Link href="/baanerp/tc/glossary/glossary#000001" role="glossary">item</Link> code that are occupied by the numeric sequence code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="feco.length"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Feature Code Length</Title>
			</Header>
			<FuncDesc>The length of the feature.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
