<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tc/onlinemanual/000061" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">To define address formats</Title>
		<Keyword><Level1>Addresses</Level1>
			<Level2>defining 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>
			<ListItem>Ln = the number of the address line</ListItem>
			<ListItem>Sq = the sequence number of this field on the line</ListItem>
			<ListItem>Pr = the priority. For details, see Priority below</ListItem>
			<ListItem>Sp = the number of spaces to follow this field</ListItem>
		</List>
		<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. SSA ERP 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 Communication 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. The following 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 Name 2 is printed on line two followed by a free text, the entire line is skipped if the Name 2 field of the address is empty.</Paragraph>
		</GeneralSection>
		<Note><SectionTitle>Note</SectionTitle>
			<Paragraph>You can specify the same combination of line, sequence, and priority for only one address field.</Paragraph>
		</Note>
		<ExampleSection><SectionTitle>Example</SectionTitle>
			<List><ListIntro>Required printed address: where:</ListIntro>
				<ListItem>P.O.Box is a long free text</ListItem>
				<ListItem>The comma is a short free text</ListItem>
			</List>
			<Paragraph>Set the values for the address fields that are not used to zero.</Paragraph>
			<Paragraph>Name 2 is only printed if there are five lines available on the order or report. If 5 lines are not available, only the Name is printed and the P.O. Box number is printed on the second line of the address. City 2 is cut off if line four is not long enough.</Paragraph>
		</ExampleSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000060" role="manual">To use addresses</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000077" role="manual">To use address formats</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
