As the PBSItemCollection relationship definition is defined with an end locality of across container, it will be written into the component schema for the equipment, but will not take across the end object such as the FunctionalUnit. This is so that the tool can publish the relationship to the PBS item on its own. The authoring schema needs to be configured as follows:
-
Define and realize a new PBS interface such as IPpmPBSItem.
-
Define a new relationship definition linking this interface to the PBS item such as the SPFFunctionalUnit, or PpmUnitPBSItem.
There are also a number of other things to make this work:
-
The new relationship definition needs to be included in the tool map file.
-
The authoring PBS hierarchy must be created by first creating the Data Warehouse PBS hierarchy and then retrieving it into SmartPlant Foundation authoring. This is so that there will be SPFFunctionalUnit objects shared with the FunctionalUnit objects. They will have the same UID which means when the PpmUnitPBSItem relationship definition is transformed to the PBSItemCollection relationship definition it will sync up to the correct object.