<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ec/onlinemanual/000019" xml:lang="en">
   <Header>
      <Title>Using a single ASCII file</Title>
      <Keyword type="header" order="d1e331195">
         <Level1>ASCII files</Level1>
      </Keyword>
      <Keyword type="header" order="d1e331198">
         <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" borderstyle="default" space-and-orientation="indented-estimated">
            <THEAD noTR="1">
               <TR no="1" isLast="true">
                  <TD rowspan="1" colspan="1">Level</TD>
                  <TD rowspan="1" colspan="1">File</TD>
                  <TD rowspan="1" colspan="1">Level
				  Identifier</TD>
               </TR>
            </THEAD>
            <TBODY noTR="5">
               <TR no="1" isLast="false">
                  <TD rowspan="1" colspan="1">-1</TD>
                  <TD rowspan="1" colspan="1">orders</TD>
                  <TD rowspan="1" colspan="1">ENV</TD>
               </TR>
               <TR no="2" isLast="false">
                  <TD rowspan="1" colspan="1">-2</TD>
                  <TD rowspan="1" colspan="1">orders</TD>
                  <TD rowspan="1" colspan="1">MISC</TD>
               </TR>
               <TR no="3" isLast="false">
                  <TD rowspan="1" colspan="1">-3</TD>
                  <TD rowspan="1" colspan="1">orders</TD>
                  <TD rowspan="1" colspan="1">HEADER</TD>
               </TR>
               <TR no="4" isLast="false">
                  <TD rowspan="1" colspan="1">-4</TD>
                  <TD rowspan="1" colspan="1">orders</TD>
                  <TD rowspan="1" colspan="1">ADDRES</TD>
               </TR>
               <TR no="5" isLast="true">
                  <TD rowspan="1" colspan="1">-5</TD>
                  <TD rowspan="1" colspan="1">orders</TD>
                  <TD rowspan="1" colspan="1">LINE</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Figure space-and-orientation="indented-estimated">
            <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" height="447" width="854"
                      SRC="../images/file_level.gif"
                      alt="[...]"/>
         </Figure>
         <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>