Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

VBCS Tables Primary key

Summary:

How can i update table primary key sequence

Content (required):

I have scenario in which user maintaining the version of documents and we are handling it with procedure by providing primary key , it will simply select data and line data behalf of header line relation and insert on table and for primary key we are using max(nvl(id,0))+1 logic , but after doing this thing vbcs is not able to create new record and unique key error , is there any way i can update that primary key sequence or get running sequence and use on my procedure

Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!