Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01400: cannot insert NULL

Christian PitetJun 13 2018 — edited Jun 15 2018

Hi,

I have a form with a DML process. When I try to create a new record I get error "ORA-01400 cannot insert null into "SIVOA"."C_VARIABLE"."CLEF_VAR". The primary key is CLEF_VAR. It is populated by an item P62_CLEF_VAR. This item is calculated by a process.The item is calculated well. When I look at the debug window I can see that the insert statement do NOT contains the primary key "CLEF_VAR":

"- error_statement: begin begin insert into "C_VARIABLE" ( "REF_VAR","CLEF_EQUIP","LIBELLE") values (:DML_BV0001,:DML_BV0002,:DML_BV0003); end;

end;"

Or it should contain the primary key CLEF_VAR.

I have been recreating the DML process again and the error still persists.

How to fix this ?

Regards.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2018
Added on Jun 13 2018
6 comments
2,422 views