<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tc/onlinemanual/000407" xml:lang="en">
   <Header>
      <Title>ZIP code/postal code mask</Title>
      <Keyword type="header" order="d1e1435345">
         <Level1>ZIP code/postal code</Level1>
         <Level2>mask</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>You can use the ZIP code mask or postal code mask to define the
		number of positions and the type of characters of the ZIP codes or postal codes
		in the country.</Paragraph>
      <List>
         <ListIntro>For each position of the code, you can define the type of
		  character as follows:</ListIntro>
         <ListItem>Z = alphabetic character, upper case or lower case (a - z, A -
		  Z).</ListItem>
         <ListItem>9 = numeric character (0 - 9).</ListItem>
         <ListItem>X = alphanumeric character (a - z, A - Z, 0 - 9).</ListItem>
         <ListItem>0 = numeric character or space (0 - 9, &lt;space&gt;).</ListItem>
         <ListItem>space = &lt;space&gt;.</ListItem>
      </List>
      <Paragraph>For example, for postal codes such as 6715 GV, you must enter
		the following mask: 9999 ZZ. For postal codes such as 671F 20, the mask can be:
		999Z 99 or 99XX 99.</Paragraph>
      <Paragraph>You define the mask in the <GUIRef href="/baanerp/tc/mcs/tcmcs0110s000" role="session">Countries (tcmcs0110s000)</GUIRef> session.</Paragraph>
      <List>
         <ListIntro>ERP Enterprise checks the ZIP code against the mask if you enter a ZIP code or postal code in
		  one of the following sessions:</ListIntro>
         <ListItem>
            <GUIRef href="/baanerp/tc/com/tccom4130s000" role="session">Addresses (tccom4130s000)</GUIRef>.</ListItem>
         <ListItem>
            <GUIRef href="/baanerp/tc/com/tccom4136s000" role="session">ZIP Codes/Postal Codes (tccom4136s000)</GUIRef>.</ListItem>
      </List>
      <Paragraph>In addition to the ZIP code check, ERP Enterprise checks that the ZIP
		code length is at least equal to the <GUIRef href="/baanerp/tc/mcs/tcmcs0110s000#tcmcs010.ppcd" role="manual">ZIP Code Base</GUIRef> defined for the country in the <GUIRef href="/baanerp/tc/mcs/tcmcs0110s000" role="session">Countries (tcmcs0110s000)</GUIRef> session.</Paragraph>
      <Important>
         <SectionTitle>Important!</SectionTitle>
         <Paragraph>ERP Enterprise checks the ZIP code against the mask only if the ZIP code contains the
		  following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ[\+- ]_'
		  abcdefghijklmnopqrstuvwxyz 0123456789. If the ZIP code contains other
		  characters, such as ë or ï, the code cannot be checked and is automatically
		  approved.</Paragraph>
      </Important>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/tc/onlinemanual/000060" role="manual">Using addresses</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>