<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/ti/grt/tigrt0137m000" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Constraints (tigrt0137m000)</Title>
	</Header>
	<HelpTopic><AimSection><List><ListIntro>Use this session to list or define <Link href="/baanerp/ti/glossary/glossary#000093" role="glossary">constraints</Link>. If you define <Link href="/baanerp/ti/glossary/glossary#000093" role="glossary">constraints</Link>, you must define the constraint lines in a specific syntax. A constraint consists of the following components:</ListIntro>
				<ListItem><GUIRef href="/baanerp/ti/domains/grt.cpar#if" role="enum">If</GUIRef> (condition).</ListItem>
				<ListItem><GUIRef href="/baanerp/ti/domains/grt.cpar#then" role="enum">Then</GUIRef> (action).</ListItem>
				<ListItem><GUIRef href="/baanerp/ti/domains/grt.cpar#else" role="enum">Else</GUIRef> (action) (not mandatory).</ListItem>
			</List>
		</AimSection>
		<GeneralSection><ExampleSection><SectionTitle>Example</SectionTitle>
				<Paragraph>If the color of the seat is red Then the material of the seat is cotton Else the material of the seat is linen</Paragraph>
			</ExampleSection>
			<List><ListIntro>In the <GUIRef href="/baanerp/ti/domains/grt.cpar#if" role="enum">If</GUIRef> component of the constraint you formulate one of the following:</ListIntro>
				<ListItem>A comparison between an aspect and a value.</ListItem>
				<ListItem>A comparison between a calculation result and a value. (Depending on whether the result of the comparison is True or False, the constraint executes the <GUIRef href="/baanerp/ti/domains/grt.cpar#then" role="enum">Then</GUIRef> component or the <GUIRef href="/baanerp/ti/domains/grt.cpar#else" role="enum">Else</GUIRef> component.)</ListItem>
			</List>
			<List><ListIntro>An action ( <GUIRef href="/baanerp/ti/domains/grt.cpar#then" role="enum">Then</GUIRef> or <GUIRef href="/baanerp/ti/domains/grt.cpar#else" role="enum">Else</GUIRef> ) describes:</ListIntro>
				<ListItem>The selection of a value for an aspect.</ListItem>
				<ListItem>The exclusion of a number of possible values, depending on the values of preceding aspects.</ListItem>
			</List>
			<GeneralSection><SectionTitle>Specific menu</SectionTitle>
				<Paragraph>If you click Make Sequence Number Consecutive on the <GUIRef href="" role="menu">Specific</GUIRef> menu, the sequence numbers of the constraint lines are consecutive. For example, if you have two constraint lines with sequence numbers 1 and 3, and you carry out this command, the constraint lines receive the sequence numbers 1 and 2.</Paragraph>
			</GeneralSection>
			<Paragraph>If you start the <GUIRef href="/baanerp/ti/grt/tigrt0586m000" role="session">Constraints (translated) (tigrt0586m000)</GUIRef> session from the <GUIRef href="" role="menu">Specific</GUIRef> menu, you see a more user-friendly translation of the constraint.</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>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="tigrt037.cons"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Constraint ID</Title>
			</Header>
			<FuncDesc>The code that identifies a <Link href="/baanerp/ti/glossary/glossary#000093" role="glossary">constraint</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt036.desc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Constraint ID</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt037.cpar"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Part of Constraint</Title>
			</Header>
			<FuncDesc>A constraint can consist of three components. You can define constraint lines for each constraint component.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt037.psre"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Ser No.</Title>
			</Header>
			<FuncDesc>The sequence number that identifies a constraint line in a constraint component.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt037.feco"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Feature/ Aspect</Title>
			</Header>
			<FuncDesc>A feature or a specific aspect (if there is more then one aspect linked to the feature) to which the constraint component applies. If there is more than one aspect linked to a feature, the aspect number in the <GUIRef href="/baanerp/ti/grt/tigrt0137m000#tigrt037.part" role="formfield">Aspect</GUIRef> field distinguishes the different aspects.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>You can define features in the <GUIRef href="/baanerp/ti/grt/tigrt0101m000" role="session">Features (tigrt0101m000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="tigrt037.calc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Calculation ID</Title>
			</Header>
			<FuncDesc>A code to identify a <Link href="/baanerp/ti/glossary/glossary#000092" role="glossary">calculation</Link>. The constraint component applies to this calculation.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>You can define calculations in the <GUIRef href="/baanerp/ti/grt/tigrt0132m000" role="session">Calculations (tigrt0132m000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="tigrt037.part"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Aspect</Title>
			</Header>
			<FuncDesc>If there is more than one aspect linked to a feature, the aspect number distinguishes the different aspects.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt004.desc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Aspect</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="feco.calc.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="tigrt037.code"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Value</Title>
			</Header>
			<FuncDesc>The value with which the aspect or the calculation result is compared.</FuncDesc>
			<SimpleSection><Paragraph>The entered value is either a return value in the answer group that is linked to the aspect, or an answer to the calculation.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="answer.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Answer</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt001.desc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Feature</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt037.oper"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Operator</Title>
			</Header>
			<FuncDesc>The arithmetic symbol that is used in the constraint.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="tigrt037.eprs"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Expression</Title>
			</Header>
			<FuncDesc>Expression signs indicate the relation between two consecutive constraint lines. The ampersand (&amp;) has priority over the V sign.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
