Before running any of the constraint utilities recommended by the database constraint report, run the Clean Data utility inside a blank drawing, then run the Database Constraint Report.exe again. Running Clean Data first decreases the number of exceptions listed in the report and lessens the amount of further manual data cleanup required. See Clean Data Utility (DelOrpModItems.dll) in the Smart P&ID Utilities Help.
The remaining constraint utilities must be run from within specific drawings. These utilities are located in the ..\SmartPlant\P&ID Workstation\bin folder, along with the Clean Data (DelOrpModItems.dll) utility.
Each plant might require a different set of utilities. Open each drawing listed in the Database Constraint Report and run the recommended macros on the drawing. You need to run only the macros listed in the report for that particular drawing.