<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000164" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">RRP run, basic calculation for one item</Title>
		<Keyword><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, SSA ERP 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>1. Determine the simulated time period</SectionTitle>
			<List><ListIntro>SSA ERP 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 entered in the <GUIRef href="/baanerp/cp/rrp/cprrp1210m000" role="session">Generate Order Planning (cprrp1210m000)</GUIRef> session or in the <GUIRef href="/baanerp/cp/rrp/cprrp1220m000" role="session">Generate Order Planning (Item) (cprrp1220m000)</GUIRef> session.</ListItem>
				<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>SSA ERP 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>SSA ERP 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="enum">Firm Planned</GUIRef> order status</ListItem>
				<ListItem>Planned orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#confirmed" role="enum">Confirmed</GUIRef> order status</ListItem>
				<ListItem>Actual supply orders</ListItem>
			</List>
		</GeneralSection>
		<GeneralSection><SectionTitle>Note</SectionTitle>
			<Paragraph>Before SSA ERP carries out a planning run, all previously created planned orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#planned" role="enum">Planned</GUIRef> order status are removed.</Paragraph>
			<Paragraph>If you select the <GUIRef href="/baanerp/cp/rrp/cprrp1210m000#f.remove.fipl" role="formfield">Remove Firm Planned Orders</GUIRef> field in the <GUIRef href="/baanerp/cp/rrp/cprrp1210m000" role="session">Generate Order Planning (cprrp1210m000)</GUIRef> session, SSA ERP also removes the previously created planned-orders with <GUIRef href="/baanerp/cp/domains/rrp.osta#firmplanned" role="enum">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">Warehouse Management</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">Warehouse Management</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>SSA ERP generates two types of rescheduling messages:</ListIntro>
				<ListItem><GUIRef href="/baanerp/cp/domains/rao.sign#reschedule.out" role="enum">Reschedule Out</GUIRef> (move order to later date)</ListItem>
				<ListItem><GUIRef href="/baanerp/cp/domains/rao.sign#reschedule.in" role="enum">Reschedule In</GUIRef> (move order to earlier date)</ListItem>
			</List>
			<Paragraph>For more information, see <Link href="/baanerp/cp/onlinemanual/000041" role="manual">Planning signals in Enterprise Planning</Link>.</Paragraph>
			<Paragraph>If the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000#cprpd000.rsio" role="formfield">Only Reschedule Total Order Quantity</GUIRef> check box in the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000" role="session">EP Parameters (cprpd0100m000)</GUIRef> session is cleared, SSA ERP can also reschedule part of an order.</Paragraph>
			<Paragraph>You can let SSA ERP automatically process the rescheduling messages in the <GUIRef href="/baanerp/cp/rao/cprao1220m000" role="session">Process - Signals (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"><TBODY><TR><TD>Scheduled receipt for day 1:</TD>
						<TD>20 pcs</TD>
					</TR>
					<TR><TD>Scheduled receipt for day 4:</TD>
						<TD>10 pcs</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>Requirements:</Paragraph>
			<TABLE border="1"><THEAD><TR><TD>Day</TD>
						<TD>1</TD>
						<TD>2</TD>
						<TD>3</TD>
						<TD>4</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD>Scheduled receipt</TD>
						<TD>15</TD>
						<TD></TD>
						<TD></TD>
						<TD>10</TD>
					</TR>
					<TR><TD>Required quantity</TD>
						<TD>0</TD>
						<TD>5</TD>
						<TD>14</TD>
						<TD>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">Signal 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, SSA ERP 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>: SSA ERP does not generate planned orders before the last firm-planned order. If necessary, SSA ERP generates reschedule-in messages.</Paragraph>
			<Paragraph>However, you can override this rule by selecting the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000#cprpd000.fipl" role="formfield">Planned Order before Firm/Actual</GUIRef> check box in the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000" role="session">EP 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>SSA ERP stores the results of the simulation in the database. SSA ERP 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">Planning signals in Enterprise Planning</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
