Delete User Master

Delete User Master


I'm trying to delete a user master and I get the following error:

There was an error trying to delete the selected entries: The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "OSFRK_OSUSR_a7l_USER_MASTER_OSUSR_A7L_USER_MASTER_CREATEDBY". The conflict occurred in database "outsystems", table "dbo.OSUSR_A7L_USER_MASTER", column 'CREATEDBY'. The statement has been terminated. 

I don't understand why this is happening. I haven't changed the database model, I'm using the Outsystems generated delete action and I'm obtaining this error.

Any help please?

Tks in advance.
the user master you are trying to delete already created another user master?
no, he was created by another one but hasn't created any user.

I create a user master (and I'm not using enterprise manager to do this) and than try to delete it and it gives me this error.
this USER_MASTER_CREATEDBY that you want to delete is null?
Carlos, pelo erro, estás a tentar eliminar um utilizador que criou algum outro utilizador, ou seja, o utilizador que estás a tentar eliminar está a ser utilizado nessa mesma tabela no campo CreatedBy. Faz um select a essa tabela cujo CreactedBy seja o Id do utilizador que estás a tentar eliminar.

Espero que ajude.
it's solved. thanks :)