<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ti/onlinemanual/000325" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Calendars in Manufacturing</Title>
		<Keyword><Level1>To use calendars in Manufacturing</Level1>
		</Keyword>
		<Keyword><Level1>Lead times and calendars</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>To plan production orders or to calcalute available capacity in <GUIRef href="/baanerp/ti" role="package">Manufacturing</GUIRef>, SSA ERP needs to know the hours that are available.</Paragraph>
		<Paragraph>SSA ERP uses combinations of <Link href="/baanerp/tc/glossary/glossary#Calendar.tc" role="glossary">calendars</Link> and <Link href="/baanerp/tc/glossary/glossary#ResoActiType.tc" role="glossary">availability types</Link> to record the availability of resources. For a combination of a calendar code and an availability type, you can define <Link href="/baanerp/tc/glossary/glossary#TimeInterval.tc" role="glossary">time intervals</Link> which you can display and maintain in the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000" role="session">Calendar Working Hours (tcccp0120m000)</GUIRef> session.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Lead times in Manufacturing</SectionTitle>
		<List><ListIntro>An operation's lead time is composed of a number of time elements, for example:</ListIntro>
			<ListItem><Link href="/baanerp/ti/glossary/glossary#000351" role="glossary">Queue time</Link>
			</ListItem>
			<ListItem><Link href="/baanerp/ti/glossary/glossary#000363" role="glossary">Average setup time</Link>
			</ListItem>
			<ListItem><Link href="/baanerp/ti/glossary/glossary#000000000000057" role="glossary">Cycle time</Link>
			</ListItem>
			<ListItem><Link href="/baanerp/ti/glossary/glossary#000352" role="glossary">Wait time</Link>
			</ListItem>
			<ListItem><Link href="/baanerp/ti/glossary/glossary#100102" role="glossary">Move time</Link>
			</ListItem>
		</List>
		<Paragraph>The length of the individual time elements determine an operation's lead time. All the operation's lead times for a specific production order add up to the total lead time of that production order.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Lead times and production planning</SectionTitle>
		<Paragraph>In production planning, SSA ERP uses lead times to determine when an operation is finished, and when the next operation is started. To obtain reliable planning dates, the availability of resources must be taken into account. For example, a work center can be occasionally unavailable, due to weekends, holidays, or maintenance. In SSA ERP, <Link href="/baanerp/tc/glossary/glossary#Calendar.tc" role="glossary">calendars</Link> and <Link href="/baanerp/tc/glossary/glossary#ResoActiType.tc" role="glossary">availability types</Link> are used to record the availability of resources.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Calendars in Manufacturing</SectionTitle>
		<Paragraph>In the <GUIRef href="/baanerp/ti/rou/tirou0100m000#tirou000.ccal" role="formfield">Used Calendar Type</GUIRef> field in the <GUIRef href="/baanerp/ti/rou/tirou0100m000" role="session">Routing Parameters (tirou0100m000)</GUIRef> session, you must determine which calendar is used for production order planning in <GUIRef href="/baanerp/ti" role="package">Manufacturing</GUIRef>:</Paragraph>
		<List><ListItem>The company calendar defined in the <GUIRef href="/baanerp/tc/emm/tcemm1170m000" role="session">Companies (tcemm1170m000)</GUIRef> session</ListItem>
			<ListItem>The work center calendar defined in the <GUIRef href="/baanerp/tc/mcs/tcmcs0565m000" role="session">Departments (tcmcs0565m000)</GUIRef> session.</ListItem>
		</List>
		<Paragraph>The default availability type for <GUIRef href="/baanerp/ti" role="package">Manufacturing</GUIRef> is also defined in the <GUIRef href="/baanerp/ti/rou/tirou0100m000" role="session">Routing Parameters (tirou0100m000)</GUIRef> session. The combination of the calendar code and the availability type provides the <Link href="/baanerp/tc/glossary/glossary#CalendarLine.tc" role="glossary">calendar working hours</Link>, that is, the days and times that can be used for planning purposes. If the combination is not defined in the <GUIRef href="/baanerp/tc/ccp/tcccp0150m000" role="session">Calendar Availability Types (tcccp0150m000)</GUIRef> session, SSA ERP uses another calendar:</Paragraph>
		<List><ListItem>If you select the work-center calendar in the <GUIRef href="/baanerp/ti/rou/tirou0100m000" role="session">Routing Parameters (tirou0100m000)</GUIRef> session, and the work-center calendar is invalid, SSA ERP uses the enterprise unit calendar. If both the work-center calendar and the enterprise unit calendar are invalid, SSA ERP uses the company calendar that is defined in the <GUIRef href="/baanerp/tc/emm/tcemm1170m000" role="session">Companies (tcemm1170m000)</GUIRef> session.</ListItem>
			<ListItem>If a planning date is not within the period defined by the start date and finish date of the calendar, that is, no calendar working hours are available for a specific date, SSA ERP uses the standard calendar template.</ListItem>
		</List>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000135" role="manual">Calendar input for lead time</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000125" role="manual">To set up a calendar</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
