<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000042" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Examples of the use of the planned date determiner options</Title>
		<Keyword><Level1>Planned date determiner</Level1>
			<Level2>example</Level2>
		</Keyword>
		<Keyword><Level1>Load building</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>The following data are used to show in greater detail how each of the planned date determiner options work:</Paragraph>
		<TABLE border="1"><THEAD><TR><TD>Order line</TD>
					<TD>From-address</TD>
					<TD>To-address</TD>
					<TD>Planned load date</TD>
					<TD>Planned unload date</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD>1</TD>
					<TD>A</TD>
					<TD>C</TD>
					<TD>08:30</TD>
					<TD>17:10</TD>
				</TR>
				<TR><TD>2</TD>
					<TD>A</TD>
					<TD>B</TD>
					<TD>08:45</TD>
					<TD>12:05</TD>
				</TR>
				<TR><TD>3</TD>
					<TD>B</TD>
					<TD>C</TD>
					<TD>12:40</TD>
					<TD>17:35</TD>
				</TR>
			</TBODY>
		</TABLE>
		<Paragraph>Stops are created during load building. The creation of stops is an intermediate stage of the load building process. The creation of shipments is based on stop data.</Paragraph>
		<TABLE border="1"><THEAD><TR><TD>Stop at address</TD>
					<TD>Minimum load date</TD>
					<TD>Maximum load date</TD>
					<TD>Travel time to stop</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD>A</TD>
					<TD>08:00</TD>
					<TD>09:00</TD>
					<TD>-</TD>
				</TR>
				<TR><TD>B</TD>
					<TD>12:00</TD>
					<TD>13:00</TD>
					<TD>04:00</TD>
				</TR>
				<TR><TD>C</TD>
					<TD>17:00</TD>
					<TD>18:00</TD>
					<TD>05:00</TD>
				</TR>
			</TBODY>
		</TABLE>
		<Paragraph>The minimum and maximum load dates of the stops (time windows) are derived from the earliest and latest load dates of all the order lines in the stop. The calendars of the carrier and the addresses are also taken into account.</Paragraph>
		<Paragraph>In this example, the loading, unloading, and waiting times are included in the travel times.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Earliest and latest possible date</SectionTitle>
		<Paragraph>The earliest possible dates and latest possible dates are equal to the time window borders. The time window borders are the minimum and maximum load and unload dates of the stops. No further date calculation is required.</Paragraph>
		<Paragraph><HTML:IMG SRC="../images/OM000042_1_earliest-latest.gif" height="248" width="651" xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Paragraph>
		<Paragraph>If you select the <GUIRef href="/baanerp/fm/domains/lbd.dtdr#earliest" role="enum">Earliest of Possible Dates</GUIRef> option, planned shipment dates are equal to the minimum load and unload dates of a stop.</Paragraph>
		<Paragraph>If you select the <GUIRef href="/baanerp/fm/domains/lbd.dtdr#latest" role="enum">Latest of Possible Dates</GUIRef> option, the planned shipment dates are equal to the maximum load and unload dates of a stop.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Minimum of planned unload dates</SectionTitle>
		<ProcedureList><ListIntro>To determine the minimum of planned unload dates, the planned unload dates of all order lines in the route are taken into account. <GUIRef href="/baanerp/fm" role="package">Freight Management</GUIRef> takes the following steps to determine the minimum of planned unload dates:</ListIntro>
			<ListItem>Determine the minimum of the planned unload dates of the order lines of the last unload stop. This will be the optimal unload date for this stop. In this example, the last unload stop is stop C. If the optimal date is not inside the time window, the optimal date is equal to the nearest window border. The optimal unload date at stop C is the minimum of 17:10 and 17:35 = 17:10.</ListItem>
			<ListItem>Calculate back the optimal load date for the preceding stop. In this example, the preceding stop is stop B. Note that an actual load stop is not present if no goods are loaded at that stop. The optimal load date at stop B is 17:10 – 5:00 travel time = 12:10.</ListItem>
			<ListItem>Calculate the next minimum of planned unload dates of the order lines in the stop. Now, the optimal load dates of order lines that must be loaded (or that are already loaded) are included in the calculation to determine the minimum of planned unload dates. In this stop, order line B's planned unload date is 12:05. The optimal unload date at stop B is the minimum of 12:10 and 12:05 = 12:05.</ListItem>
			<ListItem>Calculate back the optimal load date for the preceding stop. The optimal load date at stop A is 12:05 – 4:00 travel time = 08:05.</ListItem>
			<ListItem>Repeat Steps 3 and 4 until the first stop is reached.</ListItem>
			<ListItem>At the first stop, the optimal load date is the planned load date for the shipment. The planned load date of the shipment is the optimal date = 08:05.</ListItem>
			<ListItem>Starting from the first planned load date, calculate the optimal dates for all stops. These dates will be the planned load and unload dates for the shipments. The remaining shipment dates are calculated using the travel times = 12:05, 17:05.</ListItem>
		</ProcedureList>
		<Paragraph><HTML:IMG SRC="../images/OM000042_2_minimum.gif" height="335" width="651" xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Average of planned unload dates</SectionTitle>
		<ProcedureList><ListIntro>To determine the average of planned unload dates, the planned unload dates of all order lines in the route are taken into account. <GUIRef href="/baanerp/fm" role="package">Freight Management</GUIRef> carries out the following steps to calculate the average of planned unload dates:</ListIntro>
			<ListItem>Determine the average of the planned unload dates of the order lines of the last unload stop. This will be the optimal unload date for that stop. (If the optimal date is not inside the time window, the optimal date is equal to the nearest window border). The optimal unload date at stop C is the average of 17:10 and 17:35 = 17:22.</ListItem>
			<ListItem>Calculate back the optimal load date for the preceding stop. Note that an actual load stop is not present if no goods are loaded at that stop. The optimal load date at stop B is 17:22 (the optimal unload date at stop C) – 5:00 travel time = 12:22.</ListItem>
			<ListItem>Calculate the next average of planned unload dates of the order lines in the stop to determine the optimal unload date. In this calculation, the following data are included: <List><ListItem>The planned unload dates of the stop.</ListItem>
					<ListItem>The optimal load date of the stop (calculated in step 2).</ListItem>
					<ListItem>The order lines in the same load that are loaded at a previous stop and unloaded at a later stop. These stops obtain the value of the optimal load date calculated in step 2. In this example, order line 1 is not loaded or unloaded at stop B and receives the optimal load date value of 12:22. The reason for this is because, to match the unload date at the next stop, order line 1 must start at the same load date. The optimal unload date of stop B is the average of 2 * 12.22 and 12.05 = 12.16.</ListItem>
				</List>
			</ListItem>
			<ListItem>Calculate back the optimal load date for the preceding stop. The optimal load date at stop A is 12:16 – 4:00 Travel time = 08:16.</ListItem>
			<ListItem>Repeat Steps 3 and 4 until the first stop is reached.</ListItem>
			<ListItem>At the first stop, stop A, the optimal load date is the planned load date for the shipment.</ListItem>
			<ListItem>Starting from the first planned load date, 08:16, calculate the optimal dates for all stops. These dates will be the planned load and unload dates for the shipments. The remaining shipment dates are calculated using the travel times = 12:16 and 17:16.</ListItem>
		</ProcedureList>
		<Paragraph><HTML:IMG SRC="../images/OM000042_3_average.gif" height="363" width="671" xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Overview of the planned shipment dates for each planned date determiner option</SectionTitle>
		<TABLE border="1"><THEAD><TR valign="top">
					<TH width="15%" height="10" valign="top">Planned date determiner</TH>
					<TH width="8%" valign="top">Shipment</TH>
					<TH width="7%" valign="top">Order line</TH>
					<TH width="10%" valign="top">From- address</TH>
					<TH width="9%" valign="top">To- address</TH>
					<TH width="11%" valign="top">Planned load date</TH>
					<TH width="12%" valign="top">Plnd unload date</TH>
					<TH width="12%" valign="top">Plnd load dte of order</TH>
					<TH width="12%" valign="top">Plnd unload dte of order</TH>
				</TR>
			</THEAD>
			<TBODY><TR><TH rowspan="3" width="15%" valign="top" height="10">Earliest Possible Date</TH>
					<TD width="8%">SHIP 1</TD>
					<TD width="7%">1</TD>
					<TD width="10%">A</TD>
					<TD width="9%">C</TD>
					<TD width="11%">08:00</TD>
					<TD width="12%">17:00</TD>
					<TD width="12%">08:30</TD>
					<TD width="12%">17:10</TD>
				</TR>
				<TR><TD width="8%">SHIP 2</TD>
					<TD width="7%">2</TD>
					<TD width="10%">A</TD>
					<TD width="9%">B</TD>
					<TD width="11%">08:00</TD>
					<TD width="12%">12:00</TD>
					<TD width="12%">08:45</TD>
					<TD width="12%">12:05</TD>
				</TR>
				<TR><TD width="8%">SHIP 3</TD>
					<TD width="7%">3</TD>
					<TD width="10%">B</TD>
					<TD width="9%">C</TD>
					<TD width="11%">12:00</TD>
					<TD width="12%">17:00</TD>
					<TD width="12%">12:40</TD>
					<TD width="12%">17:35</TD>
				</TR>
				<TR><TH rowspan="3" width="15%" valign="top" height="10">Latest possible date</TH>
					<TD width="8%">SHIP 1</TD>
					<TD width="7%">1</TD>
					<TD width="10%">A</TD>
					<TD width="9%">C</TD>
					<TD width="11%">09:00</TD>
					<TD width="12%">18:00</TD>
					<TD width="12%">08:30</TD>
					<TD width="12%">17:10</TD>
				</TR>
				<TR><TD width="8%">SHIP 2</TD>
					<TD width="7%">2</TD>
					<TD width="10%">A</TD>
					<TD width="9%">B</TD>
					<TD width="11%">09:00</TD>
					<TD width="12%">13:00</TD>
					<TD width="12%">08:45</TD>
					<TD width="12%">12:05</TD>
				</TR>
				<TR><TD width="8%">SHIP 3</TD>
					<TD width="7%">3</TD>
					<TD width="10%">B</TD>
					<TD width="9%">C</TD>
					<TD width="11%">13:00</TD>
					<TD width="12%">18:00</TD>
					<TD width="12%">12:40</TD>
					<TD width="12%">17:35</TD>
				</TR>
				<TR><TH rowspan="3" width="15%" valign="top" height="10">Minimum of planned unload dates</TH>
					<TD width="8%">SHIP 1</TD>
					<TD width="7%">1</TD>
					<TD width="10%">A</TD>
					<TD width="9%">C</TD>
					<TD width="11%">08:05</TD>
					<TD width="12%">17:05</TD>
					<TD width="12%">08:30</TD>
					<TD width="12%">17:10</TD>
				</TR>
				<TR><TD width="8%">SHIP 2</TD>
					<TD width="7%">2</TD>
					<TD width="10%">A</TD>
					<TD width="9%">B</TD>
					<TD width="11%">08:05</TD>
					<TD width="12%">12:05</TD>
					<TD width="12%">08:45</TD>
					<TD width="12%">12:05</TD>
				</TR>
				<TR><TD width="8%">SHIP 3</TD>
					<TD width="7%">3</TD>
					<TD width="10%">B</TD>
					<TD width="9%">C</TD>
					<TD width="11%">12:05</TD>
					<TD width="12%">17:05</TD>
					<TD width="12%">12:40</TD>
					<TD width="12%">17:35</TD>
				</TR>
				<TR><TH rowspan="3" width="15%" valign="top" height="10">Average of planned unload dates</TH>
					<TD width="8%">SHIP 1</TD>
					<TD width="7%">1</TD>
					<TD width="10%">A</TD>
					<TD width="9%">C</TD>
					<TD width="11%">17:16</TD>
					<TD width="12%">17:16</TD>
					<TD width="12%">08:30</TD>
					<TD width="12%">17:10</TD>
				</TR>
				<TR><TD width="8%">SHIP 2</TD>
					<TD width="7%">2</TD>
					<TD width="10%">A</TD>
					<TD width="9%">B</TD>
					<TD width="11%">12:16</TD>
					<TD width="12%">12:16</TD>
					<TD width="12%">08:45</TD>
					<TD width="12%">12:05</TD>
				</TR>
				<TR><TD width="8%">SHIP 3</TD>
					<TD width="7%">3</TD>
					<TD width="10%">B</TD>
					<TD width="9%">C</TD>
					<TD width="11%">17:16</TD>
					<TD width="12%">17:16</TD>
					<TD width="12%">12:40</TD>
					<TD width="12%">17:35</TD>
				</TR>
			</TBODY>
		</TABLE>
	</GeneralSection>
</ManualTopic>
