<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000060" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Sequence numbers in Sales Control (SLS)</Title>
		<Keyword><Level1>Sequence numbers</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph><Link href="/baanerp/td/glossary/glossary#000208" role="glossary" Update="No">Sequence numbers</Link> are used if more than one delivery takes place on an order line. More than one delivery can occur, for example, with back orders.</Paragraph>
		<List><ListIntro>As a result, sequence numbers are used as follows in <GUIRef href="/baanerp/td/sls" role="module">Sales Control</GUIRef>:</ListIntro>
			<ListItem>When an order line is generated in the <GUIRef href="/baanerp/td/sls/tdsls4100m900" role="session">Sales Order - Lines (tdsls4100m900)</GUIRef> session, the sales order line's sequence number is zero. You can fill in all fields.</ListItem>
			<ListItem>When the relevant order line is split, or a back order is generated for the order line, the <GUIRef href="/baanerp/td/sls/tdsls4101m000#total.line.dsca" role="formfield" Update="No">Line Type</GUIRef> field in the <GUIRef href="/baanerp/td/sls/tdsls4101m000" role="session">Sales Order Lines (tdsls4101m000)</GUIRef> session displays <Emphasis>Total Line</Emphasis>, and in case of a back order, the <GUIRef href="/baanerp/td/sls/tdsls4101m100#backorder" role="formfield">Backorder</GUIRef> check box is selected in the <GUIRef href="/baanerp/td/sls/tdsls4101m900" role="session">Sales Order Line - Deliveries (tdsls4101m900)</GUIRef> session. The order line's sequence number remains zero. The linked delivery lines of line type <GUIRef href="/baanerp/td/domains/sls.oltp#detail" role="enum" Update="No">Delivery Line</GUIRef> or <GUIRef href="/baanerp/td/domains/sls.oltp#backorder" role="enum">Back Order</GUIRef> in the <GUIRef href="/baanerp/td/sls/tdsls4101m100" role="session">Delivery Lines (tdsls4101m100)</GUIRef> session, have a sequence number greater than zero.</ListItem>
		</List>
		<Note><SectionTitle>Note</SectionTitle>
			<Paragraph>In the <Link href="/baanerp/td/sls/tdsls4101m900" role="session">Sales Order Line - Deliveries (tdsls4101m900)</Link> session, you can specify the sequence number before the order is released. However, this specification can also be performed as a result of the actual deliveries.</Paragraph>
		</Note>
		<ExampleSection><SectionTitle>Example</SectionTitle>
			<Paragraph><Emphasis>Adding an order line:</Emphasis>
			</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>Sequence number</TD>
						<TD>Order quantity</TD>
						<TD>Planned delivery date</TD>
					</TR>
					<TR><TD>0</TD>
						<TD>100</TD>
						<TD>14/12</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph><Emphasis>Splitting of the order line:</Emphasis>
			</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>Sequence number</TD>
						<TD>Order quantity</TD>
						<TD>Planned delivery date</TD>
					</TR>
					<TR><TD>0</TD>
						<TD>100</TD>
						<TD>14/12</TD>
					</TR>
					<TR><TD>1</TD>
						<TD>80</TD>
						<TD>14/12</TD>
					</TR>
					<TR><TD>2</TD>
						<TD>20</TD>
						<TD>21/12</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>Assume that you must modify the order quantity. The sum of the order quantities can be lower than the total order quantity. If you save the order line, the total order quantity is updated.</Paragraph>
			<Paragraph><Emphasis>After deliveries are executed:</Emphasis>
			</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>Sequence number</TD>
						<TD>Order quantity</TD>
						<TD>Planned delivery date</TD>
						<TD>Delivered quantity</TD>
						<TD>Back order quantity</TD>
					</TR>
					<TR><TD>1</TD>
						<TD>80</TD>
						<TD>14/12</TD>
						<TD>70</TD>
						<TD>10</TD>
					</TR>
					<TR><TD>2</TD>
						<TD>20</TD>
						<TD>21/12</TD>
						<TD>20</TD>
						<TD>0</TD>
					</TR>
					<TR><TD>3</TD>
						<TD>10</TD>
						<TD>28/12</TD>
						<TD>10</TD>
						<TD>0</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>Sequence number 3 is of the <GUIRef href="/baanerp/td/domains/sls.oltp#backorder" role="enum">Back Order</GUIRef> line type.</Paragraph>
		</ExampleSection>
		<Note><SectionTitle>Note</SectionTitle>
			<Paragraph>Deliveries can be displayed in the <Link href="/baanerp/td/sls/tdsls4510m000" role="session">Sales Order Lines Monitor (tdsls4510m000)</Link> session and the <Link href="/baanerp/td/sls/tdsls4106m000" role="session">Sales Order Actual Delivery Lines (tdsls4106m000)</Link>.</Paragraph>
		</Note>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000376" role="manual">Relation between cross-docking and splitting deliveries</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000121" role="manual">Back order handling</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/td/onlinemanual/000403" role="manual">Synchronization between sales order line and delivery lines</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
