<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/lt000270" xml:lang="en">
   <Header>
      <Title>Calendar codes</Title>
      <Keyword type="header" order="d1e160688">
         <Level1>Calendar</Level1>
         <Level2>code</Level2>
      </Keyword>
      <Keyword type="header" order="d1e160693">
         <Level1>Code</Level1>
         <Level2>calendar</Level2>
      </Keyword>
      <Keyword type="header" order="d1e160698">
         <Level1>Enterprise Planning</Level1>
         <Level2>planning</Level2>
      </Keyword>
      <Keyword type="header" order="d1e160703">
         <Level1>Planning</Level1>
         <Level2>enterprise planning</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>A calendar code can be defined at several levels:</Paragraph>
      <TABLE width="100%" border="1" borderstyle="default"
             space-and-orientation="indented-estimated">
         <TBODY noTR="7">
            <TR no="1" isLast="false">
               <TH rowspan="1" colspan="1">Resource</TH>
               <TH rowspan="1" colspan="1">Package</TH>
               <TH rowspan="1" colspan="1">Session</TH>
            </TR>
            <TR no="2" isLast="false">
               <TD rowspan="1" colspan="1">Company</TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc" role="package">Common</GUIRef>
               </TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc/emm/tcemm1170m000" role="session">Companies (tcemm1170m000)</GUIRef>
               </TD>
            </TR>
            <TR no="3" isLast="false">
               <TD rowspan="1" colspan="1">Enterprise Unit</TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc" role="package">Common</GUIRef>
               </TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc/emm/tcemm0130m000" role="session">Enterprise Units (tcemm0130m000)</GUIRef>
               </TD>
            </TR>
            <TR no="4" isLast="false">
               <TD rowspan="1" colspan="1">Buy-from Business Partner</TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc" role="package">Common</GUIRef>
               </TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc/com/tccom4520m000" role="session">Buy-from Business Partners (tccom4520m000)</GUIRef>
               </TD>
            </TR>
            <TR no="5" isLast="false">
               <TD rowspan="1" colspan="1">Department</TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc" role="package">Common</GUIRef>
               </TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tc/mcs/tcmcs0565m000" role="session">Departments (tcmcs0565m000)</GUIRef>
               </TD>
            </TR>
            <TR no="6" isLast="false">
               <TD rowspan="1" colspan="1">Warehouse</TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>
               </TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/wh/wmd/whwmd2500m000" role="session">Warehouses (whwmd2500m000)</GUIRef>
               </TD>
            </TR>
            <TR no="7" isLast="true">
               <TD rowspan="1" colspan="1">Resource</TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef>
               </TD>
               <TD rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/cp/rpd/cprpd2100m000" role="session">Resource (cprpd2100m000)</GUIRef>
               </TD>
            </TR>
         </TBODY>
      </TABLE>
      <Paragraph>The calendar code is often related to the resource that performs
		the operation: <Emphasis>work center</Emphasis>, <Emphasis>warehouse</Emphasis>, <Emphasis>department</Emphasis>, <Emphasis>business partner</Emphasis>.</Paragraph>
      <Paragraph>If no resource can be found for offsetting, the calendar code is
		searched for on global level: <Emphasis>enterprise unit level</Emphasis> or <Emphasis>company level</Emphasis>.</Paragraph>
      <Paragraph>Which calendar is used for planning purposes depends on which
		levels the calendar is specified. LN checks all levels to determine which calendar must be used. For
		example, if a calendar is required for an activity on a resource, LN first searches for
		the calendar that is defined for the resource. If no calendar code is found,
		the department level, the enterprise unit level, and finally the company level
		are successively checked.</Paragraph>
      <Paragraph>If all resources use the same calendar, you must only specify
		the calendar code on the company level.</Paragraph>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000034" role="manual">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>