| # Workdays and calendar days in Enterprise Planning Several types of horizons, time fences, and lead times are expressed in workdays. During the planning process, these workdays need to be translated to calendar days. When Enterprise Planning translates workdays to calendar days, it takes the capacity of the appropriate calendar into account. Procedure for lead-time data For lead-time data (such as the safety time), the procedure can be described as follows: Enterprise Planning converts workdays to working hours, based on the basic capacity of the resource involved (defined in the Resource (cprpd2100m000) session). If no resource is involved, the conversion is based on the basic capacity of the work center (defined in the Work Centers (tirou0101m000) session). Enterprise Planning plans the working hours according to the resource calendar or a more general calendar. Procedure for horizons and time fences For horizons and time fences, the procedure can be described as follows: Enterprise Planning converts workdays to working hours, based on the basic day capacity that is defined in the EP Parameters (cprpd0100m000) session. Enterprise Planning plans the working hours according to the calendar of the item's enterprise unit. If no enterprise-unit calendar is available, the company calendar is used. The resulting time indications (expressed in hours, minutes, and seconds) are rounded to the end of a plan period. (This step is not carried out for signal horizons.) Example: time-fence calculation The capacity defined in the enterprise-unit calendar is displayed in the following table:
Date | Working times | Capacity [hrs]
--- | --- | ---
June 10 | 6:00 A.M. - 6:00 P.M. | 12
June 11 | 6:00 A.M. - 6:00 P.M. | 12
June 12 | 6:00 A.M. - 6:00 P.M. | 12
June 13 | 6:00 A.M. - 12:00 noon | 6
June 14 | - | 0
June 15 | - | 0
June 16 | 6:00 A.M. - 6:00 P.M. | 12
June 17 | 6:00 A.M. - 6:00 P.M. | 12
Basic day capacity: 12 hours per day Current date: June 11, 4:00 P.M. Time fence: 3 workdays Procedure The time fence is converted to the number of hours, minutes, and seconds, based on the basic capacity (time fence = 3 x 12 = 36 hours). Then, the time fence is planned forward, starting at the current date and time. This is illustrated in the following table:
Date | Working times | Capacity [hrs]
--- | --- | ---
June 11 | 6:00 A.M. - 6:00 P.M. | 2
June 11 | 6:00 A.M. - 6:00 P.M. | 12
June 11 | 6:00 A.M. - 12:00 noon | 6
June 11 | - | 0
June 11 | - | 0
June 11 | 6:00 A.M. - 6:00 P.M. | 12
June 11 | 6:00 A.M. - 6:00 P.M. | 4
The resulting time fence is: June 17, at 10:00 AM. This time fence is rounded to the end of the plan period in which it falls. Related topics Calendars in Enterprise Planning Horizons and time fences Time Zones in Enterprise Planning |