<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000034" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">The use of calendars in Enterprise Planning</Title>
		<Keyword><Level1>Calendars</Level1>
			<Level2>Enterprise Planning</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph><GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> needs <Link href="/baanerp/tc/glossary/glossary#Calendar.tc" role="glossary">calendars</Link> to know how many available hours are in a day or in a week and to take into account the availability of the <Link href="/baanerp/cp/glossary/glossary#000008" role="glossary">resources</Link>.</Paragraph>
		<List><ListIntro>In other words, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses calendars to:</ListIntro>
			<ListItem>Determine start date, end date, and requirement date for <Link href="/baanerp/cp/glossary/glossary#000050" role="glossary">planned orders</Link>.</ListItem>
			<ListItem>Carry out capacity planning.</ListItem>
			<ListItem>Determine the actual length of horizons and <Link href="/baanerp/cp/glossary/glossary#000063" role="glossary">time fences</Link> that are expressed in workdays.</ListItem>
		</List>
		<GeneralSection><SectionTitle>Calendar selection for production planning</SectionTitle>
			<List><ListIntro>If SSA ERP cannot find a calendar, it uses the following priority path to select a calendar for production planning:</ListIntro>
				<ListItem>The resource calendar, which is linked to the resource.</ListItem>
				<ListItem>The department calendar, which is linked to the <Link href="/baanerp/ti/glossary/glossary#000000000000036" role="glossary">work center</Link>.</ListItem>
				<ListItem>The <Link href="/baanerp/tc/glossary/glossary#000011" role="glossary">enterprise unit</Link> calendar, which is linked to either the work center, the warehouse, or the plan item, dependent on the lead time which is being planned.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<Paragraph>If the required delivery date of a <Link href="/baanerp/cp/glossary/glossary#000047" role="glossary">planned production order</Link> is after the latest date on the calendar that is used for production planning, SSA ERP falls back on the standard calendar.</Paragraph>
			<Paragraph>For planning aspects that take place at a resource, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses the calendar that you linked to the specific resource. If no resource calendar is available, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> looks at the department calendar for planning.</Paragraph>
			<Paragraph>For planning aspects that take place at a work center that is not a resource, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses the calendar that you defined for the department in the <GUIRef href="/baanerp/tc/mcs/tcmcs0565m000" role="session">Departments (tcmcs0565m000)</GUIRef> session.</Paragraph>
			<Paragraph>For planning aspects that are not related to a work center, for example, fixed lead times, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses the calendar you defined for the enterprise unit to which the item in question belongs.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Calendar selection for purchase planning</SectionTitle>
			<List><ListIntro>For purchase planning, SSA ERP first determines the business partner safety time, for which a calendar is selected according to the following priority path:</ListIntro>
				<ListItem>The shipping calendar linked to the <Link href="/baanerp/tc/glossary/glossary#BuyfroBusine.tc" role="glossary">buy-from business partner</Link>.</ListItem>
				<ListItem>The calendar linked to the buy-from business partner.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<Paragraph>Next, SSA ERP distinguishes between situations in which you specified a supplier in the <GUIRef href="/baanerp/td/ipu/tdipu0101m000#tdipu001.otbp" role="formfield">Buy-from BP</GUIRef> field in the <GUIRef href="/baanerp/td/ipu/tdipu0101m000" role="session">Item - Purchase (tdipu0101m000)</GUIRef> session or in the <GUIRef href="/baanerp/td/ipu/tdipu0110m000" role="session">Item - Purchase Business Partner (tdipu0110m000)</GUIRef> session, and situations in which you did not define a supplier.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Purchase planning with supplier</SectionTitle>
			<Paragraph>If you specified a supplier, SSA ERP further distinguishes between items it can plan in the lead-time horizon and items that it cannot.</Paragraph>
			<List><ListIntro>For items that can be planned in the lead-time horizon, the next step SSA ERP performs is to offset the transport time. To do so, SSA ERP selects a calendar according to the following priority path:</ListIntro>
				<ListItem>The shipping calendar linked to the linked to the buy-from business partner.</ListItem>
				<ListItem>The calendar linked to the buy-from business partner.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<List><ListIntro>Finally, SSA ERP must offset the processing time of the purchase order. The calendar to calculate this lead-time type is selected according to the following priority path:</ListIntro>
				<ListItem>The calendar linked to the purchase office.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<Paragraph>For items that <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> cannot plan in the lead-time horizon, SSA ERP must offset the calculated lead-time, for which SSA ERP uses the company calendar.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Purchase planning without supplier</SectionTitle>
			<Paragraph>If you did not specify a supplier for the item, after the offset of the outbound time, the inbound time, the extra lead time, and the safety time, SSA ERP only must offset the item supply time. To do so, SSA ERP uses the company calendar.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Calendar selection for distribution planning</SectionTitle>
			<List><ListIntro>For distribution planning, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses various distribution-related calendar. To offset the inbound time and the outbound time, SSA ERP uses the following priority path to select a calendar:</ListIntro>
				<ListItem>The calendar linked to the warehouse.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<List><ListIntro>Next, SSA ERP offsets the <Link href="/baanerp/cp/glossary/glossary#000056" role="glossary">extra lead time</Link> and the item safety time, for which the following priority path is used:</ListIntro>
				<ListItem>The calendar linked to the buy-from business partner.</ListItem>
				<ListItem>The company calendar</ListItem>
			</List>
			<List><ListIntro>For the next step, SSA ERP checks whether you specified a carrier in which case SSA ERP offsets the transport time. To do so, SSA ERP uses the following priority path to select a calendar:</ListIntro>
				<ListItem>The calendar linked to the buy-from business partner.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<List><ListIntro>If you did not specify a carrier, SSA ERP checks whether you specified a resource in the <GUIRef href="/baanerp/cp/rpd/cprpd7130m000" role="session">Supplying Relationships (cprpd7130m000)</GUIRef> session, in which case SSA ERP calculates the distribution supply time. To do so, SSA ERP uses the following priority path to select a calendar:</ListIntro>
				<ListItem>The resource calendar, which is linked to the resource.</ListItem>
				<ListItem>The department calendar, which is linked to the work center.</ListItem>
				<ListItem>The enterprise-unit calendar, which is linked to the plan item.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
			<List><ListIntro>If you did not specify either a <Link href="/baanerp/tc/glossary/glossary#Carrier.tc" role="glossary">carrier</Link> or a resource, SSA ERP also calculates the distribution supply time. However, if you did not specify a resource, SSA ERP uses the following priority path to select a calendar:</ListIntro>
				<ListItem>The calendar linked to the enterprise unit.</ListItem>
				<ListItem>The company calendar.</ListItem>
			</List>
		</GeneralSection>
		<GeneralSection><SectionTitle>Availability types</SectionTitle>
			<Paragraph>A calendar can contain several <Link href="/baanerp/tc/glossary/glossary#ResoActiType.tc" role="glossary" Update="No">availability types</Link>. In the <GUIRef href="/baanerp/cp/rpd/cprpd4160m000" role="session">Scenario - Availabilities (cprpd4160m000)</GUIRef> session, you can define which availability type you want to use for a particular scenario/calendar combination. As a result, you can carry out what-if analyses by choosing a different availability type for each scenario.</Paragraph>
			<Paragraph>To plan, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> uses the <Link href="/baanerp/tc/glossary/glossary#CalendarLine.tc" role="glossary">calendar time interval</Link> that exist for the Calendar Code/Availability Type combination. If this combination does not exist, or is incomplete, SSA ERP creates calendar time intervals that are based on the <Link href="/baanerp/tc/glossary/glossary#StandaCalend.tc" role="glossary">standard calendar</Link>.</Paragraph>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000300" role="manual">Enterprise Planning, an Overview</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000087" role="manual">Workdays and calendar days in Enterprise Planning</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000089" role="manual">Availability types in Enterprise Planning</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000161" role="manual">To compute supply lead-times</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000407" role="manual">Time Zones in Enterprise Planning</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
