<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000087" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Workdays and calendar days in Enterprise Planning</Title>
		<Keyword><Level1>Workdays and calendar days</Level1>
			<Level2>Enterprise Planning</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>Several types of horizons, time fences, and lead times are expressed in <Link href="/baanerp/cp/glossary/glossary#000064" role="glossary">workdays</Link>. During the planning process, these workdays need to be translated to calendar days.</Paragraph>
		<Paragraph>When <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> translates workdays to calendar days, it takes the capacity of the appropriate calendar into account.</Paragraph>
		<GeneralSection><SectionTitle>Procedure for lead-time data</SectionTitle>
			<ProcedureList><ListIntro>For lead-time data (such as the safety time), the procedure can be described as follows:</ListIntro>
				<ListItem><GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> converts workdays to working hours, based on the <Link href="/baanerp/ti/glossary/glossary#BasicCapaci.ti" role="glossary">basic capacity</Link> of the resource involved (defined in the <GUIRef href="/baanerp/cp/rpd/cprpd2100m000" role="session">Resource (cprpd2100m000)</GUIRef> session). If no resource is involved, the conversion is based on the basic capacity of the work center (defined in the <GUIRef href="/baanerp/ti/rou/tirou0101m000" role="session">Work Centers (tirou0101m000)</GUIRef> session).</ListItem>
				<ListItem><GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> plans the working hours according to the resource calendar or a more general calendar.</ListItem>
			</ProcedureList>
		</GeneralSection>
		<GeneralSection><SectionTitle>Procedure for horizons and time fences</SectionTitle>
			<ProcedureList><ListIntro>For horizons and time fences, the procedure can be described as follows:</ListIntro>
				<ListItem><GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> converts workdays to working hours, based on the basic day capacity that is defined in the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000" role="session">EP Parameters (cprpd0100m000)</GUIRef> session.</ListItem>
				<ListItem><GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> 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.</ListItem>
				<ListItem>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 <Link href="/baanerp/cp/glossary/glossary#000071" role="glossary">signal horizons</Link>.)</ListItem>
			</ProcedureList>
		</GeneralSection>
		<GeneralSection><SectionTitle>Example: time-fence calculation</SectionTitle>
			<Paragraph></Paragraph>
			<Paragraph>The capacity defined in the enterprise-unit calendar is displayed in the following table:</Paragraph>
			<TABLE border="1"><TBODY><TR><TH>Date</TH>
						<TH>Working times</TH>
						<TH>Capacity [hrs]</TH>
					</TR>
					<TR><TD>June 10</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
					<TR><TD>June 12</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
					<TR><TD>June 13</TD>
						<TD>6:00 A.M. - 12:00 noon</TD>
						<TD>6</TD>
					</TR>
					<TR><TD>June 14</TD>
						<TD>-</TD>
						<TD>0</TD>
					</TR>
					<TR><TD>June 15</TD>
						<TD>-</TD>
						<TD>0</TD>
					</TR>
					<TR><TD>June 16</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
					<TR><TD>June 17</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>Basic day capacity: 12 hours per day Current date: June 11, 4:00 P.M. Time fence: 3 workdays</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Procedure</SectionTitle>
			<Paragraph>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).</Paragraph>
			<Paragraph>Then, the time fence is planned forward, starting at the current date and time. This is illustrated in the following table:</Paragraph>
			<TABLE border="1"><TBODY><TR><TH>Date</TH>
						<TH>Working times</TH>
						<TH>Capacity [hrs]</TH>
					</TR>
					<TR><TD>June 11</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>2</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>6:00 A.M. - 12:00 noon</TD>
						<TD>6</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>-</TD>
						<TD>0</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>-</TD>
						<TD>0</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>12</TD>
					</TR>
					<TR><TD>June 11</TD>
						<TD>6:00 A.M. - 6:00 P.M.</TD>
						<TD>4</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>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.</Paragraph>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000034" role="manual">The use of calendars in Enterprise Planning</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000023" role="manual">Horizons and time fences</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000407" role="manual">Time Zones in Enterprise Planning</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
