5142 AE_RI_CASCADE

Advantage Error Guide

Problem: The record update or delete failed because an existing referential integrity rule caused cascaded updates, and subsequent updates failed. The row that failed to update is a child in a different referential integrity rule. The updates produced a foreign key from the data in this row that does not have a corresponding key in the parent table. Note that these RI rules may cause cascaded updates: ADS_DD_RI_CASCADE, ADS_DD_RI_SETNULL, and ADS_DD_RI_SET_DEFAULT.

Solution: When this error occurs, retrieve the text error message that accompanies the error code. That text will include information about the row and RI rule that caused the failure.