<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000066" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Order priority (simulations)</Title>
		<Keyword><Level1>Order priority (simulations)</Level1>
		</Keyword>
		<Keyword><Level1>Simulations</Level1>
			<Level2>order priority</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>Order priority simulations are used to sort sales orders according to the order delivery priority.</Paragraph>
		<List><ListIntro>The order priority can be defined in two ways:</ListIntro>
			<ListItem>Simulation codes.</ListItem>
			<ListItem>The agreed delivery date.</ListItem>
		</List>
		<Paragraph>If the <Link href="/baanerp/td/sls/tdsls0100s400#tdsls000.opri.4" role="formfield">Order Priority Method</Link> field in the <GUIRef href="/baanerp/td/sls/tdsls0100s400" role="session">Sales Order Parameters (tdsls0100s400)</GUIRef> session is <GUIRef href="/baanerp/td/domains/sls.opri#simulation.code" role="enum">Simulation</GUIRef>, simulated order priorities are defined in simulation codes. The simulation code consists of a sort sequence and a sort mode. You can add up to six values to a sort sequence/sort mode combination. For example, you can define the simulation code AA and add the following values to the sort sequence:</Paragraph>
		<List><ListItem>1 = Planned receipt date.</ListItem>
			<ListItem>2 = Sold-to business partner.</ListItem>
		</List>
		<Paragraph>If the <GUIRef href="/baanerp/td/sls/tdsls4124s000#tdsls025.sort" role="formfield">Sort Mode</GUIRef> field in the <GUIRef href="/baanerp/td/sls/tdsls4124s000" role="session">Priority Simulation (tdsls4124s000)</GUIRef> session is set to Ascending for both sort sequences, sales orders with the oldest planned receipt date are delivered first. If orders exist with the same planned receipt date, the sales orders with a sold-to business partner that appears first in the alphabet are executed the first next, and so on.</Paragraph>
		<Paragraph>If the <GUIRef href="/baanerp/td/sls/tdsls0100s400#tdsls000.opri.4" role="formfield">Order Priority Method</GUIRef> field in the <GUIRef href="/baanerp/td/sls/tdsls0100s400" role="session">Sales Order Parameters (tdsls0100s400)</GUIRef> session is <GUIRef href="/baanerp/td/domains/sls.opri#delivery.date" role="enum">Delivery Date</GUIRef>, the order priority is determined by the planned delivery date and the simulations are not used.</Paragraph>
		<GeneralSection><SectionTitle>Procedure to define and maintain order priority (simulations):</SectionTitle>
			<ProcedureList><ListItem>Priority simulation codes are maintained in the <GUIRef href="/baanerp/td/sls/tdsls4524m000" role="session">Priority Simulations (tdsls4524m000)</GUIRef> session.</ListItem>
				<ListItem>After the simulation codes are defined, they are generated by using the <GUIRef href="/baanerp/td/sls/tdsls4229s000" role="session">Generate Sales Order Priority Simulations (tdsls4229s000)</GUIRef> session. The result of this session is a list of sales orders with their delivery priorities.</ListItem>
				<ListItem>In the <GUIRef href="/baanerp/td/sls/tdsls4126m000" role="session">Sales Order Priority - Simulations (tdsls4126m000)</GUIRef> session, you can change priority simulations for sales orders within a simulation code and item combination.</ListItem>
				<ListItem>The simulations for order priorities are printed in the <GUIRef href="/baanerp/td/sls/tdsls4429m000" role="session">Print Sales Order Priority Simulations (tdsls4429m000)</GUIRef> print session.</ListItem>
				<ListItem>The simulated order priorities are processed to the actual sales orders in the <GUIRef href="/baanerp/td/sls/tdsls4226s000" role="session">Process / Delete Sales Order Priority Simulations (tdsls4226s000)</GUIRef> session. You can also delete the generated simulations.</ListItem>
				<ListItem>Changes to the order priority of actual deliveries can be made in the <GUIRef href="/baanerp/td/sls/tdsls4129m000" role="session">Sales Order Priorities (tdsls4129m000)</GUIRef> session.</ListItem>
			</ProcedureList>
		</GeneralSection>
	</GeneralSection>
</ManualTopic>
