<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000034" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Example of default loading and unloading date/time calculation</Title>
		<Keyword><Level1>Load date</Level1>
			<Level2>calculation</Level2>
		</Keyword>
		<Keyword><Level1>Unload date</Level1>
			<Level2>calculation</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>The planned load date/time of a freight order is 02/17/2004 08:00, which is taken as default from the planned delivery date of the originating sales order. The planned unload date/time is 02/17/2004 20:00, which is taken as default from the planned receipt date of the originating sales order. The opening hours of the ship-from address are 07:00 to 18:00. The opening hours of the ship-to address are 06:00 to 18:00. These opening hours are stored in the calendars of the ship-from address and the ship-to address.</Paragraph>
		<Paragraph>The <GUIRef href="/baanerp/fm/foc/fmfoc0100m000#fmfoc000.seld" role="formfield">Earliest Load Date Tolerance</GUIRef> is four hours. This would imply that loading could start at 04:00 (planned load time 08:00 minus four hours). However, the ship-from address is not open until 07:00. Therefore, SSA ERP plans one hour of the <GUIRef href="/baanerp/fm/foc/fmfoc0100m000#fmfoc000.seld" role="formfield">Earliest Load Date Tolerance</GUIRef> (07:00 to 08:00) on the same day and the three remaining hours on the previous day. As a result, the earliest load date in the freight order is 02/16 2004 15:00 (18:00 minus three hours).</Paragraph>
		<Paragraph>The <GUIRef href="/baanerp/fm/foc/fmfoc0100m000#fmfoc000.slld" role="formfield">Latest Load Date Tolerance</GUIRef> is also four hours. This means, that loading should be finished by 12:00. According to the calendar, 12:00 is well within the opening hours, so the latest load date in the freight order is set at 02/17 2004 12:00.</Paragraph>
		<Paragraph>The <GUIRef href="/baanerp/fm/foc/fmfoc0100m000#fmfoc000.seud" role="formfield">Earliest Unload Date Tolerance</GUIRef> is five hours. This implies, that unloading can start at 15:00. This is well before the ship-to address is closed, so the earliest unload date for the freight order is 17/02 2004 15:00. Note that if the <GUIRef href="/baanerp/fm/foc/fmfoc0100m000#fmfoc000.seud" role="formfield">Earliest Unload Date Tolerance</GUIRef> was less than two hours, unloading could not take place on the same day.</Paragraph>
		<Paragraph>The <GUIRef href="/baanerp/fm/foc/fmfoc0100m000#fmfoc000.slud" role="formfield">Latest Unload Date Tolerance</GUIRef> is also five hours. This would mean, that unloading could be finished by 01:00 the next day. Because the unloading dock does not open until 06:00 according to the calendar of the ship-to address, the latest unload date for the freight order is set at 02/18/2004 11:00 (06:00 plus five hours).</Paragraph>
	</GeneralSection>
</ManualTopic>
