<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/da/xch/daxch0132s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Field Relations (Export) (daxch0132s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to create relations between <GUIRef href="/baanerp/da/xch/daxch0132s000#daxch032.fdnm" role="manual">ASCII Field</GUIRef> fields and ERP LN table fields per <Link href="/baanerp/da/glossary/glossary#000002" role="glossary">batch</Link> in an <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link>.</Paragraph>
		</AimSection>
		<GeneralSection><ProcedureList><ListIntro>To create field relations, do as follows:</ListIntro>
				<ListItem>Enter a serial number and the name of the <GUIRef href="/baanerp/da/xch/daxch0132s000#daxch032.fdnm" role="manual">ASCII Field</GUIRef> field.</ListItem>
				<ListItem>Define under <GUIRef href="" role="manual">Based on</GUIRef> how the <GUIRef href="/baanerp/da/xch/daxch0132s000#daxch032.fdnm" role="manual">ASCII Field</GUIRef> field receives its value and select the appropriate ERP LN table field, <Link href="/baanerp/da/glossary/glossary#000009" role="glossary">condition</Link> or constant. Enter the element number of an <Link href="/baanerp/da/glossary/glossary#000014" role="glossary">array</Link> field, if the ERP LN field is defined as an <Link href="/baanerp/da/glossary/glossary#000014" role="glossary">array</Link> field in the data dictionary.</ListItem>
				<ListItem>Click <GUIRef href="" role="manual">Edit Text</GUIRef> to create additional text for the field relation.</ListItem>
			</ProcedureList>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The relation on table level is created in the <GUIRef href="/baanerp/da/xch/daxch0531m000" role="session">Table Relations (Export) (daxch0531m000)</GUIRef> session.</Paragraph>
			</Note>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000005" role="manual">To use a details session</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000003" role="manual">Introduction to the import module</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000009" role="manual">To use conditions in the exchange module</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="daxch032.cxch"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Exchange Scheme</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link> code.</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="daxch032.cbat"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Batch</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/da/glossary/glossary#000002" role="glossary">batch</Link> code in an <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link>.</FuncDesc>
			<SimpleSection><Paragraph class="Default">A batch is created in the <GUIRef href="/baanerp/da/xch/daxch0104m000" role="session">Batches (daxch0104m000)</GUIRef> session.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="daxch032.batl"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Exp. Table Rel.</Title>
			</Header>
			<FuncDesc>A sequential number that identifies the <Link href="/baanerp/da/glossary/glossary#000032" role="glossary">table relation</Link>. It makes the table relation unique in the <Link href="/baanerp/da/glossary/glossary#000002" role="glossary">batch</Link>.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="daxch031.ttbl"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Table</Title>
			</Header>
			<FuncDesc>The code of the table in ERP LN that contains the data that will be exported into an <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> during an export.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The ERP LN table is specified in the <GUIRef href="/baanerp/da/xch/daxch0531m000" role="session">Table Relations (Export) (daxch0531m000)</GUIRef> session.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="daxch031.casf"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">ASCII File</Title>
			</Header>
			<FuncDesc>The code of the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> that contains data from the ERP LN table during an <Link href="/baanerp/da/glossary/glossary#000016" role="glossary">export procedure</Link>.</FuncDesc>
			<SimpleSection><Paragraph class="Default">To copy fields of an ASCII file table automatically the ASCII file code must be the same as the code of the ERP LN table. This is an option if you do not have a data <Link href="/baanerp/da/glossary/glossary#000007" role="glossary">definition file</Link> of the ASCII file.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The ASCII file code represents the <Link href="/baanerp/da/glossary/glossary#000006" role="glossary">logical ASCII file</Link> and it is created in the <GUIRef href="/baanerp/da/xch/daxch0102m000" role="session">ASCII Files (daxch0102m000)</GUIRef> session.</Paragraph>
			</Note>
			<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>
			</RelatedTopics>
		</FieldHelp>
		<FieldHelp ID="daxch032.srno"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Serial No.</Title>
			</Header>
			<FuncDesc>Enter a serial number to make the field relation unique in the table relation. The serial number is only used as an identifier and does not have to be sequential.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The number is increased automatically: when you define a new field relation, ERP LN enters a number of value ten greater than the field relation with the highest value.</Paragraph>
				<Paragraph class="Default">Because numbers like 10, 20, 30, and so on are used, it is easy to insert field relations at a later stage.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="text.available"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Text</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, additional information is added to the field relation. The text is maintained in the text editor.</FuncDesc>
			<SimpleSection><Paragraph class="Default">Click Text to start the text editor.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="daxch032.fdnm"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">ASCII Field</Title>
			</Header>
			<FuncDesc>Enter the code of the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> field that will contain data that is to be transferred from a field in the ERP LN table during an <Link href="/baanerp/da/glossary/glossary#000016" role="glossary">export procedure</Link>.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The ASCII file code represents the <Link href="/baanerp/da/glossary/glossary#000006" role="glossary">logical ASCII file</Link>. It is created in the <GUIRef href="/baanerp/da/xch/daxch0102m000" role="session">ASCII Files (daxch0102m000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="s.table.field"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Table Field</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the data transfer is based on the data in a ERP LN field.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Select the ERP LN field in the following field.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="daxch032.tfld"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Table Field</Title>
			</Header>
			<FuncDesc>To export data into an <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> field, enter the code of the field in a ERP LN table.</FuncDesc>
			<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>
			</RelatedTopics>
		</FieldHelp>
		<FieldHelp ID="daxch032.elmt"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Array Element</Title>
			</Header>
			<FuncDesc>The element number of an <Link href="/baanerp/da/glossary/glossary#000014" role="glossary">array</Link> field. This field is only applicable if the <GUIRef href="/baanerp/da/xch/daxch0132s000#daxch032.tfld" role="manual">Table Field</GUIRef> field is defined as an <Link href="/baanerp/da/glossary/glossary#000014" role="glossary">array</Link> field in the data dictionary.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The elements in an array can be filled individually.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The element number cannot exceed the array depth.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="s.condition"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Condition</Title>
			</Header>
			<FuncDesc> 
                                 If this check box is selected, the export process can be manipulated by using <Link href="/baanerp/da/glossary/glossary#000009" role="glossary">conditions</Link>.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The conditions are created in the <GUIRef href="/baanerp/da/xch/daxch0114m000" role="session">Conditions (daxch0114m000)</GUIRef> session.</Paragraph>
			</Note>
			<RelatedTopics><SectionTitle>
                                    Related topics
                                 </SectionTitle>
				<RelTopic><Link href="/baanerp/da/onlinemanual/000009" role="manual">To use conditions in the exchange module</Link>
				</RelTopic>
			</RelatedTopics>
		</FieldHelp>
		<FieldHelp ID="daxch032.ccon"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Condition</Title>
			</Header>
			<FuncDesc>Enter the <Link href="/baanerp/da/glossary/glossary#000009" role="glossary">condition</Link> that is used in the transfer of data from the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> field to the ERP LN table field.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The return value of the <Link href="/baanerp/da/glossary/glossary#000009" role="glossary">condition</Link> will be used to fill the ERP LN table field.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Condition are defined in the <GUIRef href="/baanerp/da/xch/daxch0114m000" role="session">Conditions (daxch0114m000)</GUIRef> session.</Paragraph>
			</Note>
			<RelatedTopics><SectionTitle>
                                    Related topics
                                 </SectionTitle>
				<RelTopic><Link href="/baanerp/da/onlinemanual/000009" role="manual">To use conditions in the exchange module</Link>
				</RelTopic>
			</RelatedTopics>
		</FieldHelp>
		<FieldHelp ID="s.constant"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Constant</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, a constant value is loaded into the ERP LN table field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="daxch032.cnst"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Constant</Title>
			</Header>
			<FuncDesc>Enter the value that will be assigned to the ERP LN table field during export.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">A constant can only be used if the ERP LN table field is left blank and no <Link href="/baanerp/da/glossary/glossary#000009" role="glossary">condition</Link> is used.</Paragraph>
			</Note>
		</FieldHelp>
	</Fields>
</Session>
