<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tc/com/tccom0214m000" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Copy Company Data (tccom0214m000)</Title>
	</Header>
	<HelpTopic><AimSection><Paragraph>This session is one step in the procedure to copy company data. Refer to <Link href="/baanerp/tt/onlinemanual/100140" role="manual">To copy a multicompany structure</Link> for details.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph>Use this session to correct the company numbers and/or the enterprise-unit codes in the company-data export files before you import the export files in the database tables of the target companies.</Paragraph>
			<Paragraph>SSA ERP changes the specified source-company numbers in the target-company numbers and the specified source enterprise-unit codes in the target enterprise-unit codes in those database-table fields in which the company- number domain (tcncmp) and the enterprise-unit domains (tcemm.grid and tgbrg.unit) occur.</Paragraph>
			<Paragraph>You can run this session multiple times. For example, you can first run the session to change the company numbers, and then run the session again to change some or all of the enterprise unit codes.</Paragraph>
			<GeneralSection><SectionTitle>To replace company numbers</SectionTitle>
				<Paragraph>Replacing company numbers is mandatory.</Paragraph>
				<Paragraph>If you copy a structure of multiple companies, you must run this session from <Emphasis>each</Emphasis> source company.</Paragraph>
				<List><ListIntro>For example: you copy data from source companies 400 and 401 to target companies 600 and 601 respectively. After exporting data from the source companies you must:</ListIntro>
					<ListItem>switch to company 400 and run this session to correct the references in the files that were exported from company 400: all references to company 400 and 401 must be replaced by references to company 600 and 601 respectively.</ListItem>
					<ListItem>switch to company 401 and run this session to correct the references in the files that were exported from company 401: all references to company 400 and 401 must be replaced by references to company 600 and 601 respectively.</ListItem>
				</List>
			</GeneralSection>
			<GeneralSection><SectionTitle>To replace enterprise units</SectionTitle>
				<List><ListIntro>You must <GUIRef href="" role="manual">only</GUIRef> replace enterprise unit codes if the following conditions are <GUIRef href="" role="manual">both</GUIRef> true:</ListIntro>
					<ListItem>The source companies and the target companies use the same <Link href="/baanerp/tg/glossary/glossary#000200" role="glossary">central company</Link>.</ListItem>
					<ListItem>The enterprise units in the target companies are linked to different financial companies than the enterprise units in the source companies.</ListItem>
				</List>
			</GeneralSection>
		</GeneralSection>
		<RelatedTopics><SectionTitle>Related topics</SectionTitle>
			<RelTopic><Link href="/baanerp/tt/onlinemanual/100140" role="manual">To copy a multicompany structure</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/tt/onlinemanual/100140a" role="manual">To copy a multicompany structure - Procedure details</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/tt/onlinemanual/100140b" role="manual">To copy a multicompany structure - Example</Link>
			</RelTopic>
			<RelTopic>To set up a company – U8422A US</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="fld.sep"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Specify Field Separator</Title>
			</Header>
			<FuncDesc>Specify the field separator that is used in the sequential files that contain the exported data of the current company: this is the same separator as the one that was specified during the export in the <GUIRef href="/baanerp/tt/aad/ttaad4226m000" role="session">Create Sequential Dump of Table (ttaad4226m000)</GUIRef> session.</FuncDesc>
			<SimpleSection><List><ListIntro>The field separator can be one of the following:</ListIntro>
					<ListItem>A pipe (|)</ListItem>
					<ListItem>A caret followed by one uppercase alphabetic character, for example, ^A, ^B, and so on.</ListItem>
				</List>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="dir.tab"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Directory for Table Files</Title>
			</Header>
			<FuncDesc>The directory where the sequential files of the current company are stored. This is the same directory as the one that was specified during the export in the <GUIRef href="/baanerp/tt/aad/ttaad4226m000" role="session">Create Sequential Dump of Table (ttaad4226m000)</GUIRef> session.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="repl.comp"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Companies to Copy</Title>
			</Header>
			<FuncDesc>Select this check box to replace the source-company numbers in the company-data export files by the target-company numbers.</FuncDesc>
			<SimpleSection><Paragraph>If you only want to change the enterprise unit codes in the company-data export files, you must clear this check box.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="comp.copy"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Companies to Copy</Title>
			</Header>
			<FuncDesc>Enter the source company numbers and the corresponding target company numbers by which they must be replaced. If you copy a number of companies that form a structure, you must specify all the company numbers of that structure.</FuncDesc>
			<SimpleSection><List><ListIntro>The following rules apply:</ListIntro>
					<ListItem>You can specify the company numbers in any order.</ListItem>
					<ListItem>The source company number and the target company number are separated by a greater-than symbol (&gt;) only. For example: enter <GUIRef href="" role="manual">400&gt;600</GUIRef> if the source company is 400 and the target company is 600.</ListItem>
					<ListItem>The source company&gt;target company number combinations are separated by a semicolon (;).</ListItem>
					<ListItem>Company numbers <Emphasis>must</Emphasis> consist of three digits. Use leading zeros if necessary, e.g. 001.</ListItem>
					<ListItem>Do not include spaces.</ListItem>
				</List>
				<Paragraph>Be careful when typing the input values for this field. Source company numbers for which you do not specify a target company number in this field are not changed. This may be very wrong because, after loading the sequential files, the target multicompany structure will contain references to the source companies.</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>Example</SectionTitle>
				<List><ListIntro>A multicompany structure, consisting of companies 400, 401, 402 and 403, is copied as follows:</ListIntro>
					<ListItem>Company 400 to company 600</ListItem>
					<ListItem>Company 401 to company 601</ListItem>
					<ListItem>Company 402 to company 602</ListItem>
					<ListItem>Company 403 to company 603</ListItem>
				</List>
				<Paragraph>You must enter <GUIRef href="" role="manual">400&gt;600;401&gt;601;402&gt;602;403&gt;603</GUIRef> to correct the company numbers in the sequential files.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="repl.eu"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Enterprise Units to Copy</Title>
			</Header>
			<FuncDesc>Select this check box to replace the source enterprise unit codes in the company-data export files by the target enterprise unit codes.</FuncDesc>
			<SimpleSection><List><ListIntro>You must <GUIRef href="" role="manual">only</GUIRef> change enterprise unit codes if the following conditions are <GUIRef href="" role="manual">both</GUIRef> true:</ListIntro>
					<ListItem>The source companies and the target companies use the same <Link href="/baanerp/tg/glossary/glossary#000200" role="glossary">central company</Link>.</ListItem>
					<ListItem>The enterprise units in the target companies are linked to different financial companies than the enterprise units in the source companies.</ListItem>
				</List>
				<Paragraph>If you only want to correct the company numbers in the company-data export files, you must clear this check box.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="eu.copy"><Header>
				<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Enterprise Units to Copy</Title>
			</Header>
			<FuncDesc>Enter the source enterprise unit codes with the corresponding target enterprise unit codes.</FuncDesc>
			<SimpleSection><List><ListIntro>The following rules apply:</ListIntro>
					<ListItem>You can specify the enterprise unit codes in any order.</ListItem>
					<ListItem>The source enterprise unit code and the target enterprise unit code are separated by a greater-than symbol (&gt;).</ListItem>
					<ListItem>The source enterprise unit code&gt;target enterprise unit code combinations are separated by a semicolon (;).</ListItem>
					<ListItem>The enterprise unit codes can consist of up to six characters. Longer codes are truncated on the right. For example, EU001235 results in EU0012.</ListItem>
					<ListItem>SSA ERP changes all lower case letters to upper case.</ListItem>
					<ListItem>Do not include spaces.</ListItem>
				</List>
				<Paragraph><GUIRef href="" role="manual">Note</GUIRef>
				</Paragraph>
				<Paragraph>The target enterprise unit codes must be present in the <Link href="/baanerp/tg/glossary/glossary#000200" role="glossary">central company</Link>.</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>Example</SectionTitle>
			</SimpleSection>
			<SimpleSection><List><ListIntro>The following replacements must be made in the company-data export files:</ListIntro>
					<ListItem>Enterprise unit code EUL2F2 must be replaced by EUZ2F2</ListItem>
					<ListItem>Enterprise unit code EUL3F2 must be replaced by EUZ3F2</ListItem>
					<ListItem>Enterprise unit code EUL3F4 must be replaced by EUZ3F4</ListItem>
				</List>
				<Paragraph>You must enter <GUIRef href="" role="manual">EUL2F2&gt;EUZ2F2;EUL3F2&gt;EUZ3F2;EUL3F4&gt;EUZ3F4</GUIRef> to correct the enterprise unit codes in the sequential files.</Paragraph>
			</SimpleSection>
		</FieldHelp>
	</Fields>
</Session>
