<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/domains" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Domains</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>domain</Level2>
		</Keyword>
	</Header>
	<GeneralSection><List><ListIntro>Domains are components that define common information about data such as:</ListIntro>
			<ListItem>data type, e.g. string, long, double, date, UTC, enumerated</ListItem>
			<ListItem>length</ListItem>
			<ListItem>alignment of a string</ListItem>
			<ListItem>valid ranges</ListItem>
			<ListItem>(default) display format and capitalization rules</ListItem>
		</List>
		<Paragraph class="Default">Domains insure consistent data types for fields and variables. Domains can be linked to table fields, form fields, and program variables.</Paragraph>
		<Paragraph class="Default">The following table shows some domains of the tc (Common) package.</Paragraph>
		<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD colspan="3" rowspan="1">Domains for tc package</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">Domain</TD>
					<TD rowspan="1" colspan="1">Description</TD>
					<TD rowspan="1" colspan="1">Type</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD rowspan="1" colspan="1">emno</TD>
					<TD rowspan="1" colspan="1">Employee Number</TD>
					<TD rowspan="1" colspan="1">String</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">relc</TD>
					<TD rowspan="1" colspan="1">Reconciliation Element</TD>
					<TD rowspan="1" colspan="1">String</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">reop</TD>
					<TD rowspan="1" colspan="1">Reorder Point</TD>
					<TD rowspan="1" colspan="1">Long</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">rntp</TD>
					<TD rowspan="1" colspan="1">Run Type</TD>
					<TD rowspan="1" colspan="1">Enumerated</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">rutm</TD>
					<TD rowspan="1" colspan="1">Run Time in Minutes</TD>
					<TD rowspan="1" colspan="1">Double</TD>
				</TR>
			</TBODY>
		</TABLE>
		<Figure space-and-orientation="indented-estimated"><FigIntro>The following figure shows the details of the tc emno (Employee Number) domain.</FigIntro>
			<HTML:IMG height="662" width="658" SRC="../images/nt_screen_domains1.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_domains1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_domains1.gif" ID="IDARB0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Domain properties Example</FigCaption>
		</Figure>
		<List><ListIntro>Domains of type Enumerated or Set have constants with language-dependent descriptions. Each constant has three characteristics:</ListIntro>
			<ListItem>Numeric value that is stored in the database</ListItem>
			<ListItem>Constant Name that the programmer can use</ListItem>
			<ListItem>Constant Description that provides the description of the option to the user, in the language of the user</ListItem>
		</List>
		<Paragraph class="Default">For example: the tc styp (Schedule type) domain has the following constants:</Paragraph>
		<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Constant</TD>
					<TD rowspan="1" colspan="1">Constant Name</TD>
					<TD rowspan="1" colspan="1">Description</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD height="20" rowspan="1" colspan="1">1</TD>
					<TD height="20" rowspan="1" colspan="1">not.applicable</TD>
					<TD height="20" rowspan="1" colspan="1">Not Applicable</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">2</TD>
					<TD rowspan="1" colspan="1">pull</TD>
					<TD rowspan="1" colspan="1">Pull Schedule</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">3</TD>
					<TD rowspan="1" colspan="1">push</TD>
					<TD rowspan="1" colspan="1">Push Schedule</TD>
				</TR>
			</TBODY>
		</TABLE>
	</GeneralSection>
	<GeneralSection><SectionTitle>To create domains</SectionTitle>
		<Paragraph class="Default">You can create domains in the <GUIRef href="" role="manual">Domains (ttadv4500m000)</GUIRef> session.</Paragraph>
		<Paragraph class="Default">For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_a_data_model" role="manual">To create a data model</Link>.</Paragraph>
	</GeneralSection>
</ManualTopic>
