This operation cannot be performed because one or more required related records are not available and cannot be created.
I'm getting this error message. I've looked through other forums for the same issue, seems like the common problem is to do with PK/FK's but can't see any issues in mine.
I have a script that goes to a related table and creates several records, the message pops up twice but then the script completes the population of the records. So in essence the script works but hits a couple of hurdles on the way.