<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000014" xml:lang="en">
   <Header>
      <Title>Sequence numbers on purchase orders</Title>
      <Keyword type="header" order="d1e1342244">
         <Level1>Sequence numbers</Level1>
      </Keyword>
   </Header>
   <GeneralSection>
      <List>
         <ListIntro>Sequence numbers are used as follows:</ListIntro>
         <ListItem>When an <GUIRef href="/baanerp/td/domains/gen.oltp#orderline" role="option">Order Line</GUIRef> is generated in the <GUIRef href="/baanerp/td/pur/tdpur4101m000" role="session">Purchase Order Lines (tdpur4101m000)</GUIRef> session, the purchase order line's sequence
		  number is one.</ListItem>
         <ListItem>When the relevant order line is split, or a back order is
		  generated for the order line, the order line changes to a <GUIRef href="/baanerp/td/domains/gen.oltp#total" role="option">Total</GUIRef> line in the <GUIRef href="/baanerp/td/pur/tdpur4101m000" role="session">Purchase Order Lines (tdpur4101m000)</GUIRef> session with a
		  sequence number of zero. The linked line details of line type <GUIRef href="/baanerp/td/domains/gen.oltp#detail" role="option">Detail</GUIRef> or <GUIRef href="/baanerp/td/domains/gen.oltp#backorder" role="option">Back Order</GUIRef> in the <GUIRef href="/baanerp/td/pur/tdpur4101m200" role="session">Purchase Order Line Details (tdpur4101m200)</GUIRef> session, have a sequence number greater than
		  zero.</ListItem>
      </List>
      <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">
                  <TD rowspan="1" colspan="1">Sequence number</TD>
                  <TD rowspan="1" colspan="1">Order quantity</TD>
                  <TD rowspan="1" colspan="1">Planned delivery date</TD>
               </TR>
               <TR no="2" isLast="true">
                  <TD rowspan="1" colspan="1">1</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">
                  <TD rowspan="1" colspan="1">Sequence number</TD>
                  <TD rowspan="1" colspan="1">Order quantity</TD>
                  <TD rowspan="1" colspan="1">Planned delivery date</TD>
               </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 receipts are performed:</Emphasis>
         </Paragraph>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="4">
               <TR no="1" isLast="false">
                  <TD rowspan="1" colspan="1">Sequence number</TD>
                  <TD rowspan="1" colspan="1">Order quantity</TD>
                  <TD rowspan="1" colspan="1">Planned delivery date</TD>
                  <TD rowspan="1" colspan="1">Delivered quantity</TD>
                  <TD rowspan="1" colspan="1">Back order quantity</TD>
               </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">0</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/gen.oltp#backorder" role="option">Back Order</GUIRef> line type.</Paragraph>
      </ExampleSection>
      <Paragraph>You must evaluate the
		back order quantity. If you agree upon a back order, you can specify a delivery
		date for this back order. If for that delivery date a sequence number already
		exists, the back order quantity is added to the order quantity of the
		concerning date. If for the specified date an order quantity is not yet
		specified, a new sequence number is created. LN also checks if the
		delivery address and the ship-from address match.</Paragraph>
   </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/000332" role="manual">Back orders - automatic confirmation</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000333" role="manual">Back orders - manual confirmation</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000405" role="manual">Synchronization between purchase order line and purchase order line detail</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>