<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/aad/ttaad5102s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Add Session to Job (ttaad5102s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default"> 
                                 Use this session to add a <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> to a <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link>.</Paragraph>
		</AimSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000038" role="manual">To define a job</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/tt/onlinemanual/100010" role="manual">To define a calendar</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000041" role="manual">To run a job</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000042" role="manual">To cancel a job</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000005" role="manual">To use a details session</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="cjob"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Job</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link> identification code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="sequ"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Sequence Number</Title>
			</Header>
			<FuncDesc>This number determines the order of execution. The <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">sessions</Link> with the lowest numbers are executed first. If two sessions have the same sequence number, they are executed in order of session number.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="info"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Information</Title>
			</Header>
			<FuncDesc>A short description of the <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">session</Link> in the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="active"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Active</Title>
			</Header>
			<FuncDesc> 
                                 If this check box is selected, the session is ready to be executed in the job.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="devc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Device</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#100021" role="glossary">device</Link> to which the output of the <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">sessions</Link> is sent. When the device type is <GUIRef href="/baanerp/tt/domains/aad.devt#appd.file" role="option">Append to file</GUIRef> or <GUIRef href="/baanerp/tt/domains/aad.devt#rewr.file" role="option">Rewrite file</GUIRef>, you can enter a file name in the <GUIRef href="/baanerp/tt/aad/ttaad5102s000#file" role="manual">Output file</GUIRef> field.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You cannot send output to a device type <GUIRef href="/baanerp/tt/domains/aad.devt#stepw.display" role="option">Screen</GUIRef>.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="file"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Output file</Title>
			</Header>
			<FuncDesc>The file to which the output of the job is sent. You can only fill this field if the device type is <GUIRef href="/baanerp/tt/domains/aad.devt#appd.file" role="option">Append to file</GUIRef> or <GUIRef href="/baanerp/tt/domains/aad.devt#rewr.file" role="option">Rewrite file</GUIRef>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="aoer"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Action on error</Title>
			</Header>
			<FuncDesc>Specify what ERP LN must do, if this session in the job is not terminated successfully. The following options are available: <Link href="/baanerp/tt/domains/aad.aoer" role="domain">Possible values</Link>
			</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="skie"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Nr. of sessions to skip after error</Title>
			</Header>
			<FuncDesc>Specify the number of <Link href="/baanerp/tt/glossary/glossary#session.tt" role="glossary">sessions</Link> which must be skipped after an error in the session of the <Link href="/baanerp/tt/glossary/glossary#000025" role="glossary">job</Link>. The <GUIRef href="/baanerp/tt/aad/ttaad5102s000#aoer" role="manual">Action on error</GUIRef> field must be set to <GUIRef href="/baanerp/tt/domains/aad.aoer#continue" role="option">Continue</GUIRef>.</FuncDesc>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">0 =</TD>
							<TD rowspan="1" colspan="1">No sessions will be skipped.</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">2 =</TD>
							<TD rowspan="1" colspan="1">The next two sessions will be skipped; the job continues with the third one.</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">If the number of sessions to skip is higher than the number of remaining sessions in the job, the job will be stopped.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="skin"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Nr. of sessions to skip after no error</Title>
			</Header>
			<FuncDesc>Number of sessions to skip if this session runs without error.</FuncDesc>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">0 =</TD>
							<TD rowspan="1" colspan="1">No sessions will be skipped.</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">2 =</TD>
							<TD rowspan="1" colspan="1">The next two sessions will be skipped; the job continues with the third one.</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">If the number of sessions to skip is higher than the number of remaining sessions in the job, the job will be stopped.</Paragraph>
			</SimpleSection>
		</FieldHelp>
	</Fields>
</Session>
