Data Capture document master properties are not displayed in the report generated for Data Capture documents - 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)

Problem

When running reports for Data Capture documents, the properties for the document master are not displayed in the generated report.

Cause

This error can occur when a user, with a role assigned to the access group SDACompanyFilter, generates reports for a Data Capture document. The Data Capture document properties are not displayed as the default condition of the security rule FDWDocMasterBySecurityCode fails. By default, this security rule is set only for FDWDocumentMaster ClassDef which only uses the HxGN SDx core interfaces, such as ISPFDocumentVersion, ISPFDocumentRevision, and ISPFDocumentMaster, and not the Data Capture document interfaces.

The security rule does not pass because it is being applied to the FDWDocumentMaster as well as the document masters of the following ClassDefs: SDADocumentMaster, SPFDatasheetDocMaster, SPFListDocMaster, SPFNDataReaderPatternMaster, SPFNDocumentMaster, SPFNMapDocumentMaster, and SPFTemplateMaster.

Solution

Update the default condition of the security rule FDWDocMasterBySecurityCode to the following:

Obj.ObjDefUID='SPFNDocumentMaster' or Obj.SecurityCodeName = Env.SecurityCodesForUserInQueryConfig.