Article - CS292752
Failed to delete a WTDocument or a WTPart with error 'Referential integrity violations occurred for this operation' in Windchill PDMLink
Modified: 11-Jul-2025
Applies To
- Windchill PDMLink 10.1 to 13.1
Description
- Failed to delete a Document (WTDocument) or a Part (WTPart) with error
Referential integrity violations occurred for this operation - Error for WTDocument :
-
ERROR [ajp-nio-127.0.0.1-8012-exec-11] com.ptc.core.task.Task UUU- Task.execute :: (wt.fc.fcResource/46) wt.fc.ReferentialIntegrityException: Referential integrity violations occurred for this operation: Cannot delete "YYY," that is used by the following versions : ZZZ, 00.5, ZZZ, 00.6 Object "Document Usage - wt.doc.WTDocumentUsageLink:aaa" references the object "wt.doc.WTDocumentMaster:bbb" that was removed from the system. (wt.fc.fcResource/46) wt.fc.ReferentialIntegrityException: Referential integrity violations occurred for this operation: Cannot delete "YYY" that is used by the following versions : ZZZ, 00.5, ZZZ, 00.6 Object "Document Usage - wt.doc.WTDocumentUsageLink:aaa" references the object "wt.doc.WTDocumentMaster:bbb" that was removed from the system. at wt.fc.StandardPersistenceManager$ReferentialIntegrityValidator.beforeCompletion(StandardPersistenceManager.java:3406)
-
This is a printer-friendly version of Article 292752 and may be out of date. For the latest version click CS292752