<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/aad/ttaad4537s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Display Enum Constants (ttaad4537s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default"> 
                                 Use this session to choose an Enum Constant that can be used in a condition.</Paragraph>
		</AimSection>
		<GeneralSection><Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">If you have started this session by zooming, you can only find and select a record.</Paragraph>
			</Note>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000001" role="manual">To use an overview session</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="ttadv401.cnst"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Constant</Title>
			</Header>
			<FuncDesc>Specifies the constant that represents the internal enumerated field value. It determines the sequence in which the enum descriptions will be displayed at runtime. If an index includes/consists of an enumerate field, the constant also determines the sequence of records according to the index.</FuncDesc>
			<SimpleSection><Paragraph class="Default">You can also use greater than (&gt;) and less than (&lt;) expressions in scripts:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TH colspan="2" rowspan="1">Example</TH>
						</TR>
						<TR><TH rowspan="1" colspan="1">Domain:</TH>
							<TD rowspan="1" colspan="1">tryesno</TD>
						</TR>
						<TR><TH rowspan="1" colspan="1">possible values:</TH>
							<TD rowspan="1" colspan="1">yes with constant number 1</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1"></TD>
							<TD rowspan="1" colspan="1">no with constant number 2</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">The expression "tryesno.no &gt; tryesno.yes" is true.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttadv401.ctnm"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Constant Name</Title>
			</Header>
			<FuncDesc>Specifies the constant name.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The constant name combined with the package code and domain code is used to refer to an enumerated constant in scripts or expressions on forms and reports.</Paragraph>
				<Paragraph class="Default"> 
                                    Example package code : ti domain code : yesno constant name: yes</Paragraph>
				<Paragraph class="Default">To define for example the constant name "yes" in a form field with the domain code "Contrabtiyesno", use the expression "tiyesno.yes".</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="edes"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Description</Title>
			</Header>
			<FuncDesc>Specifies the description of the Enum Constant.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
