<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000164" xml:lang="en">
   <Header>
      <Title>RRP run, basic calculation for one item</Title>
      <Keyword type="header" order="d1e208132">
         <Level1>RRP run</Level1>
         <Level2>basic calculation for one item</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>The planning engine matches the planned requirements against the
		planned receipts and identifies potential shortages.</Paragraph>
      <Paragraph>If the expected inventory level deviates from the inventory
		plan, ERP Enterprise generates <Link href="/baanerp/ti/glossary/glossary#RescheMessag_ti" role="glossary">rescheduling messages</Link> for existing orders, or generates new <Link href="/baanerp/cp/glossary/glossary#000050" role="glossary">planned orders</Link> if necessary.</Paragraph>
      <ProcedureList>
         <ListIntro>In the following section, the steps of an RRP run are
		  described. These steps are:</ListIntro>
         <ListItem>Determine the simulated time period.</ListItem>
         <ListItem>Consume demand forecast.</ListItem>
         <ListItem>Determine the starting inventory.</ListItem>
         <ListItem>Place receipts and requirements on a time axis.</ListItem>
         <ListItem>Select next requirement.</ListItem>
         <ListItem>Check the inventory.</ListItem>
         <ListItem>Generate rescheduling messages.</ListItem>
         <ListItem>Transfer anonymous inventory to project inventory.</ListItem>
         <ListItem>Generate planned orders.</ListItem>
         <ListItem>Generate cancel messages.</ListItem>
         <ListItem>Update database.</ListItem>
      </ProcedureList>
      <GeneralSection>
         <SectionTitle>Alternative materials</SectionTitle>
         <Paragraph>If the <GUIRef href="/baanerp/tc/com/tccom0100s000#tccom000.altm" role="manual">Use Up and Alternative Materials</GUIRef> check box in the <GUIRef href="/baanerp/tc/com/tccom0100s000" role="session">Implemented Software Components (tccom0100s000)</GUIRef> session is selected, ERP Enterprise follows a modified
		  algorithm. For more information, refer to <Link href="/baanerp/cp/onlinemanual/000454" role="manual">Use-up materials and alternative materials in Enterprise Planning</Link>.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>1. Determine the simulated time period</SectionTitle>
         <List>
            <ListIntro>ERP Enterprise carries out the simulation over a certain time period. The simulated time
			 period is determined by the following factors:</ListIntro>
            <ListItem>Start date and end date of the scenario.</ListItem>
            <ListItem> 
               <Link href="/baanerp/cp/glossary/glossary#000063" role="glossary">Time fence</Link> and <Link href="/baanerp/cp/glossary/glossary#000065" role="glossary">order horizon</Link>.</ListItem>
            <ListItem> 
               <Link href="/baanerp/cp/glossary/glossary#000079" role="glossary">Net-change date</Link>.</ListItem>
         </List>
         <Paragraph>For information about these factors, see <Link href="/baanerp/cp/onlinemanual/000015" role="manual">Simulated time period (RRP run)</Link>.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>2. Consume demand forecast</SectionTitle>
         <Paragraph>If no item master plan exists for a plan item, demand
		  forecasts are recorded in the <GUIRef href="/baanerp/cp/dsp/cpdsp2100m000" role="session">Special Demand by Item (cpdsp2100m000)</GUIRef> session. <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> performs
		  forecast consumption to determine how much of the forecast has not yet been
		  filled in by actual demand. This non-consumed forecast is taken into account
		  during the planning process.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>3. Determine the starting inventory</SectionTitle>
         <Paragraph>ERP Enterprise determines the inventory at the start of the simulation by retrieving the
		  current on-hand inventory, and adjusting this inventory for all <Link href="/baanerp/wh/glossary/glossary#000012" role="glossary">planned inventory transactions</Link> until the start date of the simulation.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>4. Place receipts and requirements on a time
		  axis</SectionTitle>
         <Paragraph>ERP Enterprise places all existing requirements and scheduled receipts on a time axis for
		  subsequent analysis.</Paragraph>
         <List>
            <ListIntro>The following types of demand data are taken into account:</ListIntro>
            <ListItem>Non-consumed demand forecast</ListItem>
            <ListItem>Actual sales orders</ListItem>
            <ListItem>Critical material requirements originating from <Link href="/baanerp/cp/glossary/glossary#000059" role="glossary">master planning</Link>
            </ListItem>
            <ListItem>Dependent demand originating from planned orders</ListItem>
            <ListItem>Dependent demand originating from actual orders</ListItem>
         </List>
         <List>
            <ListIntro>The following types of supply data are taken into account:</ListIntro>
            <ListItem>Planned orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#firmplanned" role="option">Firm Planned</GUIRef> order status</ListItem>
            <ListItem>Planned orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#confirmed" role="option">Confirmed</GUIRef> order status</ListItem>
            <ListItem>Actual supply orders</ListItem>
         </List>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>Before ERP Enterprise carries out a planning run, all previously
		  created planned orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#planned" role="option">Planned</GUIRef> order status are
		  removed.</Paragraph>
         <Paragraph>If you select the <GUIRef href="/baanerp/cp/rrp/cprrp1210m000#f.remove.fipl" role="manual">Remove Firm Planned Orders</GUIRef> field in the <GUIRef href="/baanerp/cp/rrp/cprrp1210m000" role="session">Generate Order Planning (cprrp1210m000)</GUIRef> session, ERP Enterprise also removes the
		  previously created planned-orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#firmplanned" role="option">Firm Planned</GUIRef> order status.</Paragraph>
         <List>
            <ListIntro>The receipts and requirements are retrieved from:</ListIntro>
            <ListItem>The non-consumed demand forecast in the item master plan, or
			 in the <GUIRef href="/baanerp/cp/dsp/cpdsp2100m000" role="session">Special Demand by Item (cpdsp2100m000)</GUIRef> session (if no item master plan
			 exists).</ListItem>
            <ListItem>The critical material requirements in the <GUIRef href="/baanerp/cp/rmp" role="module">Master Planning</GUIRef> module.</ListItem>
            <ListItem>The planned inventory movements in the <GUIRef href="/baanerp/cp/rrp" role="module">Resource Requirement Planning</GUIRef> module.</ListItem>
            <ListItem>The <Link href="/baanerp/wh/glossary/glossary#000012" role="glossary">planned inventory transactions</Link> in the <GUIRef href="/baanerp/wh/inp" role="module">Inventory Planning</GUIRef> module
			 in <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>.</ListItem>
            <ListItem>The <Link href="/baanerp/wh/glossary/glossary#000336" role="glossary">inventory transactions</Link> in the <GUIRef href="/baanerp/wh/inr" role="module">Inventory Reporting</GUIRef> module in <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>.</ListItem>
         </List>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>5. Select next requirement</SectionTitle>
         <Paragraph>Search for the next requirement. If a requirement can be
		  found, subtract the required quantity from the inventory, and proceed with the
		  next step.</Paragraph>
         <Paragraph>If there are no more requirements, go to step 10 (generate
		  cancel messages).</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>6. Check the inventory</SectionTitle>
         <Paragraph>If the inventory drops below the required inventory level,
		  proceed with the next step (reschedule receipts), or else, return to step 5
		  (select next requirement).</Paragraph>
         <Paragraph>If an item has no item master plan, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses the <Link href="/baanerp/wh/glossary/glossary#000377" role="glossary">safety stock</Link> to determine the required inventory level. You can define the
		  safety stock in the <GUIRef href="/baanerp/tc/ibd/tcibd2500m000" role="session">Items - Ordering (tcibd2500m000)</GUIRef> session. Here you can also specify a <Link href="/baanerp/tc/glossary/glossary#SeasonPatter_tc" role="glossary">seasonal pattern</Link> for seasonal variations in the safety stock.</Paragraph>
         <Paragraph>If an item has an item master plan, the <Link href="/baanerp/cp/glossary/glossary#000011" role="glossary">inventory plan</Link> in the <GUIRef href="/baanerp/cp/rmp/cprmp2101m000" role="session">Item Master Plan (cprmp2101m000)</GUIRef> session is used. However, the inventory level in the first simulated period
		  must be at least equal to the safety stock.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>7. Generate rescheduling messages</SectionTitle>
         <ProcedureList>
            <ListIntro>Search for the next receipt. If a receipt can be found:</ListIntro>
            <ListItem>Add the received quantity to the inventory.</ListItem>
            <ListItem>If necessary, generate a rescheduling message for this
			 receipt.</ListItem>
            <ListItem>Return to step 6 (check the inventory).</ListItem>
         </ProcedureList>
         <List>
            <ListIntro>ERP Enterprise generates two types of rescheduling messages:</ListIntro>
            <ListItem> 
               <GUIRef href="/baanerp/cp/domains/rao.sign#reschedule.out" role="option">Reschedule Out</GUIRef> (move order to later date)</ListItem>
            <ListItem> 
               <GUIRef href="/baanerp/cp/domains/rao.sign#reschedule.in" role="option">Reschedule In</GUIRef> (move
			 order to earlier date)</ListItem>
         </List>
         <Paragraph>For more information, see <Link href="/baanerp/cp/onlinemanual/000041" role="manual">Exception Messages in Enterprise Planning</Link>.</Paragraph>
         <Paragraph>If the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000#cprpd000.rsio" role="manual">Only Reschedule Total Order Quantity</GUIRef> check box in the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000" role="session">Planning Parameters (cprpd0100m000)</GUIRef> session is cleared, ERP Enterprise can also reschedule
		  part of an order.</Paragraph>
         <Paragraph>You can let ERP Enterprise automatically process the rescheduling
		  messages in the <GUIRef href="/baanerp/cp/rao/cprao1220m000" role="session">Process Exception Messages (cprao1220m000)</GUIRef> session. For more
		  information, see <Link href="/baanerp/cp/onlinemanual/000069" role="manual">Order signals</Link>.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Example</SectionTitle>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="2">
               <TR no="1" isLast="false">
                  <TD rowspan="1" colspan="1">Scheduled receipt for day 1:</TD>
                  <TD rowspan="1" colspan="1">20 pcs</TD>
               </TR>
               <TR no="2" isLast="true">
                  <TD rowspan="1" colspan="1">Scheduled receipt for day 4:</TD>
                  <TD rowspan="1" colspan="1">10 pcs</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph>Requirements:</Paragraph>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <THEAD noTR="1">
               <TR no="1" isLast="true">
                  <TD rowspan="1" colspan="1">Day</TD>
                  <TD rowspan="1" colspan="1">1</TD>
                  <TD rowspan="1" colspan="1">2</TD>
                  <TD rowspan="1" colspan="1">3</TD>
                  <TD rowspan="1" colspan="1">4</TD>
               </TR>
            </THEAD>
            <TBODY noTR="2">
               <TR no="1" isLast="false">
                  <TD rowspan="1" colspan="1">Scheduled receipt</TD>
                  <TD rowspan="1" colspan="1">15</TD>
                  <TD rowspan="1" colspan="1"/>
                  <TD rowspan="1" colspan="1"/>
                  <TD rowspan="1" colspan="1">10</TD>
               </TR>
               <TR no="2" isLast="true">
                  <TD rowspan="1" colspan="1">Required quantity</TD>
                  <TD rowspan="1" colspan="1">0</TD>
                  <TD rowspan="1" colspan="1">5</TD>
                  <TD rowspan="1" colspan="1">14</TD>
                  <TD rowspan="1" colspan="1">6</TD>
               </TR>
            </TBODY>
         </TABLE>
         <List>
            <ListIntro>In this example there will be 3 rescheduling messages:</ListIntro>
            <ListItem>Reschedule out from day 1 to day 2: 5 pcs</ListItem>
            <ListItem>Reschedule out from day 1 to day 3: 10 pcs</ListItem>
            <ListItem>Reschedule in from day 4 to day 3: 4 pcs</ListItem>
         </List>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>In the <GUIRef href="/baanerp/cp/rao/cprao1110m000" role="session">Exception Message Types by Planner (cprao1110m000)</GUIRef> session, you can set a tolerance in days for
		  rescheduling messages. For example, if you set a tolerance of one day for
		  reschedule-out messages, the first rescheduling message in this example will
		  not be generated.</Paragraph>
         <Paragraph>If there are no more receipts, proceed with the next step
		  (transfer anonymous inventory).</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>8.Transfer anonymous inventory to project
		  inventory</SectionTitle>
         <Paragraph>If the item is a <Link href="/baanerp/ti/glossary/glossary#000098" role="glossary">project item</Link> that is derived from a standard item, ERP Enterprise can transfer inventory
		  of the standard item to the inventory of the project item. See <Link href="/baanerp/cp/onlinemanual/000088" role="manual">Project items in <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef>
            </Link>.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>9. Generate planned order</SectionTitle>
         <Paragraph>Generate a planned order and add the order quantity to the
		  inventory. For more information, see <Link href="/baanerp/cp/onlinemanual/000040" role="manual">To generate planned orders (RRP run)</Link>.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>A <Link href="/baanerp/cp/glossary/glossary#000100" role="glossary">firm-planned</Link> order serves as
		  a sort of additional <Link href="/baanerp/cp/glossary/glossary#000063" role="glossary">time fence</Link>: ERP Enterprise does not
		  generate planned orders before the last firm-planned order. If necessary, ERP Enterprise generates
		  reschedule-in messages.</Paragraph>
         <Paragraph>However, you can override this rule by selecting the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000#cprpd000.fipl" role="manual">Planned Order before Firm/Actual</GUIRef> check box in the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000" role="session">Planning Parameters (cprpd0100m000)</GUIRef> session.</Paragraph>
         <Paragraph>Return to step 5 (select next requirement).</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>10. Generate cancel messages</SectionTitle>
         <Paragraph>Generate cancel messages for all scheduled receipts that are
		  not yet selected. These receipts are unnecessary.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>11. Update database</SectionTitle>
         <List>
            <ListIntro>ERP Enterprise stores the results of the simulation in the database. ERP Enterprise updates the data in
			 the following sessions:</ListIntro>
            <ListItem> 
               <GUIRef href="/baanerp/cp/rrp/cprrp1100m000" role="session">Planned Orders (cprrp1100m000)</GUIRef>
            </ListItem>
            <ListItem> 
               <GUIRef href="/baanerp/cp/rrp/cprrp0511m000" role="session">Planned Order - Inventory Movements (cprrp0511m000)</GUIRef>
            </ListItem>
            <ListItem> 
               <GUIRef href="/baanerp/cp/rrp/cprrp2100m000" role="session">Capacity Use by Planned Order (cprrp2100m000)</GUIRef>
            </ListItem>
            <ListItem> 
               <GUIRef href="/baanerp/cp/rpd/cprpd1100m000" role="session">Items - Planning (cprpd1100m000)</GUIRef>
            </ListItem>
         </List>
      </GeneralSection>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000162" role="manual">RRP run, an overview</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000015" role="manual">Simulated time period (RRP run)</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000088" role="manual">Project items in <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef>
         </Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000040" role="manual">To generate planned orders (RRP run)</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000041" role="manual">Exception Messages in Enterprise Planning</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000454" role="manual">Use-up materials and alternative materials in Enterprise Planning</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>