<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ti/onlinemanual/000782" xml:lang="en">
   <Header>
      <Title>Adding Production Order To Order Block</Title>
      <Keyword type="header" order="d1e2053496">
         <Level1>Adding</Level1>
         <Level2>production order to order block</Level2>
      </Keyword>
      <Keyword type="header" order="d1e2053501">
         <Level1>Production Order to Order Block</Level1>
         <Level2>adding</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <ProcedureList>
         <ListIntro>If you enter values in the fields of this session, and click <GUIRef href="/baanerp/ti/sfc/tisfc0252m000#add.order.to.block.plan" role="command">Add Order to Production Order Group</GUIRef>, LN performs the
		  following actions:</ListIntro>
         <ListItem>
            <Paragraph>Checks whether <GUIRef href="/baanerp/ti/sfc/tisfc0151m000" role="session">Order Block Planning (tisfc0151m000)</GUIRef> session already has records for the specified <Link href="/baanerp/ti/glossary/glossary#Machines_ti" role="glossary">machine</Link> and the specified start date of order-block
			 period.</Paragraph>
            <Paragraph>If no such order blocks exist, this session cannot add
			 production orders to order blocks.</Paragraph>
         </ListItem>
         <ListItem>Determines which of the production order's <Link href="/baanerp/ti/glossary/glossary#000000000000052" role="glossary">operations</Link> is executed on the machine
		  that you specified. If multiple operations are executed on the same machine, LN selects the first of
		  these operations.</ListItem>
         <ListItem>
            <Paragraph>For each of the <Link href="/baanerp/ti/glossary/glossary#100103" role="glossary">setup classes</Link> you specified in this session, LN searches the
			 applicable <Link href="/baanerp/ti/glossary/glossary#100104" role="glossary">setup state</Link>, as defined in the <GUIRef href="/baanerp/ti/sfc/tisfc0133m000" role="session">Setup Classes and States by Operation (tisfc0133m000)</GUIRef> session.</Paragraph>
            <Paragraph>If LN finds no such setup state for the operation, LN assumes that the
			 operation has the setup state that comes after all other setup
			 states.</Paragraph>
         </ListItem>
         <ListItem>LN checks the <GUIRef href="/baanerp/ti/sfc/tisfc0151m000" role="session">Order Block Planning (tisfc0151m000)</GUIRef> session for order blocks with the same
		  set of setup classes and setup states as the production order that you want to
		  add.</ListItem>
         <ListItem>If LN finds such an order block, LN checks whether that order block's start date is on or after the
		  value of the <GUIRef href="/baanerp/ti/sfc/tisfc0252m000#f.add.to.after" role="manual">Add to Block Planning After</GUIRef> field.</ListItem>
         <ListItem>
            <Paragraph>If LN found an order block that meets these criteria, LN adds the production
			 order to the order block.</Paragraph>
            <Paragraph>If LN found no suitable order block, LN inserts a new order
			 block in the <GUIRef href="/baanerp/ti/sfc/tisfc0151m000" role="session">Order Block Planning (tisfc0151m000)</GUIRef> session, and adds the production order
			 to the new order block.</Paragraph>
         </ListItem>
      </ProcedureList>
   </GeneralSection>
   <GeneralSection>
      <Paragraph>After you added production orders to an order block, or removed
		production orders from an order block, you must reschedule the order
		block.</Paragraph>
      <Paragraph>To reschedule an order block, in the <GUIRef href="/baanerp/ti/sfc/tisfc0151m000" role="session">Order Block Planning (tisfc0151m000)</GUIRef>, on the <GUIRef href="" role="manual" Update="No">Specific</GUIRef> menu, click <GUIRef href="/baanerp/ti/sfc/tisfc0151m000#reschedule.order.blocks" role="command">Reschedule Order Blocks</GUIRef>.</Paragraph>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000355" role="manual">Order-block planning</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000357" role="manual">To plan with order blocks</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000359" role="manual">To add or remove production orders to or from an order block</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>