ERROR | integrity constraint violated - parent record not found |
CAUSE | try to update/insert a child record with new foreign key values, but the corresponding parent row is not visible because of fine-grained security in the parent. |
ACTION | make sure that the updated foreign key values must also visible in the parent |