| # Example of default loading and unloading date/time calculation 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. The Earliest Load Date Tolerance 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, LN plans one hour of the Earliest Load Date Tolerance (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). The Latest Load Date Tolerance 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. The Earliest Unload Date Tolerance 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 Earliest Unload Date Tolerance was less than two hours, unloading could not take place on the same day. The Latest Unload Date Tolerance 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). |