<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ts/onlinemanual/000025" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">To close service orders</Title>
		<Keyword><Level1>Service orders</Level1>
			<Level2>close</Level2>
		</Keyword>
		<Keyword><Level1>Close service orders</Level1>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>A service order can be closed using the <GUIRef href="/baanerp/ts/soc/tssoc2201m000" role="session">Close Service Orders and Copy to History (tssoc2201m000)</GUIRef> session. The status of the order, the related activity lines, and the related cost lines is set to <GUIRef href="/baanerp/ts/domains/soc.osta#closed" role="enum">Closed</GUIRef> with this session. The service order and related lines can be posted to history or can be deleted.</Paragraph>
		<Note><SectionTitle>Note</SectionTitle>
			<Paragraph>To post the service-order data to history, the <GUIRef href="/baanerp/ts/soc/tssoc0100m000#tssoc000.sohi" role="formfield">Service Order History</GUIRef> check box in the <GUIRef href="/baanerp/ts/soc/tssoc0100m000" role="session">Service Order Parameters (tssoc0100m000)</GUIRef> session must be selected.</Paragraph>
		</Note>
		<Paragraph>If you select the <GUIRef href="/baanerp/ts/soc/tssoc2201m000#delete.yn" role="formfield">Delete Service Orders</GUIRef> check box, the specified range of orders is also removed from the <GUIRef href="/baanerp/ts/soc/tssoc2100m000" role="session">Service Orders (tssoc2100m000)</GUIRef> session.</Paragraph>
		<List><ListIntro>Only orders that have a <GUIRef href="/baanerp/ts/domains/soc.osta#costed" role="enum">Costed</GUIRef> or <GUIRef href="/baanerp/ts/domains/soc.osta#canceled" role="enum">Canceled</GUIRef> status can be processed. If these orders and related lines are posted to history, the following history sessions are updated:</ListIntro>
			<ListItem><GUIRef href="/baanerp/ts/soc/tssoc8551m000" role="session">History Service Orders (tssoc8551m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/ts/soc/tssoc8552m000" role="session">History Service Order Activities (tssoc8552m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/ts/soc/tssoc8555m000" role="session">History Service Order Material Costs (tssoc8555m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/ts/soc/tssoc8556m000" role="session">History Service Order Labor Costs (tssoc8556m000)</GUIRef>
			</ListItem>
			<ListItem><GUIRef href="/baanerp/ts/soc/tssoc8557m000" role="session">History Service Order Other Costs (tssoc8557m000)</GUIRef>
			</ListItem>
		</List>
		<ProcedureList><ListIntro>When you close an order, SSA ERP carries out the following checks:</ListIntro>
			<ListItem>The order must not be blocked.</ListItem>
			<ListItem>All order cost lines must have a <GUIRef href="/baanerp/ts/domains/soc.clst#posted" role="enum">Posted to Finance</GUIRef> status.</ListItem>
			<ListItem>If the order is part of a project, the status of the project must be <GUIRef href="/baanerp/tc/domains/psts#closed" role="enum">Closed</GUIRef> or <GUIRef href="/baanerp/tc/domains/psts#cancelled" role="enum">Canceled</GUIRef>. See the <GUIRef href="/baanerp/ti/pcs/tipcs2102m000" role="session">Project Status (tipcs2102m000)</GUIRef> session.</ListItem>
			<ListItem>If tools are required to carry out the order, all tools must be returned. The tool requirements must have been deleted from the <GUIRef href="/baanerp/ti/trp/titrp0511m000" role="session">Estimated Tool Requirements (titrp0511m000)</GUIRef> session.</ListItem>
		</ProcedureList>
		<Paragraph>If one of these conditions is not met, the order will not be closed and will not be posted to history.</Paragraph>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/ts/onlinemanual/000045" role="manual">To cancel service orders</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
