Negative values in autopk field

Avatar

Avatar

ukender

Avatar

ukender

ukender

19-08-2020

Dear All

 

Hope you’re doing well!

 

Issue : Negative values are generated in auto generated primary key (autopk) field, could you please help on this.

 

This was working  till  last week. now It is started generating the negative values. I don't feel there is an issue in schema,

 

Schema :

<element autopk="true" label="Service letter feedbacks" name="Service_LetterFeedBack">

 

-2099728967
-2099728966
-2099728965
-2099728964
-2099728972
2076753926
2076753927
2076753928
2076753929

 

Thanks in Advance

Ukender

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Milan_Vucetic

MVP

Avatar

Milan_Vucetic

MVP

Milan_Vucetic
MVP

19-08-2020

Hi @ukender

you have probably reached maximum for xtkNewId. Instead of reseting (counting from 0 again) you have enabled negative sequence generation.

Check this: Link 

Regards,

Milan

Answers (0)