<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ec/onlinemanual/000019" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Using a single ASCII file</Title>
		<Keyword><Level1>ASCII files</Level1>
		</Keyword>
		<Keyword><Level1>Conversion setups</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>You can define relationships by specifying the common parts (keys) of two levels, and the related level must be specified for each separate level. Levels that are related to other levels are always sequential, but levels without relationships with other files are always iterative.</Paragraph>
		<ExampleSection><SectionTitle>Example</SectionTitle>
			<Paragraph>In case of a Single file layout, there is one file with five levels and a unique level identifier per level:</Paragraph>
			<TABLE border="1"><THEAD><TR><TD>Level</TD>
						<TD>File</TD>
						<TD>Level Identifier</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD>-1</TD>
						<TD>orders</TD>
						<TD>ENV</TD>
					</TR>
					<TR><TD>-2</TD>
						<TD>orders</TD>
						<TD>MISC</TD>
					</TR>
					<TR><TD>-3</TD>
						<TD>orders</TD>
						<TD>HEADER</TD>
					</TR>
					<TR><TD>-4</TD>
						<TD>orders</TD>
						<TD>ADDRES</TD>
					</TR>
					<TR><TD>-5</TD>
						<TD>orders</TD>
						<TD>LINE</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Formula><Paragraph UserLevel="Novice" UserType="Taskuser">  
   
                      +----------------+
                      | 1 (sequential) |
                      +----------------+
                              |
          +------------------------------------------+
          |                                          |
 +---------------+                          +----------------+
 | 2 (iterative) |                          | 3 (sequential) |
 +---------------+                          +----------------+
                                                     |
                                    +---------------------+
                          +---------------+    +---------------+
                          | 4 (iterative) |    | 5 (iterative) |
                          +---------------+    +---------------+
</Paragraph>
			</Formula>
			<Paragraph>You cannot refer to a related (parent) level file with a higher level number than that of the current level.</Paragraph>
		</ExampleSection>
	</GeneralSection>
</ManualTopic>
