<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000060" xml:lang="en">
   <Header>
      <Title>Sequence numbers on sales orders</Title>
      <Keyword type="header" order="d1e1285266">
         <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:</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="manual" 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="manual">Back Order Quantity</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="option" Update="No">Delivery Line</GUIRef> or <GUIRef href="/baanerp/td/domains/sls.oltp#backorder" role="option">Back Order</GUIRef> in the <GUIRef href="/baanerp/td/sls/tdsls4101m100" role="session">Sales Order 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" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="2">
               <TR no="1" isLast="false">
                  <TH rowspan="1" colspan="1">Sequence number</TH>
                  <TH rowspan="1" colspan="1">Order quantity</TH>
                  <TH rowspan="1" colspan="1">Planned delivery date</TH>
               </TR>
               <TR no="2" isLast="true">
                  <TD rowspan="1" colspan="1">0</TD>
                  <TD rowspan="1" colspan="1">100</TD>
                  <TD rowspan="1" colspan="1">14/12</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph>
            <Emphasis>Splitting of the order line:</Emphasis>
         </Paragraph>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="4">
               <TR no="1" isLast="false">
                  <TH rowspan="1" colspan="1">Sequence number</TH>
                  <TH rowspan="1" colspan="1">Order quantity</TH>
                  <TH rowspan="1" colspan="1">Planned delivery date</TH>
               </TR>
               <TR no="2" isLast="false">
                  <TD rowspan="1" colspan="1">0</TD>
                  <TD rowspan="1" colspan="1">100</TD>
                  <TD rowspan="1" colspan="1">14/12</TD>
               </TR>
               <TR no="3" isLast="false">
                  <TD rowspan="1" colspan="1">1</TD>
                  <TD rowspan="1" colspan="1">80</TD>
                  <TD rowspan="1" colspan="1">14/12</TD>
               </TR>
               <TR no="4" isLast="true">
                  <TD rowspan="1" colspan="1">2</TD>
                  <TD rowspan="1" colspan="1">20</TD>
                  <TD rowspan="1" colspan="1">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" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="4">
               <TR no="1" isLast="false">
                  <TH rowspan="1" colspan="1">Sequence number</TH>
                  <TH rowspan="1" colspan="1">Order quantity</TH>
                  <TH rowspan="1" colspan="1">Planned delivery date</TH>
                  <TH rowspan="1" colspan="1">Delivered quantity</TH>
                  <TH rowspan="1" colspan="1">Back order quantity</TH>
               </TR>
               <TR no="2" isLast="false">
                  <TD rowspan="1" colspan="1">1</TD>
                  <TD rowspan="1" colspan="1">80</TD>
                  <TD rowspan="1" colspan="1">14/12</TD>
                  <TD rowspan="1" colspan="1">70</TD>
                  <TD rowspan="1" colspan="1">10</TD>
               </TR>
               <TR no="3" isLast="false">
                  <TD rowspan="1" colspan="1">2</TD>
                  <TD rowspan="1" colspan="1">20</TD>
                  <TD rowspan="1" colspan="1">21/12</TD>
                  <TD rowspan="1" colspan="1">20</TD>
                  <TD rowspan="1" colspan="1">0</TD>
               </TR>
               <TR no="4" isLast="true">
                  <TD rowspan="1" colspan="1">3</TD>
                  <TD rowspan="1" colspan="1">10</TD>
                  <TD rowspan="1" colspan="1">28/12</TD>
                  <TD rowspan="1" colspan="1">10</TD>
                  <TD rowspan="1" colspan="1">0</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph>Sequence number 3 is of the <GUIRef href="/baanerp/td/domains/sls.oltp#backorder" role="option">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> and <Link href="/baanerp/td/sls/tdsls4106m000" role="session">Sales Order Actual Delivery Lines / Sales Order Invoice Line (tdsls4106m000)</Link> sessions.</Paragraph>
      </Note>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000376" role="manual">Cross-docking and splitting deliveries</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000121" role="manual">Back order handling for sales orders</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000403" role="manual">Synchronization between sales order line and delivery lines</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>