<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000042" xml:lang="en">
   <Header>
      <Title>Examples of the use of the planned date determiner options</Title>
      <Keyword type="header" order="d1e492409">
         <Level1>Planned date determiner</Level1>
         <Level2>example</Level2>
      </Keyword>
      <Keyword type="header" order="d1e492414">
         <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" width="100%" borderstyle="default"
             space-and-orientation="indented-estimated">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD rowspan="1" colspan="1">Order line</TD>
               <TD rowspan="1" colspan="1">From-address</TD>
               <TD rowspan="1" colspan="1">To-address</TD>
               <TD rowspan="1" colspan="1">Planned load date</TD>
               <TD rowspan="1" colspan="1">Planned unload date</TD>
            </TR>
         </THEAD>
         <TBODY noTR="3">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">1</TD>
               <TD rowspan="1" colspan="1">A</TD>
               <TD rowspan="1" colspan="1">C</TD>
               <TD rowspan="1" colspan="1">08:30</TD>
               <TD rowspan="1" colspan="1">17:10</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD rowspan="1" colspan="1">2</TD>
               <TD rowspan="1" colspan="1">A</TD>
               <TD rowspan="1" colspan="1">B</TD>
               <TD rowspan="1" colspan="1">08:45</TD>
               <TD rowspan="1" colspan="1">12:05</TD>
            </TR>
            <TR no="3" isLast="true">
               <TD rowspan="1" colspan="1">3</TD>
               <TD rowspan="1" colspan="1">B</TD>
               <TD rowspan="1" colspan="1">C</TD>
               <TD rowspan="1" colspan="1">12:40</TD>
               <TD rowspan="1" colspan="1">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" width="100%" borderstyle="default"
             space-and-orientation="indented-estimated">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD rowspan="1" colspan="1">Stop at address</TD>
               <TD rowspan="1" colspan="1">Minimum load date</TD>
               <TD rowspan="1" colspan="1">Maximum load date</TD>
               <TD rowspan="1" colspan="1">Travel time to stop</TD>
            </TR>
         </THEAD>
         <TBODY noTR="3">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">A</TD>
               <TD rowspan="1" colspan="1">08:00</TD>
               <TD rowspan="1" colspan="1">09:00</TD>
               <TD rowspan="1" colspan="1">-</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD rowspan="1" colspan="1">B</TD>
               <TD rowspan="1" colspan="1">12:00</TD>
               <TD rowspan="1" colspan="1">13:00</TD>
               <TD rowspan="1" colspan="1">04:00</TD>
            </TR>
            <TR no="3" isLast="true">
               <TD rowspan="1" colspan="1">C</TD>
               <TD rowspan="1" colspan="1">17:00</TD>
               <TD rowspan="1" colspan="1">18:00</TD>
               <TD rowspan="1" colspan="1">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 xmlns:HTML="http://www.w3.org/TR/REC-html40" height="248" width="651"
                   SRC="../images/om000042_1_earliest-latest.gif"
                   alt="[...]"/>
      </Paragraph>
      <Paragraph>If you select the <GUIRef href="/baanerp/fm/domains/lbd.dtdr#earliest" role="option">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="option">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</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 xmlns:HTML="http://www.w3.org/TR/REC-html40" height="335" width="651"
                   SRC="../images/om000042_2_minimum.gif"
                   alt="[...]"/>
      </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</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 xmlns:HTML="http://www.w3.org/TR/REC-html40" height="363" width="671"
                   SRC="../images/om000042_3_average.gif"
                   alt="[...]"/>
      </Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Overview of the planned shipment dates for each planned date
		determiner option</SectionTitle>
      <TABLE border="1" width="100%" borderstyle="default"
             space-and-orientation="indented-estimated">
         <THEAD noTR="1">
            <TR valign="top" no="1" isLast="true">
               <TH width="15%" height="10" valign="top" rowspan="1" colspan="1">Planned date determiner</TH>
               <TH width="8%" valign="top" rowspan="1" colspan="1">Shipment</TH>
               <TH width="7%" valign="top" rowspan="1" colspan="1">Order line</TH>
               <TH width="10%" valign="top" rowspan="1" colspan="1">From- address</TH>
               <TH width="9%" valign="top" rowspan="1" colspan="1">To- address</TH>
               <TH width="11%" valign="top" rowspan="1" colspan="1">Planned load date</TH>
               <TH width="12%" valign="top" rowspan="1" colspan="1">Plnd unload date</TH>
               <TH width="12%" valign="top" rowspan="1" colspan="1">Plnd load dte of order</TH>
               <TH width="12%" valign="top" rowspan="1" colspan="1">Plnd unload dte of order</TH>
            </TR>
         </THEAD>
         <TBODY noTR="12">
            <TR no="1" isLast="false">
               <TH rowspan="3" width="15%" valign="top" height="10" colspan="1">Earliest
				Possible Date</TH>
               <TD width="8%" rowspan="1" colspan="1">SHIP 1</TD>
               <TD width="7%" rowspan="1" colspan="1">1</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">08:00</TD>
               <TD width="12%" rowspan="1" colspan="1">17:00</TD>
               <TD width="12%" rowspan="1" colspan="1">08:30</TD>
               <TD width="12%" rowspan="1" colspan="1">17:10</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 2</TD>
               <TD width="7%" rowspan="1" colspan="1">2</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">B</TD>
               <TD width="11%" rowspan="1" colspan="1">08:00</TD>
               <TD width="12%" rowspan="1" colspan="1">12:00</TD>
               <TD width="12%" rowspan="1" colspan="1">08:45</TD>
               <TD width="12%" rowspan="1" colspan="1">12:05</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 3</TD>
               <TD width="7%" rowspan="1" colspan="1">3</TD>
               <TD width="10%" rowspan="1" colspan="1">B</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">12:00</TD>
               <TD width="12%" rowspan="1" colspan="1">17:00</TD>
               <TD width="12%" rowspan="1" colspan="1">12:40</TD>
               <TD width="12%" rowspan="1" colspan="1">17:35</TD>
            </TR>
            <TR no="4" isLast="false">
               <TH rowspan="3" width="15%" valign="top" height="10" colspan="1">Latest
				possible date</TH>
               <TD width="8%" rowspan="1" colspan="1">SHIP 1</TD>
               <TD width="7%" rowspan="1" colspan="1">1</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">09:00</TD>
               <TD width="12%" rowspan="1" colspan="1">18:00</TD>
               <TD width="12%" rowspan="1" colspan="1">08:30</TD>
               <TD width="12%" rowspan="1" colspan="1">17:10</TD>
            </TR>
            <TR no="5" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 2</TD>
               <TD width="7%" rowspan="1" colspan="1">2</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">B</TD>
               <TD width="11%" rowspan="1" colspan="1">09:00</TD>
               <TD width="12%" rowspan="1" colspan="1">13:00</TD>
               <TD width="12%" rowspan="1" colspan="1">08:45</TD>
               <TD width="12%" rowspan="1" colspan="1">12:05</TD>
            </TR>
            <TR no="6" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 3</TD>
               <TD width="7%" rowspan="1" colspan="1">3</TD>
               <TD width="10%" rowspan="1" colspan="1">B</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">13:00</TD>
               <TD width="12%" rowspan="1" colspan="1">18:00</TD>
               <TD width="12%" rowspan="1" colspan="1">12:40</TD>
               <TD width="12%" rowspan="1" colspan="1">17:35</TD>
            </TR>
            <TR no="7" isLast="false">
               <TH rowspan="3" width="15%" valign="top" height="10" colspan="1">Minimum of
				planned unload dates</TH>
               <TD width="8%" rowspan="1" colspan="1">SHIP 1</TD>
               <TD width="7%" rowspan="1" colspan="1">1</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">08:05</TD>
               <TD width="12%" rowspan="1" colspan="1">17:05</TD>
               <TD width="12%" rowspan="1" colspan="1">08:30</TD>
               <TD width="12%" rowspan="1" colspan="1">17:10</TD>
            </TR>
            <TR no="8" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 2</TD>
               <TD width="7%" rowspan="1" colspan="1">2</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">B</TD>
               <TD width="11%" rowspan="1" colspan="1">08:05</TD>
               <TD width="12%" rowspan="1" colspan="1">12:05</TD>
               <TD width="12%" rowspan="1" colspan="1">08:45</TD>
               <TD width="12%" rowspan="1" colspan="1">12:05</TD>
            </TR>
            <TR no="9" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 3</TD>
               <TD width="7%" rowspan="1" colspan="1">3</TD>
               <TD width="10%" rowspan="1" colspan="1">B</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">12:05</TD>
               <TD width="12%" rowspan="1" colspan="1">17:05</TD>
               <TD width="12%" rowspan="1" colspan="1">12:40</TD>
               <TD width="12%" rowspan="1" colspan="1">17:35</TD>
            </TR>
            <TR no="10" isLast="false">
               <TH rowspan="3" width="15%" valign="top" height="10" colspan="1">Average of
				planned unload dates</TH>
               <TD width="8%" rowspan="1" colspan="1">SHIP 1</TD>
               <TD width="7%" rowspan="1" colspan="1">1</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">17:16</TD>
               <TD width="12%" rowspan="1" colspan="1">17:16</TD>
               <TD width="12%" rowspan="1" colspan="1">08:30</TD>
               <TD width="12%" rowspan="1" colspan="1">17:10</TD>
            </TR>
            <TR no="11" isLast="false">
               <TD width="8%" rowspan="1" colspan="1">SHIP 2</TD>
               <TD width="7%" rowspan="1" colspan="1">2</TD>
               <TD width="10%" rowspan="1" colspan="1">A</TD>
               <TD width="9%" rowspan="1" colspan="1">B</TD>
               <TD width="11%" rowspan="1" colspan="1">12:16</TD>
               <TD width="12%" rowspan="1" colspan="1">12:16</TD>
               <TD width="12%" rowspan="1" colspan="1">08:45</TD>
               <TD width="12%" rowspan="1" colspan="1">12:05</TD>
            </TR>
            <TR no="12" isLast="true">
               <TD width="8%" rowspan="1" colspan="1">SHIP 3</TD>
               <TD width="7%" rowspan="1" colspan="1">3</TD>
               <TD width="10%" rowspan="1" colspan="1">B</TD>
               <TD width="9%" rowspan="1" colspan="1">C</TD>
               <TD width="11%" rowspan="1" colspan="1">17:16</TD>
               <TD width="12%" rowspan="1" colspan="1">17:16</TD>
               <TD width="12%" rowspan="1" colspan="1">12:40</TD>
               <TD width="12%" rowspan="1" colspan="1">17:35</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
</ManualTopic>