<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000059" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">To compute distribution order quantities</Title>
		<Keyword><Level1>Distribution order quantities</Level1>
			<Level2>computing</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>When <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> carries out distribution planning, the volume that is planned for a supplying relationship depends on the value of the <GUIRef href="/baanerp/cp/rpd/cprpd7120m000#cprpd720.diru" role="formfield">Allocation Rule</GUIRef> field in the <GUIRef href="/baanerp/cp/rpd/cprpd7120m000" role="session">Supply Strategy (cprpd7120m000)</GUIRef> session.</Paragraph>
		<Paragraph>The resulting volume is checked against the lot sizing rules. The ordered quantity can be divided over multiple distribution orders as a result of the lot sizing. See <Link href="/baanerp/cp/onlinemanual/000060" role="manual">Lot sizing</Link>.</Paragraph>
		<GeneralSection><SectionTitle>Percentage</SectionTitle>
			<Paragraph>If the <GUIRef href="/baanerp/cp/rpd/cprpd7120m000#cprpd720.diru" role="formfield">Allocation Rule</GUIRef> field is <GUIRef href="/baanerp/cp/domains/com.diru#percentage" role="enum">Percentage</GUIRef>, the calculation proceeds as follows:</Paragraph>
			<Formula><Paragraph UserLevel="Novice" UserType="Taskuser"> OQ = min(REQ, RQ x	 PE / 100.0) </Paragraph>
			</Formula>
			<Paragraph>Where:</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>OQ</TD>
						<TD>ordered quantity</TD>
					</TR>
					<TR><TD>REQ</TD>
						<TD>remaining quantity</TD>
					</TR>
					<TR><TD>RQ</TD>
						<TD>originally required</TD>
					</TR>
					<TR><TD>PE</TD>
						<TD>percentage</TD>
					</TR>
				</TBODY>
			</TABLE>
			<Paragraph>The percentage is defined in the <GUIRef href="/baanerp/cp/rpd/cprpd7130m000#cprpd730.perc" role="formfield">Percentage</GUIRef> field in the <GUIRef href="/baanerp/cp/rpd/cprpd7130m000" role="session">Supplying Relationships (cprpd7130m000)</GUIRef> session.</Paragraph>
			<Paragraph>If a supplying relationship consists of two or more lines of which the validity period (partially) overlaps, SSA ERP must rescale the percentages of the corresponding lines if that total is not equal to 100%.</Paragraph>
		</GeneralSection>
		<ExampleSection><SectionTitle>Example</SectionTitle>
			<Paragraph>A supplying relationship consisting of three lines exists for Item X in warehouse D:</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>Receiving item</TD>
						<TD>Supplying item</TD>
						<TD>In warehouse</TD>
						<TD>Percentage</TD>
						<TD>Period</TD>
					</TR>
					<TR><TD>Item X</TD>
						<TD></TD>
						<TD>D</TD>
						<TD>-</TD>
						<TD>-</TD>
					</TR>
					<TR><TD></TD>
						<TD>Item X</TD>
						<TD>B</TD>
						<TD>80%</TD>
						<TD>1/1/2003 to 7/1/2003</TD>
					</TR>
					<TR><TD></TD>
						<TD>Item X</TD>
						<TD>C</TD>
						<TD>70%</TD>
						<TD>7/1/2003 to 12/31/2003</TD>
					</TR>
					<TR><TD></TD>
						<TD>Item X</TD>
						<TD>A</TD>
						<TD>30%</TD>
						<TD>1/1/2003 to 12/31/2003</TD>
					</TR>
				</TBODY>
			</TABLE>
			<List><ListIntro>A demand of 100 pieces placed on item X in warehouse D in the period from 1/1/2003 to 7/1/2003 results in:</ListIntro>
				<ListItem>Delivery of 73 pieces from warehouse B to warehouse D: (0.8 * 100)/(0.8 + 0.3)</ListItem>
				<ListItem>Delivery of 27 pieces from warehouse A to warehouse D: (0.3 * 100)/(0.8 + 0.3)</ListItem>
			</List>
			<List><ListIntro>The same demand in the period from 7/1/2003 to 12/31/2003, results in:</ListIntro>
				<ListItem>Delivery of 70 pieces from warehouse C, that is, 70% of 100 pieces.</ListItem>
				<ListItem>Delivery of 30 pieces from warehouse A, that is, 30% of 100 pieces.</ListItem>
			</List>
			<Paragraph>For the demand of 100 pieces placed on item X in warehouse D in the period from 7/1/2003 to 12/31/2003, SSA ERP does not have to rescale the percentages of the lines of the suppling relationship, because they total exactly 100%.</Paragraph>
		</ExampleSection>
		<GeneralSection><SectionTitle>Percentage/Capable</SectionTitle>
			<Paragraph>If the <GUIRef href="/baanerp/cp/rpd/cprpd7120m000#cprpd720.diru" role="formfield">Allocation Rule</GUIRef> field is <GUIRef href="/baanerp/cp/domains/com.diru#levelcap" role="enum">Percentage/Capable</GUIRef>, the calculation proceeds as follows:</Paragraph>
			<Paragraph>The same formula as above with the following addition:</Paragraph>
			<Formula><Paragraph UserLevel="Novice" UserType="Taskuser"> OQ = min(OQ, MQ)</Paragraph>
			</Formula>
			<Paragraph>Where:</Paragraph>
			<TABLE border="1"><TBODY><TR><TD>MQ</TD>
						<TD>maximum quantity that can be ordered</TD>
					</TR>
				</TBODY>
			</TABLE>
		</GeneralSection>
		<GeneralSection><SectionTitle>Capability</SectionTitle>
			<Paragraph>If the <GUIRef href="/baanerp/cp/rpd/cprpd7120m000#cprpd720.diru" role="formfield">Allocation Rule</GUIRef> field is <GUIRef href="/baanerp/cp/domains/com.diru#capable" role="enum">Capability</GUIRef>, the calculation proceeds as follows:</Paragraph>
			<Formula><Paragraph UserLevel="Novice" UserType="Taskuser"> OQ = min(MQ, REQ)</Paragraph>
			</Formula>
			<Note><SectionTitle>Note</SectionTitle>
				<Paragraph>SSA ERP determines the maximum quantity that you can order from a supplying cluster by using <Link href="/baanerp/cp/glossary/glossary#000029" role="glossary">capable-to-promise</Link> techniques.</Paragraph>
			</Note>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000160" role="manual">To select internal suppliers</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000060" role="manual">Lot sizing</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000115" role="manual">Capable-to-promise, an overview</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
