<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/da/xch/daxch0113m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Parameters by Condition (daxch0113m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to list the <Link href="/baanerp/da/glossary/glossary#000010" role="glossary">parameters</Link> used in a condition script of an <Link href="/baanerp/da/glossary/glossary#000003" role="glossary">exchange scheme</Link>.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">The <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> fields of a record to be imported or exported are not automatically defined in a condition script. To use the value of an ASCII file field you must use that field as a parameter in the condition script.</Paragraph>
			<Paragraph class="Default">The parameter name must be the same as the ASCII file field name in the record it refers to. The data type of the parameter must also be the same as that of the ASCII file field.</Paragraph>
			<ProcedureList><ListIntro>To create a parameter, do as follows:</ListIntro>
				<ListItem>Define a unique parameter name.</ListItem>
				<ListItem>Select a parameter type. Fields fld2 and fld3 are alphanumeric fields. The table 'table' contains fields fld1 and tfld. The field tfld is a field of type string.</ListItem>
			</ProcedureList>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000009" role="manual">To use conditions in the exchange module</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="daxch013.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="daxch013.ccon"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Condition</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/da/glossary/glossary#000009" role="glossary">condition</Link> code.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The condition is defined in the <GUIRef href="/baanerp/da/xch/daxch0114m000" role="session">Conditions (daxch0114m000)</GUIRef> session.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="daxch013.cpar"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Parameter</Title>
			</Header>
			<FuncDesc>An <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> field that is used as a parameter in a condition script.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The parameter name must be the same as the name of the ASCII file field.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="daxch013.ptyp"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Parameter Type</Title>
			</Header>
			<FuncDesc>The data type of the parameter must be the same as that of the <Link href="/baanerp/da/glossary/glossary#000001" role="glossary">ASCII file</Link> field.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Only the numeric or alphanumeric options are applicable for parameters.</Paragraph>
			</Note>
			<SimpleSection><Paragraph class="Default"><Link href="/baanerp/da/domains/xch.ftyp" role="domain">Possible values</Link>
				</Paragraph>
			</SimpleSection>
			<AllowedValues><SectionTitle>
                                    Allowed values
                                 </SectionTitle>
				<Paragraph class="Default">See <Link href="/baanerp/da/domains/xch.ftyp" role="domain">Possible values</Link>
				</Paragraph>
			</AllowedValues>
		</FieldHelp>
	</Fields>
</Session>
