-7039: Cycle in referential constraint definition not allowed

Explanation:

An attempt was made to create a referential CONSTRAINT definition which would produce an invalid reference cycle. This CONSTRAINT definition would lead to discrepancies so the database system has rejected it.

User Action:

Delete the cycle dependencies.