missing primary key in a table

I have just made a project, on apex. I have added a master page to show me the detail of required entities, but in the master page (I even have added the primary key along with all the other attributes), but I cannot find the primary key for it.  Then when I want to add any new raw to that table, it returns error because of leaving the attribute that is dedicated for the primary key empty.

Can anyone please find me a solution regarding building master pages issues in apex?

Please also find the pictures of the type of error I get in the link below

Who is Participating?
ppinonConnect With a Mentor Commented:
You probably have to generate a PK value using a trigger (+ eventually a sequence) since it cannot be null.

Check http://forums.oracle.com/forums/thread.jspa?threadID=691963 , the problem seems to be the same
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.