web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Custom table, Auto generated ID

(0) ShareShare
ReportReport
Posted on by
I'm creating custom table using Application Language. And ID field is Integer with AutoIncrement = true property. When I try to add new data to custom table using web interface, and form requires me to fill ID field. I need to make ID field is auto generated. What should I do?
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    89,835 Super User 2025 Season 2 on at
    Custom table, Auto generated ID
    Hi, do you want to make it the same as the Line Number in Sales Line? Is +10000 automatically generated every time?
     
    You can try the following properties.
     
    Hope this helps.
    Thanks.
    ZHU
  • Ariba Mehdi Profile Picture
    160 on at
    Custom table, Auto generated ID
    Hi, can you please share the code for better understanding? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans