<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tc/onlinemanual/000144" xml:lang="en">
   <Header>
      <Title>To define unavailability</Title>
      <Keyword type="header" order="d1e1144600">
         <Level1>Unavailability</Level1>
      </Keyword>
      <Keyword type="header" order="d1e1144603">
         <Level1>Calendar</Level1>
         <Level2>unavailability</Level2>
      </Keyword>
   </Header>
   <AimSection>
      <Paragraph>This topic describes the definition of temporary
		unavailability for resources in a calendar.</Paragraph>
   </AimSection>
   <GeneralSection>
      <List>
         <ListIntro>Use one of the following sessions:</ListIntro>
         <ListItemHead>Recurring unavailability</ListItemHead>
         <ListItem>
            <Paragraph>For recurring unavailability, such as
			 national holidays, define the <Link href="/baanerp/tc/glossary/glossary#000460" role="glossary">recurrence</Link> in the <GUIRef href="/baanerp/tc/ccp/tcccp0143m000" role="session">Recurrences (tcccp0143m000)</GUIRef> session. Add that recurrence to the applicable
			 calendar and availability type in the <GUIRef href="/baanerp/tc/ccp/tcccp0144m000" role="session">Calendar Recurrences (tcccp0144m000)</GUIRef> session, and clear the <GUIRef href="/baanerp/tc/ccp/tcccp0144m000#tcccp044.avlb" role="manual">Available</GUIRef> check box for the unavailable
			 days.</Paragraph>
            <Paragraph>With calendar recurrences you define
			 recurring exceptions in a calendar, and set a time schedule for daily, weekly,
			 monthly, or yearly unavailable time in one action.</Paragraph>
         </ListItem>
         <ListItemHead>Unavailable days for all availability types</ListItemHead>
         <ListItem>To define occasional unavailability, such as a department trip,
		  use the <GUIRef href="/baanerp/tc/ccp/tcccp0119m000" role="session">Calendar Non-Available Days (tcccp0119m000)</GUIRef> session. What you define here
		  applies to all <Link href="/baanerp/tc/glossary/glossary#ResoActiType_tc" role="glossary">availability types</Link>.</ListItem>
         <ListItemHead>Unavailable days for a specific availability
		  type</ListItemHead>
         <ListItem>
            <ProcedureList>
               <ListIntro>To define unavailability for a single day, complete the
				following steps:</ListIntro>
               <ListItem>Start the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000" role="session">Calendar Working Hours (tcccp0120m000)</GUIRef> session.</ListItem>
               <ListItem>Find the applicable calendar and availability type, and
				clear the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000#tcccp020.avlb" role="manual">Available</GUIRef> check box for a working hours type on the
				relevant date.</ListItem>
            </ProcedureList>
         </ListItem>
         <ListItemHead>Unavailable during a part of a day</ListItemHead>
         <ListItem>To indicate that part of a day is unavailable, use the <GUIRef href="/baanerp/tc/ccp/tcccp0144m000" role="session">Calendar Recurrences (tcccp0144m000)</GUIRef> or the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000" role="session">Calendar Working Hours (tcccp0120m000)</GUIRef> session to specify the time intervals that
		  are <Emphasis>available</Emphasis>. All other times are considered unavailable.
		  You cannot directly specify an unavailable time interval.</ListItem>
      </List>
      <Paragraph>If you defined unavailable dates in the <GUIRef href="/baanerp/tc/ccp/tcccp0119m000" role="session">Calendar Non-Available Days (tcccp0119m000)</GUIRef> or the <GUIRef href="/baanerp/tc/ccp/tcccp0144m000" role="session">Calendar Recurrences (tcccp0144m000)</GUIRef> session, in the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000" role="session">Calendar Working Hours (tcccp0120m000)</GUIRef> session, click <GUIRef href="/baanerp/tc/ccp/tcccp0120m000#actualize.calendar" role="command">Update Calendar</GUIRef>.</Paragraph>
      <Note>
         <SectionTitle> Note</SectionTitle>
         <List>
            <ListItem>Unavailability always applies to <Emphasis>entire
			 days</Emphasis>. If the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000" role="session">Calendar Working Hours (tcccp0120m000)</GUIRef> session contains
			 multiple time intervals for a single date, and the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000#tcccp020.avlb" role="manual">Available</GUIRef> check box is cleared for some intervals and
			 selected for other intervals on the same day, the entire day is
			 unavailable.</ListItem>
            <ListItem>A calendar recurrence that makes a day unavailable has no
			 effect on the availability of that day in the <Link href="/baanerp/tc/glossary/glossary#000369" role="glossary">parent calendar</Link>.</ListItem>
         </List>
      </Note>
      <Paragraph>It is not useful to define a special <Link href="/baanerp/tc/glossary/glossary#ResoActiType_tc" role="glossary">availability type</Link> for unavailability, because LN does not maintain and update
		the working hours and the capacity data of a calendar in the <GUIRef href="/baanerp/tc/ccp/tcccp0120m000" role="session">Calendar Working Hours (tcccp0120m000)</GUIRef> session based on non-available availability
		types.</Paragraph>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle> Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/tc/onlinemanual/000128" role="manual">Overview of calendar functionality</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/tc/onlinemanual/000125" role="manual">To set up the calendar structure</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>