A special case of retrieving a document is when retrieving a Plant Breakdown Structure.
This feature is available through the Administration Tool (Admin).
The PBS case can be divided into two scenarios:
Current Intergraph Smart Instrumentation database has no plant structure – When Retrieve is executed, the adapter searches for a current Plant Structure in Intergraph Smart Instrumentation and sends SmartPlant Foundation the result. If SmartPlant Foundation notices a missing plant structure, it generates "Create Instructions" for the Plant hierarchy (that is, for the Plant, Area and Unit). The RemoteUIDs of each item are saved both in the Object_Registry and Object_Remote_UID_List tables.
Current Intergraph Smart Instrumentation database already has a plant structure – In this scenario SmartPlant Foundation is notified by the adapter of an existing plant structure.
SmartPlant Foundation tries to synchronize the hierarchy in the following manner:
The SmartPlant Foundation plant's UID is saved as a RemoteUID in the Intergraph Smart Instrumentation database. Other available attributes of the plant are scanned for changes. If these are present, then SmartPlant Foundation generates Update instructions for them.
SmartPlant Foundation searches for its Area in the Intergraph Smart Instrumentation database. If it finds an area with the same name, it stores the RemoteUID of the Area from SmartPlant Foundation (same tables as in the Plant). If it does not find an area with the same name in the Intergraph Smart Instrumentation database, it generates a Create instruction for the Area. If it finds dissimilarities between other Area attributes, it generates Update instructions for them.
The handling of a Unit is similar to that of an Area.