<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tf/onlinemanual/000121" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">To determine document numbers by transaction type</Title>
		<Keyword><Level1>Document numbers by transaction type</Level1>
			<Level2>determining</Level2>
		</Keyword>
	</Header>
	<GeneralSection><List><ListIntro>You can assign a document number to a transaction in several ways. In the <GUIRef href="/baanerp/tf/gld/tfgld0111s000" role="session">Transaction Types (tfgld0111s000)</GUIRef> session you can determine the document number by using:</ListIntro>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.iseq" role="formfield">Documents in fixed Sequence</GUIRef> check box.</ListItem>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field.</ListItem>
		</List>
		<Paragraph>Three options exist to create a document number within a transaction type:</Paragraph>
		<List><ListIntro>Option 1:</ListIntro>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.iseq" role="formfield">Documents in fixed Sequence</GUIRef> check box is selected.</ListItem>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field has the value zero.</ListItem>
		</List>
		<Paragraph>If you use this option, SSA ERP sets the series number to 0 by default. You cannot manually enter the document number. SSA ERP automatically generates the document number.</Paragraph>
		<List><ListIntro>Option 2:</ListIntro>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.iseq" role="formfield">Documents in fixed Sequence</GUIRef> check box is cleared.</ListItem>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field has the value zero.</ListItem>
		</List>
		<Paragraph>If you use this option, you can determine the document number yourself. You cannot reuse a document number that is already used.</Paragraph>
		<List><ListIntro>Option 3:</ListIntro>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.iseq" role="formfield">Documents in fixed Sequence</GUIRef> check box is selected.</ListItem>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field has a value greater than zero.</ListItem>
		</List>
		<Paragraph>If you use this option, you can enter the series number for a document number. The series number consists of the number of positions defined in the <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field. SSA ERP fills the remaining positions of the document number on the basis of the document number that was last used within the transaction type. The last used document number within each series is updated in the <GUIRef href="/baanerp/tf/gld/tfgld0114m000" role="session">Last-Used Document Numbers by Transaction Type Series (tfgld0114m000)</GUIRef> session.</Paragraph>
		<List><ListIntro>The following situation is not allowed:</ListIntro>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.iseq" role="formfield">Documents in fixed Sequence</GUIRef> check box is cleared.</ListItem>
			<ListItem>The <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field has a value greater than zero.</ListItem>
		</List>
		<Paragraph>A transaction type that uses a document series must have consecutive numbering. Therefore, if the <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.iseq" role="formfield">Documents in fixed Sequence</GUIRef> check box is cleared, you cannot enter a value in the <GUIRef href="/baanerp/tf/gld/tfgld0111s000#tfgld011.dsrs" role="formfield">Number of Digits for Series</GUIRef> field.</Paragraph>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/tf/onlinemanual/000123" role="manual">To use transaction types</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
