Hi. I did not created a sequence. The sequence already exist. For some reason I did not yet found out, the insert doesn't use it. So I created a trigger to force the use of the sequence before an insert.
The sequence is M_CONF_ID_SEQ. M_ is my Moodle prefix, by default is MLD I think.