<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/ec/edi/ecedi5115s000" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Definitions of Conversion Setups (ecedi5115s000)</Title>
	</Header>
	<HelpTopic><AimSection><Paragraph>Use this session to record the fields, sequence, and options for the <Link href="/baanerp/ec/glossary/glossary#000065" role="glossary">conversion</Link> of outgoing messages.</Paragraph>
		</AimSection>
		<GeneralSection><Note><SectionTitle>Note</SectionTitle>
				<Paragraph>This session is protected so that it cannot run simultaneously with sessions that interfere with it or with which it can interfere.</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/ec/onlinemanual/000034" role="manual">Using conversion setups (definitions)</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="ecedi501.orga"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Organization</Title>
			</Header>
			<FuncDesc><Link href="/baanerp/ec/glossary/glossary#000003" role="glossary">organization</Link>
			</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi003.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Organization</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.mess"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">EDI Message</Title>
			</Header>
			<FuncDesc><Link href="/baanerp/ec/glossary/glossary#000002" role="glossary">supported EDI messages</Link>
			</FuncDesc>
			<RelatedTopics><SectionTitle>Related topics</SectionTitle>
				<RelTopic><Link href="/baanerp/ec/onlinemanual/000002" role="manual">Using supported EDI messages</Link>
				</RelTopic>
			</RelatedTopics>
		</FieldHelp>
		<FieldHelp ID="ecedi005.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">EDI Message</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.io"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Direction</Title>
			</Header>
			<FuncDesc>The direction of the EDI message.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.fldt"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Field Type</Title>
			</Header>
			<FuncDesc>The ASCII file format.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>A conversion setup can be created for files in which the fields areseparated by a field separator, or that have a fixed length.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.cvsu"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Conversion Setup</Title>
			</Header>
			<FuncDesc>The code that identifies the conversion setup.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi500.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Conversion Setup</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.dest"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Destination</Title>
			</Header>
			<FuncDesc>The source of the field in an outgoing message, as defined in the <GUIRef href="/baanerp/ec/edi/ecedi5112m000" role="session">Conversion Setups (Relationships) (ecedi5112m000)</GUIRef> session.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.trfd"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Field</Title>
			</Header>
			<FuncDesc>The name of the field, for example, tdsls400.ofbp. For outgoing conversion setups, you can also use constants. Constants must start with double quotation marks ("). All text between the quotation marks is placed in the message.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>If you want to use double quotation marks inside the text string, you must enter additional quotation marks. For example, the output for ""ABC"" is "ABC".</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="trfd.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Field</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.vgno"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Sequence Number</Title>
			</Header>
			<FuncDesc>The sequence number of the field. The same field can be included more than once. If the field appears only once within the conversion setups, you can set this field to 0 or 1. If the field appears more than once in the conversion setup definition, the sequence number can be increased by an increment of 1 for each occurrence of the field within the conversion setup definition.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.ordi"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Processing Sequence</Title>
			</Header>
			<FuncDesc>The sequence in which the field will be processed.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.msfd"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Level</Title>
			</Header>
			<FuncDesc>The level defined in the <GUIRef href="/baanerp/ec/edi/ecedi5112m000" role="session">Conversion Setups (Relationships) (ecedi5112m000)</GUIRef> session.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi502.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Level</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.spos"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Start Position</Title>
			</Header>
			<FuncDesc>The position of the field in the line.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>If the Field Type field in the <GUIRef href="/baanerp/ec/edi/ecedi0120s000" role="session">Networks (ecedi0120s000)</GUIRef> session is Fixed Length, you must enter the physical starting position of the field. If the Field Type field in the <GUIRef href="/baanerp/ec/edi/ecedi0120s000" role="session">Networks (ecedi0120s000)</GUIRef> session is Delimited, you must enter the field number, starting with number 1.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.elmt"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Element</Title>
			</Header>
			<FuncDesc>The index element for an index field or the start position in a string for a string variable.</FuncDesc>
			<SimpleSection><SectionTitle>Index field example</SectionTitle>
				<Paragraph>In the case of a string variable, the start position in the string can be specified. This field, in combination with the Length field, allows you to specify a substring (for example: for string "ABCDEFGHIJKLMNOP", the value 3 with a length of 5 produces the following output: "CDEFG").</Paragraph>
				<TABLE border="1"><TBODY><TR><TD colspan="3">Field tdsls400.disc (standard depth = 5 levels)</TD>
						</TR>
						<TR><TD>Level</TD>
							<TD>1</TD>
							<TD>10</TD>
						</TR>
						<TR><TD></TD>
							<TD>2</TD>
							<TD>15</TD>
						</TR>
						<TR><TD></TD>
							<TD>3</TD>
							<TD>8</TD>
						</TR>
						<TR><TD></TD>
							<TD>4</TD>
							<TD>5</TD>
						</TR>
						<TR><TD></TD>
							<TD>5</TD>
							<TD>7</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph>The value 0 outputs the entire field: 010015008005007. This option is only used for internal communication. The values 1 and 3 produce only the following elements: 010 and 008. This output means that the field can also be used for external communication.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ecedi501.flen"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Length</Title>
			</Header>
			<FuncDesc>The physical length of the field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.next"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Read Next Record</Title>
			</Header>
			<FuncDesc>If this check box is selected, a new record will be read at this level for incoming messages, and a new record of the table that belongs to the field will be read for outgoing messages. If this check box is cleared, new records will not be read, but the current records remain active.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>This field indicates whether a new record must be read in order to process the contents of the field. Based on the value of this field, you can determine when a new line is ready to be read from the same file.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.prvi"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Iterative Level</Title>
			</Header>
			<FuncDesc>The sequence number that indicates where the cursor must move after processing the field. This field is only used if this record is for the last field of an iterative level or for the last field of the conversion setup.</FuncDesc>
			<SimpleSection><SectionTitle>Example</SectionTitle>
				<Paragraph>For example: You want to enter a text field that contains data from an ASCII file in an order header, that is performed iteratively. Once the last text field is filled, the cursor is returned to the field with sequence number 3, by using the Sequence Number field. The key and three text fields are included in each line of level 2.</Paragraph>
				<TABLE border="1"><THEAD><TR><TD>Field</TD>
							<TD>Level</TD>
							<TD>Sequence Number</TD>
							<TD>Iterative Level</TD>
						</TR>
					</THEAD>
					<TBODY><TR><TD>Order No.</TD>
							<TD>1</TD>
							<TD>1</TD>
							<TD></TD>
						</TR>
						<TR><TD>Reference</TD>
							<TD>1</TD>
							<TD>2</TD>
							<TD></TD>
						</TR>
						<TR><TD>Text Field</TD>
							<TD>2</TD>
							<TD>3</TD>
							<TD></TD>
						</TR>
						<TR><TD>Text Field</TD>
							<TD>2</TD>
							<TD>4</TD>
							<TD></TD>
						</TR>
						<TR><TD>Text Field</TD>
							<TD>2</TD>
							<TD>5</TD>
							<TD>3</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ecedi501.prvk"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Key does not Match</Title>
			</Header>
			<FuncDesc>The sequence number that indicates where the cursor must move if the key is not valid or the key changes. This field only needs to be filled in if the New record is Yes.</FuncDesc>
			<SimpleSection><SectionTitle>Example 1 - Iterative processing</SectionTitle>
				<Paragraph>After all text fields have been processed, the customer number is read. Level 2 is iterative.</Paragraph>
				<TABLE border="1"><THEAD><TR><TD>Field</TD>
							<TD>Level</TD>
							<TD>Sequence in</TD>
							<TD>Back</TD>
							<TD>Back</TD>
							<TD>New</TD>
						</TR>
					</THEAD>
					<TBODY><TR><TD>Iter.</TD>
							<TD>Key record</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Order No.</TD>
							<TD>1</TD>
							<TD>1</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Reference</TD>
							<TD>1</TD>
							<TD>2</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Text Field</TD>
							<TD>2</TD>
							<TD>3</TD>
							<TD></TD>
							<TD>6</TD>
							<TD>yes</TD>
						</TR>
						<TR><TD>Text Field</TD>
							<TD>2</TD>
							<TD>4</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Text Field</TD>
							<TD>2</TD>
							<TD>5</TD>
							<TD>3</TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Customer</TD>
							<TD>1</TD>
							<TD>6</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
			<SimpleSection><SectionTitle>Example 2 - Sequential processing</SectionTitle>
				<Paragraph>When all order lines have been filled (level 2) a new order can be introduced (level 1).</Paragraph>
				<TABLE border="1"><THEAD><TR><TD>Field</TD>
							<TD>Level</TD>
							<TD>Sequence in</TD>
							<TD>Back</TD>
							<TD>Back</TD>
							<TD>New</TD>
						</TR>
					</THEAD>
					<TBODY><TR><TD>Iter.</TD>
							<TD>Key record</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Order No.</TD>
							<TD>1</TD>
							<TD>1</TD>
							<TD></TD>
							<TD></TD>
							<TD>yes</TD>
						</TR>
						<TR><TD>Reference</TD>
							<TD>1</TD>
							<TD>2</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Customer</TD>
							<TD>1</TD>
							<TD>3</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Item</TD>
							<TD>2</TD>
							<TD>4</TD>
							<TD></TD>
							<TD>1</TD>
							<TD>yes</TD>
						</TR>
						<TR><TD>Quantity</TD>
							<TD>2</TD>
							<TD>5</TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR><TD>Delivery Date</TD>
							<TD>2</TD>
							<TD>6</TD>
							<TD>4</TD>
							<TD></TD>
							<TD></TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ecedi501.wrec"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Write Record</Title>
			</Header>
			<FuncDesc>If this check box is selected, a record must be added to the relevant table after a field for an incoming message has been processed, depending on the result of the output expression. The destination of the field (overhead, header, or line) determines the table where messages will be saved.</FuncDesc>
			<SimpleSection><SectionTitle>Example 1</SectionTitle>
				<TABLE border="1"><THEAD><TR><TD>Field</TD>
							<TD>Destination</TD>
							<TD>Write record</TD>
						</TR>
					</THEAD>
					<TBODY><TR><TD>Order No.</TD>
							<TD>header</TD>
							<TD></TD>
						</TR>
						<TR><TD>Reference</TD>
							<TD>header</TD>
							<TD></TD>
						</TR>
						<TR><TD>Customer</TD>
							<TD>header</TD>
							<TD>yes</TD>
						</TR>
						<TR><TD>Item</TD>
							<TD>line</TD>
							<TD></TD>
						</TR>
						<TR><TD>Quantity</TD>
							<TD>line</TD>
							<TD></TD>
						</TR>
						<TR><TD>Delivery Date</TD>
							<TD>line</TD>
							<TD>yes</TD>
						</TR>
					</TBODY>
				</TABLE>
				<List><ListIntro>Fields processed after a write action for the same destination are not added to the relevant table. You cannot start several write actions for the same record (for example: order line). Due to the hierarchy of destinations, SSA ERP checks whether or not all higher destinations have been written. If the higher destination has not been written, the relevant destinations are written before the specified destination is written. The hierarchy is:</ListIntro>
					<ListItem>Overhead</ListItem>
					<ListItem>Header</ListItem>
					<ListItem>Line</ListItem>
				</List>
			</SimpleSection>
			<SimpleSection><SectionTitle>Example 2</SectionTitle>
				<TABLE border="1"><THEAD><TR><TD>Field</TD>
							<TD>Destination</TD>
							<TD>Write record</TD>
						</TR>
					</THEAD>
					<TBODY><TR><TD>Order No.</TD>
							<TD>header</TD>
							<TD></TD>
						</TR>
						<TR><TD>Reference</TD>
							<TD>header</TD>
							<TD></TD>
						</TR>
						<TR><TD>Customer</TD>
							<TD>header</TD>
							<TD></TD>
						</TR>
						<TR><TD>Item</TD>
							<TD>line</TD>
							<TD></TD>
						</TR>
						<TR><TD>Quantity</TD>
							<TD>line</TD>
							<TD></TD>
						</TR>
						<TR><TD>Delivery Date</TD>
							<TD>line</TD>
							<TD>yes</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph>Because no header has been written yet, the header is written first, followed by the line. If there is no overhead, the line is written before the header.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ecedi501.expr"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Evaluation</Title>
			</Header>
			<FuncDesc>The code for the evaluation expression. This expression determines whether or not the field is included in the message. The expression is logical and it results in true or false. The default value of this field is 1, true. The expression is carried out before placing the field in the message. In other words, the associated reading and writing actions are always carried out. Actually, the expression is an equation. For example, for the Warehouse field on the purchase order, the expression can be: strip((tdpur400.cwar) &lt;&gt; "" This expression is true if the warehouse field is not filled.</FuncDesc>
			<SimpleSection><List><ListIntro>The following lists the operators in order of priority:</ListIntro>
					<ListItem>()</ListItem>
					<ListItem>- (reverse sign)</ListItem>
					<ListItem>* / \</ListItem>
					<ListItem>&amp;</ListItem>
					<ListItem>+ - (add subtract)</ListItem>
					<ListItem>= &gt; &lt; &lt;&gt; &lt;= &gt;=</ListItem>
					<ListItem>NOT</ListItem>
					<ListItem>AND</ListItem>
					<ListItem>OR</ListItem>
					<ListItem>?:</ListItem>
				</List>
				<Paragraph>An expression can contain the following constants:</Paragraph>
				<TABLE border="1"><TBODY><TR><TD>PI</TD>
							<TD>3.1415926535..</TD>
						</TR>
						<TR><TD>TRUE</TD>
							<TD>Always true.</TD>
						</TR>
						<TR><TD>FALSE</TD>
							<TD>Always false.</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph>An expression can contain functions.</Paragraph>
				<Paragraph>Numerical ranges can also be used: a IN [10,20] is equal to.a&gt;=20 AND a&lt;=30 a IN [10,20][30,40][50,60] is equal to a&gt;=10 AND a&lt;=20 OR a&gt;=30 AND a&lt;=40 OR a&gt;=50 AND a&lt;=60</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>Arithmetical Example</SectionTitle>
				<TABLE border="1"><TBODY><TR><TD>()</TD>
							<TD>brackets (priority)</TD>
							<TD></TD>
						</TR>
						<TR><TD>-</TD>
							<TD>reverses sign (requires an argument)</TD>
							<TD>a=-b</TD>
						</TR>
						<TR><TD>*</TD>
							<TD>multiplication</TD>
							<TD>3*5=15</TD>
						</TR>
						<TR><TD>/</TD>
							<TD>division</TD>
							<TD>6/2=3</TD>
						</TR>
						<TR><TD>\</TD>
							<TD>remainder after division</TD>
							<TD>8\3=2</TD>
						</TR>
						<TR><TD>&amp;</TD>
							<TD>linking up strings</TD>
							<TD>"A"&amp;"B"="AB"</TD>
						</TR>
						<TR><TD>+</TD>
							<TD>addition</TD>
							<TD>2+3=5</TD>
						</TR>
						<TR><TD>-</TD>
							<TD>subtraction</TD>
							<TD>3-2=1</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
			<SimpleSection><SectionTitle>Relational (for comparison) Example</SectionTitle>
				<TABLE border="1"><TBODY><TR><TD>= or EQ</TD>
							<TD>is equal to</TD>
							<TD>3=5 is false</TD>
						</TR>
						<TR><TD>&lt;&gt; or NE</TD>
							<TD>is unequal to</TD>
							<TD>3&lt;&gt;5 is true</TD>
						</TR>
						<TR><TD>&gt; or GT</TD>
							<TD>is greater than</TD>
							<TD>3&gt;5 is false</TD>
						</TR>
						<TR><TD>&lt; or LT</TD>
							<TD>is less than</TD>
							<TD>3&lt;5 is true</TD>
						</TR>
						<TR><TD>&gt;= or GE</TD>
							<TD>is greater than or equal to</TD>
							<TD>3&gt;=5 is false</TD>
						</TR>
						<TR><TD>&lt;= or LE</TD>
							<TD>is less than or equal to</TD>
							<TD>3&lt;=5 is true</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
			<SimpleSection><SectionTitle>Logical Example</SectionTitle>
				<TABLE border="1"><TBODY><TR><TD>AND</TD>
							<TD>and (both are true)</TD>
							<TD>a=b AND b=c</TD>
						</TR>
						<TR><TD>OR</TD>
							<TD>or (one of the two is true)</TD>
							<TD>a=b OR a=c</TD>
						</TR>
						<TR><TD>NOT</TD>
							<TD>not (is not true)</TD>
							<TD>NOT (a=b AND b=c)</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
			<SimpleSection><SectionTitle>Others:</SectionTitle>
				<Paragraph><Emphasis>condition?true:false</Emphasis> if &lt;condition&gt; is true, &lt;true&gt; is executed, otherwise &lt;false&gt; (always place brackets around &lt;condition&gt;, because this has the lowest priority)</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>Functions</SectionTitle>
				<TABLE border="1"><TBODY><TR><TD>abs(N)</TD>
							<TD>Produces the absolute value of N</TD>
						</TR>
						<TR><TD>acos(N)</TD>
							<TD>Produces the angle (in radials) of which N is the cosine.</TD>
						</TR>
						<TR><TD>asc(S)</TD>
							<TD>Produces the total of the ASCII values of the characters in S, asc("ABC")=65+66+67=198</TD>
						</TR>
						<TR><TD>asin(N)</TD>
							<TD>Produces the angle (in radials) of which N is the sine.</TD>
						</TR>
						<TR><TD>atan(N)</TD>
							<TD>Produces the angle (in radials) of which N is the tangent.</TD>
						</TR>
						<TR><TD>chr(N)</TD>
							<TD>Produces the character of which N is the ASCII value, chr(65)="A"</TD>
						</TR>
						<TR><TD>cos(N)</TD>
							<TD>Produces the cosine for angle N (in radials).</TD>
						</TR>
						<TR><TD>cosh(N)</TD>
							<TD>Produces the hyperbolic cosine for angle N (in radials)</TD>
						</TR>
						<TR><TD>date()</TD>
							<TD>Produces the current day number.</TD>
						</TR>
						<TR><TD>date(J,M,D)</TD>
							<TD>Produces the day number in the date represented by D, M and J.</TD>
						</TR>
						<TR><TD>exp(N)</TD>
							<TD>Produces 2.718128.. to the power of N.</TD>
						</TR>
						<TR><TD>int(N)</TD>
							<TD>Produces the integer of N (rounded down).</TD>
						</TR>
						<TR><TD>len(S)</TD>
							<TD>Produces the number of characters in S, len("ABC")=3.</TD>
						</TR>
						<TR><TD>log(N)</TD>
							<TD>Produces the natural logarithm of N.</TD>
						</TR>
						<TR><TD>log10(N)</TD>
							<TD>Produces the 10-logarithm of N.</TD>
						</TR>
						<TR><TD>max(N,M)</TD>
							<TD>Produces the greater value of N or M.</TD>
						</TR>
						<TR><TD>min(N,M)</TD>
							<TD>Produces the lesser value of N or M.</TD>
						</TR>
						<TR><TD>pos(S,T)</TD>
							<TD>Produces the first position where T occurs in S, pos("ABCDEFEF","EF")=5.</TD>
						</TR>
						<TR><TD>pow(N,M)</TD>
							<TD>Produces N to the power of M.</TD>
						</TR>
						<TR><TD>round(N,D,M)</TD>
							<TD>Produces the value of N rounded to D decimals. If M=0, N is rounded down, round(1.99,2,0)=1.00. If M=1, N is rounded off normally, round(1.49,2,1)=1.00 and round(1.50,2,1)=2.00. If M=2, N is rounded up, round(1.01,2,2)=2.00.</TD>
						</TR>
						<TR><TD>rpos(S,T)</TD>
							<TD>Produces the last position where T occurs in S, rpos("ABCDEFEF,"EF")=7.</TD>
						</TR>
						<TR><TD>sin(N)</TD>
							<TD>Produces the sine of angle N (in radials).</TD>
						</TR>
						<TR><TD>sinh(N)</TD>
							<TD>Produces the hyperbolic sine of angle N (in radials).</TD>
						</TR>
						<TR><TD>sqrt(N)</TD>
							<TD>Produces the non-negative square root of N.</TD>
						</TR>
						<TR><TD>str(N)</TD>
							<TD>Creates a string of N, str(1.04)="1.04"</TD>
						</TR>
						<TR><TD>strip(S)</TD>
							<TD>Returns S without the spaces following it.</TD>
						</TR>
						<TR><TD>tan(N)</TD>
							<TD>Produces the tangent of angle N (in radials).</TD>
						</TR>
						<TR><TD>tanh(N)</TD>
							<TD>Produces the hyperbolic tangent of angle N (in radials).</TD>
						</TR>
						<TR><TD>time()</TD>
							<TD>Produces the current time in UUMM format.</TD>
						</TR>
						<TR><TD>val(S)</TD>
							<TD>Produces the numerical value of S, val("1.04")=1.04.</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ecedi505.dsca"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Evaluation</Title>
			</Header>
			<FuncDesc>The description or name of the code.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.calc"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Assignment</Title>
			</Header>
			<FuncDesc>The code for the assignment expression. The result of the expression is written to the ASCII file (outgoing messages), which is updated into the SSA ERP application (incoming messages). For example, if you want to set the <GUIRef href="/baanerp/td/sls/tdsls4100m000#tdsls400.ddat" role="formfield">Planned Delivery Date</GUIRef> to a value two days prior to the <GUIRef href="/baanerp/td/sls/tdsls4100m000#tdsls400.prdt" role="formfield">Planned Receipt Date</GUIRef>, you can assign the following assignment expression to the <GUIRef href="/baanerp/td/sls/tdsls4100m000#tdsls400.ddat" role="formfield">Planned Delivery Date</GUIRef> field: tdsls400.prdt - 2.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>Any table fields referenced in an assignment expression must be processed before the field to which that assignment expression is assigned. The field referenced in the assignment expression must have a lower processing sequence, as defined in the conversion setup definitions. For example, in the preceding example, field tdsls400.prdt must have a lower processing sequence than field tdsls400.ddat, as defined in the conversion setup definitions.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.cntb"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Conversion Table</Title>
			</Header>
			<FuncDesc>The conversion table used to convert the field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.cnac"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Not Found</Title>
			</Header>
			<FuncDesc>The action to be taken if an error occurs during the conversion of outgoing messages. An error can occur because the field is not found in the conversion table.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>The value selected must be supported by the processing sessions.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.mxts"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Text Segments</Title>
			</Header>
			<FuncDesc>The maximum number of text segments in a text field.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>Texts in a message have a special structure that requires separate processing because each text consists of a number of segments, each made up of a number of fields.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.mxtf"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Fields Per Segment</Title>
			</Header>
			<FuncDesc>The maximum number of fields in a text segment.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>Texts in a message have a special structure that requires separate processing because each text consists of a number of segments, each made up of a number of fields.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.spoq"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Start Pos. Qualifier</Title>
			</Header>
			<FuncDesc>The starting position of the first qualifier. Some code conversions in ERP EDI require a code ID. Code IDs are qualifiers used in code conversions that allow you to convert additional data specifications and are transferred in the first qualifier position of the conversion setup definitions.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>If the Field Type field in the <GUIRef href="/baanerp/ec/edi/ecedi0120s000" role="session">Networks (ecedi0120s000)</GUIRef> session is Fixed Length, you must enter the physical starting position of the field. If the Field Type field in the <GUIRef href="/baanerp/ec/edi/ecedi0120s000" role="session">Networks (ecedi0120s000)</GUIRef> session is Delimited, you must enter the field number, starting with number 1.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.fleq"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Qualifier Length</Title>
			</Header>
			<FuncDesc>The physical length of the qualifier.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>This value can only be entered if the field type is Fixed Length, as defined in the <GUIRef href="/baanerp/ec/edi/ecedi0100s000" role="session">EDI Parameters (ecedi0100s000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.defq"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Default Qualifier</Title>
			</Header>
			<FuncDesc>The value to be used if no qualifier is used in the message.</FuncDesc>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>If you choose to convert outgoing items with the Item Codes by Item Code System table, the value for the Item Code System field can be entered here. You can use the Item Code IDs table to convert the value of this qualifier to the value used in the message. The value entered here can be overruled by filling in the Item Code System field in the <GUIRef href="/baanerp/ec/edi/ecedi0111s000" role="session">EDI Messages Supported by Business Partner (ecedi0111s000)</GUIRef> session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ecedi501.ctab"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Conversion Table</Title>
			</Header>
			<FuncDesc>The conversion table used to convert the qualifier.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.cact"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Not Found</Title>
			</Header>
			<FuncDesc>The action to be taken if an error occurs during the conversion of outgoing messages. An error can occur because the qualifier is not found in the conversion table.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.mafd"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Field</Title>
			</Header>
			<FuncDesc>The mapping information for this descriptive field and the corresponding data element in the EDI message. This descriptive field is used only for informational and reporting purposes.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.maq1"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Qualifier 1</Title>
			</Header>
			<FuncDesc>The mapping information for the first qualifier and the corresponding data element in the EDI message.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ecedi501.maq2"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Qualifier 2</Title>
			</Header>
			<FuncDesc>The mapping information for the second qualifier and the corresponding data element in the EDI message.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
