<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/wh/onlinemanual/000307" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">How SSA ERP determines the calendar correction</Title>
		<Keyword><Level1>calendar correction</Level1>
		</Keyword>
		<Keyword><Level1>lead time</Level1>
		</Keyword>
	</Header>
	<GeneralSection><List><ListIntro>When SSA ERP determines the planned delivery date and the planned receipt date in the <GUIRef href="/baanerp/wh/inh/whinh2100m000" role="session">Warehousing Orders (whinh2100m000)</GUIRef> session, SSA ERP takes into account the calendars of the ship-from data and the ship-to data to determine the required calendar correction. SSA ERP determines the calendar correction for ship-from data and ship-to data in the same way. The calendar correction determination only differs in the following way:</ListIntro>
			<ListItem>If the calendar correction must be determined for the ship-from data, SSA ERP uses the <GUIRef href="/baanerp/wh/inh/whinh2100m000#whinh200.sfco" role="formfield" Update="No">Ship-from Code</GUIRef>.</ListItem>
			<ListItem>If the calendar correction must be determined for the ship-to data, SSA ERP uses the <GUIRef href="/baanerp/wh/inh/whinh2100m000#whinh200.stco" role="formfield" Update="No">Ship-to Code</GUIRef>.</ListItem>
		</List>
		<ProcedureList><ListIntro>To be able to add a calendar correction, SSA ERP searches for a calendar as follows:</ListIntro>
			<ListItem>If the <GUIRef href="/baanerp/wh/inh/whinh2100m000#whinh200.sfco" role="formfield" Update="No">Ship-from Code</GUIRef> or the <GUIRef href="/baanerp/wh/inh/whinh2100m000#whinh200.stco" role="formfield" Update="No">Ship-to Code</GUIRef> is a warehouse, SSA ERP searches for a calendar in the following sequence: the address' calendar, then the warehouse's calendar, and then the company's calendar. In all other cases, SSA ERP uses the address' calendar. If SSA ERP cannot find any calendar, a calendar correction does not take place.</ListItem>
			<ListItem><List><ListIntro>If a calendar is found, SSA ERP searches for the actual calendar based on:</ListIntro>
					<ListItem>The found calendar.</ListItem>
					<ListItem>The <Link href="/baanerp/tc/glossary/glossary#ResoActiType.tc" role="glossary">availability type</Link>.</ListItem>
					<ListItem>The calendar's start date and end date.</ListItem>
				</List>
			</ListItem>
			<ListItem>SSA ERP determines the calendar correction based on the actual calendar's start time and end time.</ListItem>
		</ProcedureList>
	</GeneralSection>
	<GeneralSection><Note><SectionTitle>Note</SectionTitle>
			<List><ListItem>If no availability type is defined, SSA ERP searches for the actual calendar without availability type.</ListItem>
				<ListItem>You can view the actual calendar in the <GUIRef href="/baanerp/tc/ccp/tcccp0110m000" role="session">Calendars (tcccp0110m000)</GUIRef> session.</ListItem>
				<ListItem>You can define the availability type in the <GUIRef href="/baanerp/wh/wmd/whwmd0100s000" role="session">Master Data Parameters (whwmd0100s000)</GUIRef> session.</ListItem>
			</List>
		</Note>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/tc/onlinemanual/000135" role="manual">Calendar input for lead time</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
