<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tc/onlinemanual/000061" xml:lang="en">
   <Header>
      <Title>Defining address formats</Title>
      <Keyword type="header" order="d1e1440002">
         <Level1>Address formats</Level1>
         <Level2>define</Level2>
      </Keyword>
      <Keyword type="header" order="d1e1440007">
         <Level1>Define</Level1>
         <Level2>address formats</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>You define an address format by using the <GUIRef href="/baanerp/tc/com/tccom4135s000" role="session">Address Formats (tccom4135s000)</GUIRef> session.</Paragraph>
      <List>
         <ListIntro>Define for each address field where and how it must be
		  printed, by specifying:</ListIntro>
         <ListItemHead>Line</ListItemHead>
         <ListItem>The number of the address line.</ListItem>
         <ListItemHead>Sequence</ListItemHead>
         <ListItem>The sequence number of this field on the line.</ListItem>
         <ListItemHead>Priority</ListItemHead>
         <ListItem>The priority of this field.</ListItem>
         <ListItemHead>Space</ListItemHead>
         <ListItem>The number of spaces to follow this field.</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Sequence</SectionTitle>
      <Paragraph>You can use the sequence number to print more
		than one field on a line. If the fields do not fit on the line, the information
		is truncated at the end of the line. ERP Enterprise does not check the priorities of the
		fields in this case.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Priority</SectionTitle>
      <Paragraph>You can use the priority to indicate which
		address fields can be skipped. If there are not enough lines available to print
		the complete address according to the specified format, the lines that contain
		fields with a low priority are not printed. 1 = highest priority, 2 = second
		priority, and so on.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Free text</SectionTitle>
      <Paragraph>You can specify free text that will be inserted
		between the address fields. You can use this to add commas, or the text P.O.
		Box or CEDEX to the address.</Paragraph>
      <Paragraph>Use the <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom.communic" role="groupbox">Communication</GUIRef> tab
		of the <GUIRef href="/baanerp/tc/com/tccom4135s000" role="session">Address Formats (tccom4135s000)</GUIRef> session to define the free texts of a format.</Paragraph>
      <Paragraph>You define the position of the free text in the
		same way as for the other address fields. You can define only one position for
		a free text. For example, if you need two commas, you must define two free
		texts with a comma.</Paragraph>
      <List>
         <ListIntro>For each format you can define:</ListIntro>
         <ListItem>Three long free texts, of up to 20 characters each.</ListItem>
         <ListItem>Six short free texts, of up to 6 characters each.</ListItem>
      </List>
      <List>
         <ListIntro>Free text is treated as prefix and tag to the other address
		  fields. These rules apply:</ListIntro>
         <ListItem>A short free text at the end of a line is not printed (a long
		  free text is).</ListItem>
         <ListItem>If there is only free text on a line, the line is not printed.
		  The free text can be long free text or short free text.</ListItem>
      </List>
      <Paragraph>For example, if you specify a format in which <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.nam2" role="manual">Name 2</GUIRef> is printed on line 2 followed by a free text,
		the entire line is skipped if the <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.nam2" role="manual">Name 2</GUIRef> field of the address is empty.</Paragraph>
      <Note>
         <SectionTitle> Note</SectionTitle>
         <Paragraph>You can specify the same combination of line,
		  sequence, and priority for only one address field.</Paragraph>
      </Note>
   </GeneralSection>
   <ExampleSection>
      <SectionTitle> Example</SectionTitle>
      <Paragraph>Required printing address:</Paragraph>
      <TABLE borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="5">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">line 1:</TD>
               <TD rowspan="1" colspan="1">Name</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD rowspan="1" colspan="1">line 2:</TD>
               <TD rowspan="1" colspan="1">Name 2</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD rowspan="1" colspan="1">line 3:</TD>
               <TD rowspan="1" colspan="1">P.O. Box (space) P.O. Box Number</TD>
            </TR>
            <TR no="4" isLast="false">
               <TD rowspan="1" colspan="1">line 4:</TD>
               <TD rowspan="1" colspan="1">City, (space) City 2</TD>
            </TR>
            <TR no="5" isLast="true">
               <TD rowspan="1" colspan="1">line 5:</TD>
               <TD rowspan="1" colspan="1">ZIP Code/Postal Code (space) (space) Country</TD>
            </TR>
         </TBODY>
      </TABLE>
      <Paragraph/>
      <TABLE borderstyle="default" space-and-orientation="indented-estimated">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.coaf" role="manual">Address Format</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">Line</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">Sequence</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">Priority</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">Space</TD>
            </TR>
         </THEAD>
         <TBODY noTR="9">
            <TR no="1" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.nam1" role="manual">Name</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">0</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.nam2" role="manual">Name 2</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">3</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">2</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">0</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.pobx" role="manual">P.O. Box Number</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">3</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">2</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">0</TD>
            </TR>
            <TR no="4" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.cit1" role="manual">City</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">4</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">0</TD>
            </TR>
            <TR no="5" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.cit2" role="manual">City 2</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">4</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">2</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">0</TD>
            </TR>
            <TR no="6" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.ctry" role="manual">Country</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">5</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">3</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">0</TD>
            </TR>
            <TR no="7" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.zipc" role="manual">ZIP Code/Postal Code</GUIRef>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">5</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">2</TD>
            </TR>
            <TR no="8" isLast="false">
               <TD width="177" rowspan="1" colspan="1"> 
                  <Emphasis>P.O. Box</Emphasis>
               </TD>
               <TD width="48" align="center" rowspan="1" colspan="1">3</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">1</TD>
            </TR>
            <TR no="9" isLast="true">
               <TD width="177" rowspan="1" colspan="1">,</TD>
               <TD width="48" align="center" rowspan="1" colspan="1">4</TD>
               <TD width="88" align="center" rowspan="1" colspan="1">2</TD>
               <TD width="65" align="center" rowspan="1" colspan="1">1</TD>
               <TD width="63" align="center" rowspan="1" colspan="1">2</TD>
            </TR>
         </TBODY>
      </TABLE>
      <List>
         <ListIntro>where:</ListIntro>
         <ListItem> 
            <Emphasis>P.O. Box</Emphasis> is a long free text</ListItem>
         <ListItem>The comma is a short free text</ListItem>
      </List>
   </ExampleSection>
   <Note>
      <SectionTitle> Note</SectionTitle>
      <List>
         <ListItem>Set the values for the address fields that are not used to
		  zero.</ListItem>
         <ListItem> 
            <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.nam2" role="manual">Name 2</GUIRef> is only printed if there are five lines
		  available on the order or report. Otherwise, only <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.nam1" role="manual">Name</GUIRef> is printed and <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.pobx" role="manual">P.O. Box Number</GUIRef> is printed on the second line of the
		  address.</ListItem>
         <ListItem>If line 4 is not long enough, <GUIRef href="/baanerp/tc/com/tccom4135s000#tccom135.cit2" role="manual">City 2</GUIRef> is truncated.</ListItem>
      </List>
   </Note>
   <RelatedTopics>
      <SectionTitle> Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/tc/onlinemanual/000060" role="manual">Using addresses</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/tc/onlinemanual/000077" role="manual">Using address formats</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>