<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/da/xch/daxch0203m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Create ASCII File Fields and Relations (daxch0203m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to generate <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields and relations for an <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link> automatically.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">You can copy <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields from <Link href="/baanerp/da/glossary/glossary#000007" role="glossary">definition files</Link> and ERP LN table definitions, but the <Link href="/baanerp/da/glossary/glossary#000007" role="glossary">definition files</Link> have precedence over the ERP LN table definitions.</Paragraph>
			<ProcedureList><ListIntro>To generate <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields and relations complete the following procedure:</ListIntro>
				<ListItem>Enter the code of the <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link>.</ListItem>
				<ListItem>Select a range of <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII files</Link>.</ListItem>
				<ListItem>Use the check boxes to define how to create the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields.</ListItem>
				<ListItem>Use the check boxes to define how to create the Table and Field relations.</ListItem>
				<ListItem>Click Generate to start the process.</ListItem>
			</ProcedureList>
			<Paragraph class="Default">This process can also run as part of a job.</Paragraph>
			<Paragraph class="Default">Click <GUIRef href="" role="manual">Add to Job</GUIRef> to start the Job Manager.</Paragraph>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">A ERP LN table field receives the value based on default if during an <Link href="/baanerp/da/glossary/glossary#000015" role="glossary">import procedure</Link> a ERP LN field and an <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> field do not match. For example, the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> contains less fields than the ERP LN table. This means that the value specified in the data dictionary is used for this field.</Paragraph>
			</Note>
			<Paragraph class="Default">A ERP LN table field remains empty if during an <Link href="/baanerp/da/glossary/glossary#000016" role="glossary">export procedure</Link> the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> and ERP LN table do not match.</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000013" role="manual">Relation between logical ASCII files and physical ASCII files</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000002" role="manual">Introduction to the master data business object</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000007" role="manual">Introduction to the miscellaneous business object</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="xch.scheme"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Exchange Scheme</Title>
			</Header>
			<FuncDesc>Enter the code of the <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link>.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The exchange scheme is created in the <GUIRef href="/baanerp/da/xch/daxch0501m000" role="session">Exchange Schemes (daxch0501m000)</GUIRef> session.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="casf.f"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">ASCII File</Title>
			</Header>
			<FuncDesc>Enter the code of the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="casf.t"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">ASCII File</Title>
			</Header>
			<FuncDesc>Enter the code of the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ovwr.ascf.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Overwrite ASCII File Formats</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the existing <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields will be overwritten.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="dfile.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Create From Definition Files</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields are copied from the <Link href="/baanerp/da/glossary/glossary#000007" role="glossary">definition file</Link>.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The <GUIRef href="/baanerp/da/xch/daxch0203m000#from.trit" role="manual">Create Based on Table Definitions</GUIRef> check box is automatically selected.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="from.trit"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Create Based on Table Definitions</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields and relations are generated based on ERP LN table definitions if a <Link href="/baanerp/da/glossary/glossary#000007" role="glossary">definition file</Link> is not available.</FuncDesc>
			<SimpleSection><Paragraph class="Default">If a ERP LN table with an identical name exists, the ASCII file fields are copied from the data dictionary.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">This check box can only be selected if <GUIRef href="/baanerp/da/xch/daxch0203m000#dfile.yn" role="manual">Create From Definition Files</GUIRef> check box is selected.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="cbat.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Create Batch</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, a <Link href="/baanerp/da/glossary/glossary#000002" role="glossary">batch</Link> will be created. The batch code can be defined in the following field.</FuncDesc>
			<SimpleSection><Paragraph class="Default">You can only create import and export relations if this check box is selected. The import and export relations are created in the defined batch.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="imp.rel"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Create Import Relations</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, table and field relations for import of data will be created.</FuncDesc>
			<SimpleSection><Paragraph class="Default">Relations are only created if the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> codes are equal to existing ERP LN table names.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Existing relations are overwritten if the <GUIRef href="/baanerp/da/xch/daxch0203m000#ovwr.rels.yn" role="manual">Overwrite Existing Relations</GUIRef> check box is selected.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="exp.rel"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Create Export Relations</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, table and field relations for export will be created. Relations are only created if the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> codes are equal to existing ERP LN table names.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Existing relations are overwritten if the <GUIRef href="/baanerp/da/xch/daxch0203m000#ovwr.rels.yn" role="manual">Overwrite Existing Relations</GUIRef> check box is selected.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ovwr.rels.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Overwrite Existing Relations</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, existing relations are overwritten.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
