| # 版本操作 You can use several sessions to carry out version operations over a range of model items. These sessions are described here. 复制版本数据至其它版本 (tgbrg1200m000) With this session you can copy version data from a source version to a target version to create new repositories and business models from parts of repositories and business models in other versions. 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. To copy data from one version to another, complete the following steps: In the 源版本 field, select a version that provides the model items that must be copied to the target version. In the 目标版本 field, select a version into which the model items you select on the different tabs are copied. In the 复制在业务模型中使用的模型项目 field, select one of the following options: 否: 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. 人工选择所用模型项目的范围: Copies the model items that fall within the selection ranges. The model items that appear dimmed, if you select the 自动选择所用的模型项目 option, are only copied if they have a relationship with one or more model items whose selection range you can always specify manually. 自动选择所用的模型项目: 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. Select the ranges of model items you want to copy on the successive tabs. Click 复制 If you select the 隐藏进程 check box, the session window is hidden and a progress window appears when you click the 复制 button. 删除模型项目 (tgbrg1210m000) To delete a selection of model items within a specific version, use the 删除模型项目 (tgbrg1210m000) session. 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 删除多个版本内的所有模型项目 (tgbrg1215m000) session. To delete model items from a particular version, complete the following steps: In the 版本 field, select a version that provides the model items you want to delete. On the successive tab, select the ranges of model items you want to delete. Click 删除... To print a report that shows the errors that occur during the deletion of the model items, select the 打印错误 checkbox. 删除多个版本内的所有模型项目 (tgbrg1215m000) To delete model items from a range of versions simultaneously, use the 删除多个版本内的所有模型项目 (tgbrg1215m000) session. 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. To delete a specific range of model items from one specific version, use the 删除模型项目 (tgbrg1210m000) session, instead of the current session. To delete model items from multiple versions: In the 版本 field, select a range of versions from which you want to delete the model items. In the 资源库, 模型, and 工作流 group boxes, select the model items you want to delete. Click 删除... 统一打印版本数据 (tgbrg1430m000) To print a report that shows the details of all version-controlled model items, use the 统一打印版本数据 (tgbrg1430m000) session. To print version data: In the 版本 field, select the version from which you want to select ranges of model items to print. On the successive tab, select the ranges of model items you want to print. Click 打印 To print data such as the owner, and the date when the model item was last changed, select the 详细资料 check box. To print the repository and model-specific texts linked to the model items, select the 打印文本 check box. 打印版本间的差异 (tgbrg1440m000) To print the differences between the model items of two versions, use the 打印版本间的差异 (tgbrg1440m000) session. The differences are listed in the report under the heading Change Type. The following change types are available: Is inserted: The model item is only found in the target version, not in the source version. Is deleted: The model item is only found in the source version, not in the target version. Is changed from: The model item is found in both versions, but was modified. Use this session to clean up a version if you select the 相应数据 check box and the 删除目标版本中的相应数据 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. To print the differences between two versions, complete the following steps: In the 源版本 field and the 目标版本 field, select the versions you want to compare. On the successive tabs, select the ranges of model items from the source version you want to compare. Click 打印
Key fields for the 打印版本间的差异 (tgbrg1440m000) session
Field | Description
--- | ---
详细资料 | 如果选中此复选框，, details such as the owner of a model item and the date when a model item was created, are printed.
文本 | 如果选中此复选框，, the texts linked to the model items are compared.
相应数据 | 如果选中此复选框，, identical data in both versions is printed. If the target version is not derived from the source version, identical data cannot be printed.
删除目标版本中的相应数据 | 如果选中此复选框，, 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.