<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000060" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">How SSA ERP creates freight order line clusters</Title>
		<Keyword><Level1>Clustering</Level1>
			<Level2>process</Level2>
		</Keyword>
	</Header>
	<AimSection><Paragraph>After you select the freight order lines that you want to cluster and start up the clustering process in the <GUIRef href="/baanerp/fm/foc/fmfoc3200m000" role="session">Generate Freight Order Clusters (fmfoc3200m000)</GUIRef> session, SSA ERP takes the following steps to cluster the freight order lines:</Paragraph>
	</AimSection>
	<ProcedureSection><Steps><Step><StepTitle>Group freight order lines</StepTitle>
				<Paragraph>To create freight order clusters for the batch of freight order lines that you selected for subcontracting, SSA ERP first groups freight order lines with matching properties into clusters. The grouping process is carried out as follows:</Paragraph>
				<ProcedureList><ListItem>Each freight order line, for which the <GUIRef href="/baanerp/fm/foc/fmfoc2101m000#fmfoc201.sgsh" role="formfield">Single Shipment</GUIRef> check box is selected is grouped into a single freight order cluster.</ListItem>
					<ListItem>Freight order lines that belong to a freight order header for which the <GUIRef href="/baanerp/fm/foc/fmfoc2101m000#fmfoc201.sgsh" role="formfield">Single Shipment</GUIRef> check box is selected are grouped into a cluster.</ListItem>
					<ListItem>SSA ERP checks whether freight order lines in the current batch match the properties of clusters created previously that have the <GUIRef href="/baanerp/fm/domains/foc.clst#clus" role="enum">Clustered</GUIRef> status. If so, the freight order lines are added to the previously created clusters.</ListItem>
					<ListItem>SSA ERP creates clusters for the remaining freight order lines. The number of clusters that SSA ERP can create from a batch of freight order lines depends on the properties of the freight order lines of the batch. Freight order lines are grouped into a cluster if the following properties match: <List><ListItem>Ship-from and ship-to addresses</ListItem>
							<ListItem>Time windows, which do not require an exact match, but must at least overlap.</ListItem>
						</List>
					</ListItem>
				</ProcedureList>
				<Paragraph>All freight order lines that you selected for subcontracting belong to the same shipping office and planning group, for <GUIRef href="/baanerp/fm/foc/fmfoc3200m000#cplg.dsca" role="formfield">Planning Group</GUIRef> and <GUIRef href="/baanerp/fm/foc/fmfoc3200m000#sofc" role="formfield">Shipping Office</GUIRef> are mandatory criteria in the <GUIRef href="/baanerp/fm/foc/fmfoc3200m000" role="session">Generate Freight Order Clusters (fmfoc3200m000)</GUIRef> session.</Paragraph>
				<List><ListIntro>The following properties are not always defined for freight order lines, but if the properties are defined, these properties must also match:</ListIntro>
					<ListItem>Carrier</ListItem>
					<ListItem>Transport means group</ListItem>
					<ListItem>Transport type</ListItem>
					<ListItem>Service level</ListItem>
					<ListItem>Terms of Delivery</ListItem>
					<ListItem>Additional rate unit</ListItem>
				</List>
			</Step>
			<Step><StepTitle>Select carrier and transport means group for clusters created in Step 1</StepTitle>
				<Paragraph>After the freight order lines are grouped into clusters, SSA ERP selects a carrier and a transport means group for each of the generated clusters according to the selected carrier selection criterion in the <GUIRef href="/baanerp/fm/foc/fmfoc3200m000" role="session">Generate Freight Order Clusters (fmfoc3200m000)</GUIRef> session. For further information on the carrier selection criterion, see <Link href="/baanerp/fm/foc/fmfoc3200m000" role="session">Generate Freight Order Clusters (fmfoc3200m000)</Link>.</Paragraph>
				<Paragraph>Based on the carrier selection criterion, carriers are selected from the carriers defined for the shipping office and planning group of the freight orders that are clustered and the carriers defined for the transport means group selected for the freight orders.</Paragraph>
				<Paragraph>Carriers are linked to shipping offices and planning groups in the <GUIRef href="/baanerp/fm/frc/fmfrc0160m000" role="session">Carriers by Shipping Office and Planning Group (fmfrc0160m000)</GUIRef> session.</Paragraph>
				<Paragraph>If a carrier and/or a transport means group were manually entered for the freight order lines of a particular cluster, SSA ERP does not replace this carrier and/or transport means group. However, if required, you can change the carrier and/or transport means group after the clustering process is finished. For further information, see <Link href="/baanerp/fm/onlinemanual/000061" role="manual">To change freight order clusters</Link>.</Paragraph>
				<Paragraph>When SSA ERP selects a carrier and transport means group, the calendar of the carrier is not checked, nor is the loading capacity of the transport means group or the available number of vehicles for the carrier. The reason is that these are planning considerations, and planning-related matters are left to the carrier to whom the freight orders are subcontracted.</Paragraph>
				<Paragraph>If SSA ERP cannot find a suitable carrier, the cluster is created without a carrier and transport means group. In these types of cases, you can manually enter a carrier and transport means group for the cluster.</Paragraph>
			</Step>
			<Step><StepTitle>Calculate freight costs for clusters created in Step 1</StepTitle>
				<Paragraph>The last step of the clustering process is calculating the freight costs for the clusters. If you selected the <GUIRef href="/baanerp/fm/foc/fmfoc3200m000#additional.costs" role="formfield">Calculate Additional Costs</GUIRef> check box, additional costs are calculated if additional costs apply to any of the freight order lines of the clusters. For further information, see <Link href="/baanerp/fm/onlinemanual/000026" role="manual">Calculation of estimated freight costs</Link> and <Link href="/baanerp/fm/onlinemanual/000027" role="manual">To allocate additional costs</Link>
				</Paragraph>
			</Step>
		</Steps>
	</ProcedureSection>
	<GeneralSection><SectionTitle>Summary of the clustering process</SectionTitle>
		<List><ListItem>In <GUIRef href="" role="manual">Step 1</GUIRef>, freight order lines are grouped into clusters.</ListItem>
			<ListItem>The clusters created in <GUIRef href="" role="manual">Step 1</GUIRef> are provided with a carrier and transport means group in <GUIRef href="" role="manual">Step 2</GUIRef>.</ListItem>
			<ListItem>In <GUIRef href="" role="manual">Step 3</GUIRef>, the freight costs, and, if applicable, the additional costs are calculated for the clusters. The new clusters receive the <GUIRef href="/baanerp/fm/domains/foc.clst#clus" role="enum">Clustered</GUIRef> status. For further information on cluster statuses, see <Link href="/baanerp/fm/onlinemanual/000062" role="manual">Cluster and cluster line status overview</Link>.</ListItem>
		</List>
		<Note><SectionTitle>Note</SectionTitle>
			<Paragraph>Before you set a cluster to <GUIRef href="/baanerp/fm/domains/foc.clst#actl" role="enum">Actual</GUIRef>, you must rerun the clustering process to include any new freight order lines in the subcontracting order. Changes in the originating orders and order lines can result in new freight orders and/or freight order lines being created. New freight order lines are not clustered. If you want to include the most recent freight order lines in the subcontracting order, you must rerun the clustering process. For further information, see <Link href="/baanerp/fm/onlinemanual/000066" role="manual">How freight order and originating order changes affect clusters</Link>
			</Paragraph>
		</Note>
	</GeneralSection>
</ManualTopic>
