| # Time units Planning days Several lead times can be defined in days. Because calendars are defined in hours/minutes, you must specify how the lead time days are calculated in the calendar. The rule is that lead times in days are planned as working days, which means that the available time on a day is one day of lead time. Example Planning backwards The calendar runs from 8:00 to 17:00: Planning one day backwards from 11:55 sets the start date on 8:00 (start of the day) Planning one day backwards from Tuesday 7:55 sets the start date on Monday 8:00 You work from Monday to Friday, planning two days backwards from Monday 13:15 sets the start on Friday 8:00 Planning forward is just the opposite. Example Planning forward The calendar runs from 8:00 to 17:00: Planning one day forward from 11:55 sets the start date on 17:00 (end of the day) Planning one day forward from Monday 17:05 sets the end date on Tuesday 17:00 You work from Monday to Friday, planning two days forward from Friday 13:15 sets the end on Monday 17:00 You can also plan zero (0) days. This sets the dates to the nearest working moment. Example Planning 0 days Therefore, if you plan: Zero (0) days backward/forward from 13:00 Monday, nothing happens because this time is already the working moment Zero (0) days backward from Monday 18:00, the date is set to Monday 17:00 Zero (0) days forward from Monday 18:00, the date is set to Tuesday 8:00 Using days and hours The list of available time units usually includes hours and days. The granularities week and month are not supported to avoid problems with converting them into days. The only exception is the definition of distances. In the distance tables by city and ZIP code, the time distance’s unit is user definable. Unit conversion factors are used to calculate the length in seconds. The lead time is then planned in seconds on the calendar, similar to the planning of hours. Conversion of hours to days In general, the lead times defined in days are planned as days, and lead times defined in hours are planned as hours. Still, you must convert hours into days in a number of situations. The situations related to Enterprise Planning are: The calculation of the calculated lead time in the Items - Purchase Business Partner (tdipu0110m000) session The calculation of the order lead time to determine the economic order quantity in the Optimize Lot Sizing (cprao3200m000) session The cumulative lead time calculation in the Check Horizons (cprpd1200m000) session To carry out the conversion, you can also use the average basic day capacity of the availability type involved. Because each lead time is linked to an availability type, an availability type is always involved. The basic day capacity is derived from the working times defined in the Standard Calendar (tcccp0140m000) session:
    The total number of working hours defined / number of weekdays with working times
Related topics Calendars in Enterprise Planning Horizons and time fences Time Zones in Enterprise Planning |