Reservation and activation of document masters - 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)

To reserve document masters in the target system, the DocumentMaster class definition must realize the ISPFReservableDocumentItem and ISPFDocumentMaster interfaces as optional.

If the target system DocumentMaster class definition has a mandatory relationship with the ISPFDocumentMaster interface, and the import data does not contain document revision details, then the export fails.

Depending on the input data and the document mappings, the following actions happen in the target system:

  • If the imported data contains information about document masters, then document masters are created. The document state is set to RESERVED_INACTIVE.

  • If the imported data contains information on document masters and revisions, then document objects are created with revisions related to the document masters. The document state is set to RESERVED.

In order to activate a reserved document, you must provide revisions for the existing document masters in the import data. The document revisions are created and get related to the document master.