Remove the existing PBS - SmartPlant Foundation - Version 2019 (10.0) - Administration & Configuration

SPO Manual Configuration Reference

Language
English
Product
SmartPlant Foundation
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

If you are starting from a default database that already contains the PBS structure, you must remove the existing PBS before you create a custom hierarchy. To remove the existing PBS structure, you can use files delivered at Smart Community. For more information, see Find sample data on Smart Community.

Make sure the Query Scope is not defined before running the load files.

  • You may need to edit the paths to the scripts in the RemoveExistingPBS.xmlldr file before you run it.

  • The delivered files will remove the sample plants delivered with the SmartPlant Foundation sample data. They will not remove custom plants you have created in the site. However, once the PBS has been replaced, you will no longer be able to use any plants that existed with the previous PBS structure.

  • If any of the plants or projects contain data, it needs to be removed prior to starting this process. If existing data is not removed, you will receive the following error when processing the 03-DATA_Remove_ProjectsAndPlants.xml file: "Cannot terminate configuration item because it contains at least one object or rel." If you receive this error, you must terminate any objects and relationships in the plant or project and process the XML file again.

  1. To remove the PBS, run RemoveExistingPBS.xmlldr in the Desktop Client loader. When you load the file, the following scripts are loaded and run in the correct order:

    • 01-ADMIN_Remove_AreaAndUnit.xml

    • 02-DATA_Remove_AreasAndUnits.xml

    • 03-DATA_Remove_ProjectsAndPlants.xml

    • 04-SCHEMA_Remove_PBSGraphDefs.xml

    • 05-SCHEMA_Remove_PBSViewDefs.xml

    • 06-SCHEMA_Remove_AreaAndUnit.xml

    • 07-SCHEMA_Remove_PlantExpansionDefaultGraphDef.xml

  2. If you receive the following message that the plant you are removing cannot be found, click OK.

    Plant nof found message

  3. Process the load files again.

  4. After you load the files, log out of the Desktop Client, and recycle the Application Pools.