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.