Authoring relationship processing - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

When publishing from a SmartPlant Foundation authoring application, such as the Line List application, the system looks for any relationships using the new meta-schema relationship definition SPFAuthoringRelDefToCDWRelDef. If any are found, the objects being published are analyzed to see if any of them have instances of the AuthoringRelDefToCDWRelDef relationship.

If any relationships exist, a new fifth publish file is created with a new interface instantiated on the file that is used in the code to identify the relationship. The new interface is called ISPFTEFCommonRels, and a new method definition on this interface, ProcessAuthoringRels, does the following:

  1. Reads the data file to determine the source component schema.

  2. Reads the common relationships file looking for any relationships. This is an item, such as a supplier, that is visible to both the SmartPlant Foundation authoring application and the data warehouse.

    1. Queries for published items using End1 and End2 of any of the relationships.

    2. Performs a bulk expansion to get the ComprisedOf relationships for all the published items found.

    3. Determines which end is the published item and finds the CDW object.

    4. Creates a relationship using the mapping between the CDW item and the common item.