<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000128" xml:lang="en">
   <Header>
      <Title>Defining distances</Title>
      <Keyword type="header" order="d1e455408">
         <Level1>Defining Distances</Level1>
      </Keyword>
   </Header>
   <AimSection>
      <Paragraph>You can define geographical distances in varying degrees of
		detail:</Paragraph>
      <List>
         <ListItem>
            <Paragraph>You can specify distance between two specific zip
			 codes.</Paragraph>
         </ListItem>
         <ListItem>
            <Paragraph>You can specify distance between two states or zip code
			 ranges.</Paragraph>
         </ListItem>
      </List>
   </AimSection>
   <GeneralSection>
      <SectionTitle>Distance table by city</SectionTitle>
      <Paragraph>You can specify the distance by city or by state. When searching
		for the distance by city, the search sequence defined in the table is:</Paragraph>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD width="128" align="center" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgenfrom" role="groupbox">From</GUIRef>
               </TD>
               <TD width="122" align="center" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef>
               </TD>
               <TD width="389" align="center" rowspan="1" colspan="1">Comment</TD>
            </TR>
         </THEAD>
         <TBODY noTR="8">
            <TR no="1" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country,
				state, city</TD>
               <TD width="122" rowspan="1" colspan="1">country, state, city</TD>
               <TD width="389" rowspan="1" colspan="1"> </TD>
            </TR>
            <TR no="2" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country, state, city</TD>
               <TD width="122" rowspan="1" colspan="1">country, state, city</TD>
               <TD width="389" rowspan="1" colspan="1">calculates the reverse
				distance if you enter only the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field.</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country, state,
				city</TD>
               <TD width="122" rowspan="1" colspan="1">country, state</TD>
               <TD width="389" rowspan="1" colspan="1"> </TD>
            </TR>
            <TR no="4" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country, state, city</TD>
               <TD width="122" rowspan="1" colspan="1">country, state</TD>
               <TD width="389" rowspan="1" colspan="1">calculates the reverse distance if you enter only the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field.</TD>
            </TR>
            <TR no="5" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country,
				state</TD>
               <TD width="122" rowspan="1" colspan="1">country, state, city</TD>
               <TD width="389" rowspan="1" colspan="1"> </TD>
            </TR>
            <TR no="6" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country, state</TD>
               <TD width="122" rowspan="1" colspan="1">country, state, city</TD>
               <TD width="389" rowspan="1" colspan="1">calculates the reverse
				distance if you enter only the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field.</TD>
            </TR>
            <TR no="7" isLast="false">
               <TD width="128" rowspan="1" colspan="1">country, state</TD>
               <TD width="122" rowspan="1" colspan="1">country, state</TD>
               <TD width="389" rowspan="1" colspan="1"> </TD>
            </TR>
            <TR no="8" isLast="true">
               <TD width="128" rowspan="1" colspan="1">country, state</TD>
               <TD width="122" rowspan="1" colspan="1">country, state</TD>
               <TD width="389" rowspan="1" colspan="1">calculates the reverse distance
				if you enter only the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field.</TD>
            </TR>
         </TBODY>
      </TABLE>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>You cannot specify only the country in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgenfrom" role="groupbox">From</GUIRef> and <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> fields. You must enter one of the
		  following:</Paragraph>
         <List>
            <ListItem>State</ListItem>
            <ListItem>City</ListItem>
         </List>
      </Note>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="3">
            <TR no="1" isLast="false">
               <TH width="230" rowspan="1" colspan="1">State - From</TH>
               <TH width="381" rowspan="1" colspan="1">State – To</TH>
            </TR>
            <TR no="2" isLast="false">
               <TD width="230" rowspan="1" colspan="1">Mandatory when the country
				entered in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgenfrom" role="groupbox">From</GUIRef> field has states defined for it.</TD>
               <TD width="381" rowspan="1" colspan="1">Mandatory when the country specified in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field has states defined for it.</TD>
            </TR>
            <TR no="3" isLast="true">
               <TD width="230" rowspan="1" colspan="1">Mandatory when city is not specified in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgenfrom" role="groupbox">From</GUIRef> field.</TD>
               <TD width="381" rowspan="1" colspan="1">Mandatory when city is
				not specified in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field.</TD>
            </TR>
         </TBODY>
      </TABLE>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD width="258" rowspan="1" colspan="1">City – From</TD>
               <TD width="325" rowspan="1" colspan="1">City –
				To</TD>
            </TR>
         </THEAD>
         <TBODY noTR="1">
            <TR no="1" isLast="true">
               <TD width="258" rowspan="1" colspan="1">Mandatory when state is not
				specified in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgenfrom" role="groupbox">From</GUIRef> field.</TD>
               <TD width="325" rowspan="1" colspan="1">Mandatory when state
				is not defined in the <GUIRef href="/baanerp/tc/uef/tcuef0201m000#tcgento02" role="groupbox">To</GUIRef> field.</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Distance table by zip code/postal code</SectionTitle>
      <Paragraph>To search for distance by zip code/postal code you can enter a
		specific code or can specify a range of zip codes/postal codes. LN</Paragraph>
      <Paragraph>The codes are prioritized in the following sequence:</Paragraph>
      <ProcedureList>
         <ListItem>
            <Paragraph>Specific zip code/postal code.</Paragraph>
         </ListItem>
         <ListItem>
            <Paragraph>Range of zip codes/postal codes.</Paragraph>
         </ListItem>
      </ProcedureList>
   </GeneralSection>
</ManualTopic>