<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/wh/onlinemanual/000427" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Warehouse supply structures</Title>
		<Keyword><Level1>DMS</Level1>
			<Level2>warehouse supply structure</Level2>
		</Keyword>
		<Keyword><Level1>Warehouse supply structure</Level1>
			<Level2>DMS</Level2>
		</Keyword>
	</Header>
	<AimSection><Paragraph>Before you can start to use direct material supply (DMS), you must define at least one <Link href="/baanerp/wh/glossary/glossary#000459" role="glossary">warehouse supply structure</Link>.</Paragraph>
	</AimSection>
	<GeneralSection><SectionTitle>Defining warehouse supply structures</SectionTitle>
		<ProcedureList><ListIntro>To set up a warehouse supply structure, take the following steps:</ListIntro>
			<ListItem>In the <GUIRef href="/baanerp/wh/inh/whinh6140m000" role="session">Warehouse Supply Structures (whinh6140m000)</GUIRef> session, enter a new code and an appropriate description.</ListItem>
			<ListItem>On the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="/baanerp/wh/inh/whinh6140m000#supply.relationships" role="formcommand">Supply Relationships</GUIRef>.</ListItem>
			<ListItem>In the <GUIRef href="/baanerp/wh/inh/whinh6141m000" role="session">Warehouse Supply Structure Relationships (whinh6141m000)</GUIRef> session, add relationships, as required.</ListItem>
		</ProcedureList>
		<ExampleSection><SectionTitle>Example</SectionTitle>
			<Paragraph>To create the following supply structure...</Paragraph>
			<TABLE border="1"><THEAD><TR><TD colspan="5" width="621">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.wsst" role="formfield">Warehouse Supply Structure</GUIRef> STRUCT1</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD width="130">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.swar" role="formfield">Supply Warehouse</GUIRef>
						</TD>
						<TD width="153">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.dwar" role="formfield">Destination Warehouse</GUIRef>
						</TD>
						<TD width="93">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.asrc" role="formfield">Allow Supply from Receipt</GUIRef>
						</TD>
						<TD width="116">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.assr" role="formfield">Allow Supply from SFC Receipt</GUIRef>
						</TD>
						<TD width="113">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.asin" role="formfield">Allow Supply from Inventory</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">B, B1, B2, E</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">C, C1, C2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">B</TD>
						<TD width="153">B1, B2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">C</TD>
						<TD width="153">C1, C2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">E</TD>
						<TD width="153">E1, E2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>...you must define the following one-to-one relationships:</Paragraph>
			<TABLE border="1"><THEAD><TR><TD colspan="5" width="621">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.wsst" role="formfield">Warehouse Supply Structure</GUIRef> STRUCT1</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD width="130">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.swar" role="formfield">Supply Warehouse</GUIRef>
						</TD>
						<TD width="153">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.dwar" role="formfield">Destination Warehouse</GUIRef>
						</TD>
						<TD width="93">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.asrc" role="formfield">Allow Supply from Receipt</GUIRef>
						</TD>
						<TD width="116">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.assr" role="formfield">Allow Supply from SFC Receipt</GUIRef>
						</TD>
						<TD width="113">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.asin" role="formfield">Allow Supply from Inventory</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">B</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">B1</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">B2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">E</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">C</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">C1</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153">C2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">B</TD>
						<TD width="153">B1</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">B</TD>
						<TD width="153">B2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">C</TD>
						<TD width="153">C1</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">C</TD>
						<TD width="153">C2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">E</TD>
						<TD width="153">E1</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">E</TD>
						<TD width="153">E2</TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>To define a relationship between a single warehouse and all other warehouses, leave the opposite warehouse type field empty. In the following example, supply from inventory is permitted for supply warehouse A to all other destination warehouses:</Paragraph>
			<TABLE border="1"><THEAD><TR><TD colspan="5" width="621">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.wsst" role="formfield">Warehouse Supply Structure</GUIRef> STRUCT1</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD width="130">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.swar" role="formfield">Supply Warehouse</GUIRef>
						</TD>
						<TD width="153">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.dwar" role="formfield">Destination Warehouse</GUIRef>
						</TD>
						<TD width="93">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.asrc" role="formfield">Allow Supply from Receipt</GUIRef>
						</TD>
						<TD width="116">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.assr" role="formfield">Allow Supply from SFC Receipt</GUIRef>
						</TD>
						<TD width="113">
							<GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.asin" role="formfield">Allow Supply from Inventory</GUIRef>
						</TD>
					</TR>
					<TR><TD width="130">A</TD>
						<TD width="153"> </TD>
						<TD width="93" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="116" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#no" role="enum">No</GUIRef>
						</TD>
						<TD width="113" valign="middle" align="center">
							<GUIRef href="/baanerp/tc/domains/yesno#yes" role="enum">Yes</GUIRef>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
		</ExampleSection>
		<Important><SectionTitle>Important!</SectionTitle>
			<Paragraph>After you define a supply structure, you must specify the structure in the corresponding field on the <GUIRef href="/baanerp/wh/wmd/whwmd1140s000#tcgenmisc" role="groupbox">Miscellaneous</GUIRef> tab of the <GUIRef href="/baanerp/wh/wmd/whwmd1540m000" role="session">User Profiles (whwmd1540m000)</GUIRef> session. Otherwise, you cannot use DMS.</Paragraph>
		</Important>
	</GeneralSection>
	<GeneralSection><SectionTitle>Using warehouse supply structures</SectionTitle>
		<Paragraph>Warehouse supply structure relationships are taken into account when DMS planning is carried out.</Paragraph>
		<Paragraph>If you start DMS planning for a specific warehouse-item combination, SSA ERP checks which supply relationships apply to the current process. For each applicable supply relationship, the warehouse supply structure is consulted to check for which destination warehouses demand should be considered.</Paragraph>
		<Paragraph>For the previous example, this means that after a receipt confirmation of an SFC order in warehouse A, demand in warehouses B, B1, B2 and E is taken into account.</Paragraph>
		<Note><SectionTitle>Note</SectionTitle>
			<Paragraph>Only demand from DMS-supplied warehouses in the same warehouse supply cluster is taken into account. This includes demand directly on the supply warehouse.</Paragraph>
		</Note>
		<ProcedureList><ListIntro>To determine whether a destination warehouse can be supplied, SSA ERP performs the following steps:</ListIntro>
			<ListItem>If, in the <GUIRef href="/baanerp/wh/inh/whinh0100m000" role="session">Inventory Handling Parameters (whinh0100m000)</GUIRef> session, the <GUIRef href="/baanerp/wh/inh/whinh0100m000#whinh000.uwss" role="formfield">Use Warehouse Supply Structures</GUIRef> check box is cleared, no restrictions on supply relationships exist and all supply relationships are permitted. SSA ERP performs no further checks.</ListItem>
			<ListItem>If the <GUIRef href="/baanerp/wh/inh/whinh0100m000#whinh000.uwss" role="formfield">Use Warehouse Supply Structures</GUIRef> check box is selected, the user profile for the current user is retrieved. If no user profile exists or if the supply structure is empty for the user, the user is not authorized to run DMS and, consequently, the destination warehouse cannot be supplied.</ListItem>
			<ListItem>If the user is authorized to run DMS for a supply structure, the relationship for the supply warehouse and the destination warehouses is searched in the warehouse supply structure relationships. If such a relationship applies (current date is between <GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.efdt" role="formfield">Effective Date</GUIRef> and <GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.exdt" role="formfield">Expiry Date</GUIRef> ), this relationship is used to determine whether the destination warehouse can be supplied.</ListItem>
			<ListItem>If, in the supply structure, no relationship exists for the supply warehouse and the destination warehouse, or if that relationship no longer applies, a relationship for the supply warehouse and an empty destination warehouse is searched. If this type of relationship applies (current date is between <GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.efdt" role="formfield">Effective Date</GUIRef> and <GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.exdt" role="formfield">Expiry Date</GUIRef> ), this relationship is used to determine whether the destination warehouse can be supplied.</ListItem>
			<ListItem>If, in the supply structure, no relationship exists for the supply warehouse and an empty destination warehouse, or if that relationship no longer applies, a relationship for an empty supply warehouse and an empty destination warehouse is searched. If this type of relationship appliies (current date is between <GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.efdt" role="formfield">Effective Date</GUIRef> and <GUIRef href="/baanerp/wh/inh/whinh6141m000#whinh641.exdt" role="formfield">Expiry Date</GUIRef> ), this relationship is used to determine whether the destination warehouse can be supplied.</ListItem>
			<ListItem>If no (effective) relationship is found, the destination warehouse cannot be supplied.</ListItem>
		</ProcedureList>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/wh/onlinemanual/000423" role="manual">Direct material supply (DMS)</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/wh/onlinemanual/000434" role="manual">Supply location and demand location</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
