<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/messages" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Messages</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>message</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph class="Default">Messages are language independent software components that allow you to customize dialog messages.</Paragraph>
		<List><ListIntro>For each message, you can specify:</ListIntro>
			<ListItem>The message code. This is the unique identifier of the message across all languages.</ListItem>
			<ListItem>The message type, e.g. "Warning".</ListItem>
			<ListItem>The message. This is the message text which you can edit and translate. This message can contain codes that are substituted when the message is displayed. For details on substitution symbols, refer to the description of the sprintf$() function in the <DocRef>ERP LN 6.1 Programmer's Guide</DocRef>.</ListItem>
		</List>
		<Paragraph class="Default">See the following table for a sample message:</Paragraph>
		<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Message code</TD>
					<TD rowspan="1" colspan="1">Message Type</TD>
					<TD rowspan="1" colspan="1">Language</TD>
					<TD rowspan="1" colspan="1">Message</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD rowspan="2" colspan="1">tipcss0292</TD>
					<TD rowspan="2" colspan="1">Warning</TD>
					<TD rowspan="1" colspan="1">1 (Dutch)</TD>
					<TD rowspan="1" colspan="1">Artikel reeds aanwezig als component in productiestuklijst</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">2 (English)</TD>
					<TD rowspan="1" colspan="1">Item already found as component in production BOM</TD>
				</TR>
			</TBODY>
		</TABLE>
		<List><ListIntro>Messages are used in a variety of places within the application. You can use messages:</ListIntro>
			<ListItem>To replace the default reference error message on table definitions</ListItem>
			<ListItem>Within program scripts and libraries</ListItem>
			<ListItem>To set error messages from a DAL</ListItem>
			<ListItem>As the contents of a form field using the form.text$ function</ListItem>
		</List>
		<Paragraph class="Default">If a message is produced while a session is executing, a dialog box is displayed, and you must click <GUIRef href="" role="manual">OK</GUIRef> to continue. If the session is running in a job, the message is logged in the job history messages.</Paragraph>
		<Figure space-and-orientation="indented-estimated"><HTML:IMG height="278" width="697" SRC="../images/nt_screen_messages1.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_messages1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_messages1.gif" ID="IDALF0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Sample message</FigCaption>
		</Figure>
	</GeneralSection>
	<GeneralSection><SectionTitle>To create messages</SectionTitle>
		<Paragraph class="Default">You can create messages in the <GUIRef href="" role="manual">Messages (ttadv4551m000)</GUIRef> session.</Paragraph>
		<List><ListIntro>For more information, refer to:</ListIntro>
			<ListItem>the Infor Web Help
                                 </ListItem>
			<ListItem>the Message Handling subtopic in the Functions topic in the <DocRef>ERP LN 6.1 Programmer's Guide</DocRef>
			</ListItem>
		</List>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_translate_software_components" role="manual">To translate software components</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
