<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000012" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Plan matrices and matrix definitions</Title>
		<Keyword><Level1>Plan matrix</Level1>
			<Level2>setup</Level2>
		</Keyword>
		<Keyword><Level1>Matrix definition</Level1>
			<Level2>setup</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>When a freight order is allocated to a shipping office, the order lines of the freight order are allocated to the planning groups of the shipping office. To determine the planning group for a freight order line, <Link href="/baanerp/fm/glossary/glossary#000013" role="glossary">plan matrices</Link> are used.</Paragraph>
		<GeneralSection ID="Plan_matrix"><SectionTitle>Plan matrix</SectionTitle>
			<Paragraph>A plan matrix consists, essentially, of a planning group and a group of attributes and attribute values that serve as selection criteria for planning groups. The attributes are defined in an entity called <GUIRef href="/baanerp/fm/foc/fmfoc1110m000#fmfoc110.made" role="formfield">Plan Matrix Definition</GUIRef>. To add matrix attributes to a plan matrix, you must select the relevant matrix definition for the plan matrix.</Paragraph>
			<Paragraph>When a freight order line matches the matrix attributes and values of a plan matrix, the freight order line is allocated to the planning group of the plan matrix.</Paragraph>
			<Paragraph>Plan matrices are defined in the <GUIRef href="/baanerp/fm/foc/fmfoc1120m000" role="session">Plan Matrix (fmfoc1120m000)</GUIRef> session. To define a plan matrix, proceed as follows:</Paragraph>
			<ProcedureList><ListItem>Define a matrix definition that includes the relevant attributes</ListItem>
				<ListItem>Select the matrix definition</ListItem>
				<ListItem>Select a planning group</ListItem>
				<ListItem>Enter values for the attributes of the selected matrix definition</ListItem>
			</ProcedureList>
		</GeneralSection>
		<GeneralSection><SectionTitle>Matrix definitions</SectionTitle>
			<Paragraph>The attributes that serve as selection criteria for planning groups are defined in matrix definitions. Matrix definitions are defined in the <GUIRef href="/baanerp/fm/foc/fmfoc1110m000" role="session">Plan Matrix Definitions (fmfoc1110m000)</GUIRef> session.</Paragraph>
			<Paragraph>To define a matrix definition, you can select up to six attributes. These attributes can be business partner information, carriers, or <GUIRef href="/baanerp/fm" role="package">Freight Management</GUIRef> master data, such as transport types, service levels, and so on.</Paragraph>
			<Paragraph>In the matrix definition, you cannot enter values for the attributes. Matrix attribute values are entered in the <GUIRef href="/baanerp/fm/foc/fmfoc1120m000" role="session">Plan Matrix (fmfoc1120m000)</GUIRef> session. In the <GUIRef href="/baanerp/fm/foc/fmfoc1120m000" role="session">Plan Matrix (fmfoc1120m000)</GUIRef> session, you select a matrix definition and enter a value for each attribute of the selected matrix definition. For further information, see <Link href="/baanerp/fm/onlinemanual/000040" role="manual">Example of freight order grouping without shipping office matrix</Link>.</Paragraph>
		</GeneralSection>
		<GeneralSection ID="Planning_group_priorities"><SectionTitle>Planning group priorities</SectionTitle>
			<Paragraph>If a freight order line matches the criteria of more than one planning group, the freight order line goes to the planning group with the highest priority. Planning group priorities are set in the <GUIRef href="/baanerp/fm/foc/fmfoc1115m000" role="session">Plan Matrix Definitions by Shipping Office (fmfoc1115m000)</GUIRef> session. In the <Link href="/baanerp/fm/foc/fmfoc1115m000" role="session">Plan Matrix Definitions by Shipping Office (fmfoc1115m000)</Link> session, you can set priorities of the matrix definitions used in the plan matrices for the planning groups of a shipping office.</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>Default planning group</SectionTitle>
			<Paragraph>In the <GUIRef href="/baanerp/fm/foc/fmfoc1100m000" role="session">Planning Group - Shipping Office (fmfoc1100m000)</GUIRef> session, you can define a <GUIRef href="/baanerp/fm/foc/fmfoc1100m000#fmfoc100.dcpl" role="formfield">Default Planning Group</GUIRef>. If a freight order line matches none of the plan matrices of the planning groups defined for a shipping office, the default planning group is allocated to the freight order line.</Paragraph>
		</GeneralSection>
		<ExampleSection><SectionTitle>Example</SectionTitle>
			<Paragraph>If matrix definition A has priority 1 and matrix definition A is used in plan matrix X for planning group Y, planning group Y has priority 1.</Paragraph>
		</ExampleSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/fm/onlinemanual/000011" role="manual">The use of shipping offices and planning groups</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/fm/onlinemanual/000037" role="manual">Freight order grouping</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/fm/onlinemanual/000013" role="manual">To set up freight order grouping control</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
