Negative values in autopk field | Community
Skip to main content
ukender
Level 3
August 19, 2020
Solved

Negative values in autopk field

  • August 19, 2020
  • 1 reply
  • 2023 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Milan_Vucetic

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

1 reply

Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
August 19, 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

ukender
ukenderAuthor
Level 3
August 20, 2020

Hi @milan_vucetic 
Thanks for the information, It is really helpful.
Since there were lot of scripts used in the video, It would be great if you could share the document link.
Thanks

Ukender