<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/em000790" xml:lang="en">
   <Header>
      <Title>Version operations</Title>
      <Keyword type="header" order="d1e1961221">
         <Level1>Model item management</Level1>
         <Level2>version operations</Level2>
      </Keyword>
      <Keyword type="header" order="d1e1961226">
         <Level1>Version operations</Level1>
         <Level2>model item management</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>The following sessions let carry out version operations over a
		range of model items.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Copy Version Data to Other Version (tgbrg1200m000)</SectionTitle>
      <Paragraph>To copy version data from a source version to a target version
		so new repositories and business models can be created from parts of
		repositories and business models in other versions, use the <GUIRef href="/baanerp/tg/brg/tgbrg1200m000" role="session">Copy Version Data to Other Version (tgbrg1200m000)</GUIRef> session.</Paragraph>
      <Paragraph>In addition to the selected model items, the model items related
		to the selected model item are also copied. For example, if you select a
		project model, the business functions included in that model are also
		copied.</Paragraph>
      <List>
         <ListIntro>To copy data from one version to another, complete the
		  following steps:</ListIntro>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1200m000#vers.f" role="manual">Source Version</GUIRef> field, select a version that provides the model items that
		  must be copied to the target version.</ListItem>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1200m000#vers.t" role="manual">Target Version</GUIRef> field, select a version into which the model items you select
		  on the different tabs are copied.</ListItem>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1200m000#where.used" role="manual">Copy Used Model Items in Business Models</GUIRef> field, select one of the following
		  options: <List>
               <ListItem> 
                  <GUIRef href="/baanerp/tg/domains/yeno#no" role="option">No</GUIRef>: No check will be carried out if there are
				relationships between the selected ranges of model items; therefore, all the
				model items that fall within the selected ranges are copied.</ListItem>
               <ListItem> 
                  <GUIRef href="/baanerp/tg/domains/brg.expo#manual" role="option">Manual select range for used model items</GUIRef>: Copies the model items that fall within
				the selection ranges. The model items that appear dimmed, if you select the <GUIRef href="/baanerp/tg/domains/brg.expo#automatic" role="option">Automatic select used model items</GUIRef> option, are only copied if they have a
				relationship with one or more model items whose selection range you can always
				specify manually.</ListItem>
               <ListItem> 
                  <GUIRef href="/baanerp/tg/domains/brg.expo#automatic" role="option">Automatic select used model items</GUIRef>: Copies the model items that fall within the
				selected ranges, including the model items whose fields appear dimmed. The
				latter model items are only copied if they have a relationship with one or more
				model items that fall within the ranges you manually selected.</ListItem>
            </List>
         </ListItem>
      </List>
      <List>
         <ListItem>Select the ranges of model items you want to copy on the
		  successive tabs.</ListItem>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg1200m000#exec.cont.process" role="manual">Copy</GUIRef>
         </ListItem>
      </List>
      <Paragraph>If you select the <GUIRef href="/baanerp/tg/brg/tgbrg1200m000#hide.session" role="manual">Hide Session</GUIRef> check box, the session window is hidden and a progress window
		appears when you click the <GUIRef href="/baanerp/tg/brg/tgbrg1200m000#exec.cont.process" role="manual">Copy</GUIRef> button.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Delete Model Items (tgbrg1210m000)</SectionTitle>
      <Paragraph>To delete a selection of model items within a specific version,
		use the <GUIRef href="/baanerp/tg/brg/tgbrg1210m000" role="session">Delete Model Items (tgbrg1210m000)</GUIRef> session.</Paragraph>
      <Paragraph>If a model item, such as a business function, is deleted, all
		links that the business function has to other model items are also deleted. To
		delete every model item from more than one version simultaneously, use the <GUIRef href="/baanerp/tg/brg/tgbrg1215m000" role="session">Delete all Model Items within Multiple Versions (tgbrg1215m000)</GUIRef> session.</Paragraph>
      <List>
         <ListIntro>To delete model items from a particular version, complete the
		  following steps:</ListIntro>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1210m000#vers.f" role="manual">Version</GUIRef> field, select a version that provides the
		  model items you want to delete.</ListItem>
         <ListItem>On the successive tab, select the ranges of model items you
		  want to delete.</ListItem>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg1210m000#exec.cont.process" role="manual">Delete...</GUIRef>
         </ListItem>
      </List>
      <Paragraph>To print a report that shows the errors that occur during the
		deletion of the model items, select the <GUIRef href="/baanerp/tg/brg/tgbrg1210m000#print.errors.yn" role="manual">Print Errors</GUIRef> checkbox.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Delete all Model Items within Multiple Versions (tgbrg1215m000)</SectionTitle>
      <Paragraph>To delete model items from a range of versions simultaneously,
		use the <GUIRef href="/baanerp/tg/brg/tgbrg1215m000" role="session">Delete all Model Items within Multiple Versions (tgbrg1215m000)</GUIRef> session.</Paragraph>
      <Paragraph>You cannot specify a range of model items; this is because when
		you check one of the model item type check boxes, the entire range of the
		selected model item type present in the range of versions is
		deleted.</Paragraph>
      <Paragraph>To delete a specific range of model items from one specific
		version, use the <GUIRef href="/baanerp/tg/brg/tgbrg1210m000" role="session">Delete Model Items (tgbrg1210m000)</GUIRef> session, instead of
		the current session.</Paragraph>
      <List>
         <ListIntro>To delete model items from multiple versions:</ListIntro>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1215m000#tgbrg100.vers" role="groupbox">Version</GUIRef> field, select a range of versions from which
		  you want to delete the model items.</ListItem>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1215m000#repository.def" role="groupbox">Repository</GUIRef>, <GUIRef href="/baanerp/tg/brg/tgbrg1215m000#tgge.models" role="groupbox">Models</GUIRef>, and <GUIRef href="/baanerp/tg/brg/tgbrg1215m000#tggen.workflow" role="groupbox">Workflow</GUIRef> group boxes, select the model items you want
		  to delete.</ListItem>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg1215m000#exec.cont.process" role="manual">Delete...</GUIRef>
         </ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Print Version Data Collectively (tgbrg1430m000)</SectionTitle>
      <Paragraph>To print a report that shows the details of all
		version-controlled model items, use the <GUIRef href="/baanerp/tg/brg/tgbrg1430m000" role="session">Print Version Data Collectively (tgbrg1430m000)</GUIRef> session.</Paragraph>
      <List>
         <ListIntro>To print version data:</ListIntro>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1430m000#vers" role="manual">Version</GUIRef> field, select the version from which you want
		  to select ranges of model items to print.</ListItem>
         <ListItem>On the successive tab, select the ranges of model items you
		  want to print.</ListItem>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg1430m000#exec.cont.process" role="manual">Print</GUIRef>
         </ListItem>
      </List>
      <Paragraph>To print data such as the owner, and the date when the model
		item was last changed, select the <GUIRef href="/baanerp/tg/brg/tgbrg1430m000#deta.yn" role="manual">Details</GUIRef> check box.</Paragraph>
      <Paragraph>To print the repository and model-specific texts linked to the
		model items, select the <GUIRef href="/baanerp/tg/brg/tgbrg1430m000#txtn.txt" role="manual">Print Text</GUIRef> check box.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Print Differences between Versions (tgbrg1440m000)</SectionTitle>
      <ProcedureList>
         <ListIntro>To print the differences between the model items of two
		  versions, use the <GUIRef href="/baanerp/tg/brg/tgbrg1440m000" role="session">Print Differences between Versions (tgbrg1440m000)</GUIRef> session. The differences are listed in the report under the heading <Emphasis>Change Type</Emphasis>. The following change types are
		  available:</ListIntro>
         <ListItem> 
            <Emphasis>Is inserted</Emphasis>: The model item is only found
		  in the target version, not in the source version.</ListItem>
         <ListItem> 
            <Emphasis>Is deleted</Emphasis>: The model item is only found
		  in the source version, not in the target version.</ListItem>
         <ListItem> 
            <Emphasis>Is changed from</Emphasis>: The model item is found
		  in both versions, but was modified.</ListItem>
      </ProcedureList>
      <Paragraph>Use this session to clean up a version if you select the <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#only.corr" role="manual">Corresponding Data</GUIRef> check box and the <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#delete.corr" role="manual">Delete corresponding data in Target Version</GUIRef> check
		boxes. Cleaning up a version means you remove the unmodified model items that
		exist in the source version and the target version. The only restriction is
		that the target version must be derived from the source version.</Paragraph>
      <List>
         <ListIntro>To print the differences between two versions, complete the
		  following steps:</ListIntro>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#vers1" role="manual">Source Version</GUIRef> field and the <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#vers2" role="manual">Target Version</GUIRef> field, select the versions you want to compare.</ListItem>
         <ListItem>On the successive tabs, select the ranges of model items from
		  the source version you want to compare.</ListItem>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#exec.cont.process" role="manual">Print</GUIRef>
         </ListItem>
      </List>
      <TABLE width="100%" border="1" space-and-orientation="indented-custom"
             borderstyle="default">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD colspan="2" width="1022" rowspan="1">Key fields for the <GUIRef href="/baanerp/tg/brg/tgbrg1440m000" role="session">Print Differences between Versions (tgbrg1440m000)</GUIRef> session</TD>
            </TR>
         </THEAD>
         <TBODY noTR="5">
            <TR no="1" isLast="false">
               <TH width="288" rowspan="1" colspan="1">Field</TH>
               <TH width="730" rowspan="1" colspan="1">Description</TH>
            </TR>
            <TR no="2" isLast="false">
               <TD width="288" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#deta.yn" role="manual">Details</GUIRef>
               </TD>
               <TD width="730" rowspan="1" colspan="1">If this check box is selected,, details such as the
				owner of a model item and the date when a model item was created, are
				printed.</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="288" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#text.yn" role="manual">Text</GUIRef>
               </TD>
               <TD width="730" rowspan="1" colspan="1">If this check box is selected,, the texts linked to the
				model items are compared.</TD>
            </TR>
            <TR no="4" isLast="false">
               <TD width="288" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#only.corr" role="manual">Corresponding Data</GUIRef>
               </TD>
               <TD width="730" rowspan="1" colspan="1">If this check box is selected,, identical data in both
				versions is printed. If the target version is not derived from the source
				version, identical data cannot be printed.</TD>
            </TR>
            <TR no="5" isLast="true">
               <TD width="288" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg1440m000#delete.corr" role="manual">Delete corresponding data in Target Version</GUIRef>
               </TD>
               <TD width="730" rowspan="1" colspan="1">If this check box is selected,, identical data in both
				versions is deleted from the target version. If the target version is not
				derived from the source version, identical data cannot be deleted.</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
</ManualTopic>